chinormfilter-0.5.1
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | chinormfilter-0.5.1 |
| نام | chinormfilter |
| نسخه کتابخانه | 0.5.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | po3rin |
| ایمیل نویسنده | abctail30@gmail.com |
| آدرس صفحه اصلی | http://github.com/po3rin/chinormfilter |
| آدرس اینترنتی | https://pypi.org/project/chinormfilter/ |
| مجوز | Apache-2.0 |
# chinormfilter
[](https://pypi.python.org/pypi/chinormfilter/)

[](https://www.python.org/downloads/release/python-390/)

Filter synonym files written in lucene format to avoid duplication with Sudachi normalization. Mainly used when migrating to sudachi analyzer.
## Usage
```sh
$ chinormfilter tests/test.txt -o out.txt
```
filtered result is following.
```txt
レナリドミド,レナリドマイド
リンゴ => 林檎
飲む,呑む
tlc => tlc,全肺気量
リンたんぱく質,リン蛋白質,リンタンパク質
↓ filter
レナリドミド,レナリドマイド
tlc => tlc,全肺気量
```
## TODO
- [ ] custom dict test
نیازمندی
| مقدار | نام |
|---|---|
| >=0.5.2,<0.6.0 | sudachipy |
| >=20210608,<20210609 | sudachidict_full |
| >=20210608,<20210609 | sudachidict_core |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl chinormfilter-0.5.1:
pip install chinormfilter-0.5.1.whl
نصب پکیج tar.gz chinormfilter-0.5.1:
pip install chinormfilter-0.5.1.tar.gz