No project description provided
Project description
kuro2sudachi
kuro2sudachi lets you to convert kuromoji user dict to sudachi user dict.
Install
$ pip install kuro2sudachi
# prepase riwirte.def
# https://github.com/WorksApplications/Sudachi/blob/develop/src/main/resources/rewrite.def
$ ls
rewiite.def
$ kuro2sudachi kuromoji_dict.txt -o sudachi_user_dict.txt
develop
test kuro2sudachi
$ poetry install
$ poetry run pytest
exec kuro2sudachi command
$ poetry run kuro2sudachi tests/kuromoji_dict_test.txt -o sudachi_user_dict.txt
supported pos
- 固有名詞 -> 名詞,固有名詞,一般,,,*
- 名刺 -> 名詞,普通名詞,一般,,,*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kuro2sudachi-0.1.2.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for kuro2sudachi-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4da9402c0c37f9b32dc6b71c25fca53dc92391eb04f70eeb83c3d6edd3055be2 |
|
MD5 | 636732aee6eecd972e121fa88c009d4f |
|
BLAKE2b-256 | dc3480300fb9a046546eed745e4b9369e8707e9293407e930a850b7ad1828fd3 |