https://github.com/pythainlp/thai-data-privacy
ThaiDP = Thai Data Privacy Tool For Python
https://github.com/pythainlp/thai-data-privacy
Last synced: 12 months ago
JSON representation
ThaiDP = Thai Data Privacy Tool For Python
- Host: GitHub
- URL: https://github.com/pythainlp/thai-data-privacy
- Owner: PyThaiNLP
- License: apache-2.0
- Created: 2020-08-31T10:34:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-01T12:59:51.000Z (almost 2 years ago)
- Last Synced: 2025-03-26T22:11:11.832Z (about 1 year ago)
- Language: Python
- Size: 35.2 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Thai-Data-Privacy
ThaiDP = Thai Data Privacy Tool For Python
Google Colab: https://colab.research.google.com/drive/1yK6LM4cVzEMabZbNUbKJ130QozHBXcnt?usp=sharing
## Features
- It's can fiter a data privacy. (email, phone, url, thai id cardnumber, person name)
- It's can fake data to replace a data privacy.
## Docs
### fiter
- filter_email(text:str,output_tag:bool=False)
- filter_phone(text:str,output_tag:bool=False)
- filter_url(text:str,output_tag:bool=False)
- filter_thai_id_card_number(text:str,output_tag:bool=False)
- filter_personname(text:str,output_tag:bool=False)
- filter(text:str)
### clean
- clean_name(text:str)
- clean_phone(text:str)
- clean_email(text:str)
- clean_thai_id_card_number(text:str)
- clean(text:str)