No project description provided
Project description
chinormfilter
Filter synonym written in lucene format to avoid duplication with Sudachi normalization. Mainly used when migrating to sudachi analyzer.
Usage
$ chinormfilter tests/test.txt -o out.txt
filtered result is following.
レナリドミド,レナリドマイド
リンゴ => 林檎
飲む,呑む
tlc => tlc,全肺気量
リンたんぱく質,リン蛋白質,リンタンパク質
↓ filter
レナリドミド,レナリドマイド
tlc => tlc,全肺気量
Specify system dict
$ chinormfilter tests/test.txt -s full -o out.txt
Use Custom Dict
Specify dict via sudachi.json
$ chinormfilter tests/test.txt -s sudachi.json -o out.txt
TODO
- custom dict test
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
chinormfilter-0.5.3.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for chinormfilter-0.5.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28b181d50d78bfb94e8c3fbe39038ef47cff4c889f6ba3d2a9fe3ef8451a8380 |
|
MD5 | f65a69eadb22b3d77c80147030ffebdb |
|
BLAKE2b-256 | 017ee134bd54901bd904dd5dde58e45ffe3cc801732c184b6973faac0f543a67 |