chptools-0.0.1
توضیحات
A series of Chinese processing tools
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | chptools-0.0.1 |
| نام | chptools |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Biorad |
| ایمیل نویسنده | cyz_19930904@163.com |
| آدرس صفحه اصلی | https://github.com/cyzLoveDream/CPTools |
| آدرس اینترنتی | https://pypi.org/project/chptools/ |
| مجوز | MIT |
# A series of Chinese processing tools
* There are some features in the package. If you need to use it can be installed directly
extract_chinese(self, text, symbols= "", remove_letter=False)
* Extract chinese from raw text. You can choose symbols to replace non-Chinese characters in the corpus
filter_words_in_corups(self, sensitive_list, raw_text_list)
* Use AC automata to filter sensitive words
is_chinese(self, uchar)
* Determine if a character is Chinese
get_json_data(self, path)
* Read json data from a file, where each line is a Dict
save_data_to_npy(self, data, path)
* read_data_from_npy(self, path)
نحوه نصب
نصب پکیج whl chptools-0.0.1:
pip install chptools-0.0.1.whl
نصب پکیج tar.gz chptools-0.0.1:
pip install chptools-0.0.1.tar.gz