Skip to content

yagays/manbyo-sudachi

Repository files navigation

Sudachi向け万病辞書

万病辞書を形態素解析器Sudachiで利用する - Out-of-the-box

配布辞書

万病辞書MANBYO_201907から、Sudachiのユーザ辞書形式に変換したファイル

  • manbyo20190704_sabc_dic.txt: 万病辞書で信頼度LEVELがS,A,B,Cの病名のみ
  • manbyo20190704_all_dic.txt: 万病辞書のすべての病名

使い方

1. レポジトリをcloneする

$ git clone --recursive https://github.com/yagays/manbyo-sudachi

2. sudachipyをインストールする

$ pip install sudachipy

3. バイナリ辞書をビルドする

BASE_PATHを自身の環境のsystem.dicが置かれている場所に変更して、下記コマンドを実行。

BASE_PATH=/path/to/sudachidict/resources/

sudachipy ubuild -s $BASE_PATH/system.dic manbyo20190704_sabc_dic.txt -o user_manbyo_sabc.dic
sudachipy ubuild -s $BASE_PATH/system.dic manbyo20190704_all_dic.txt -o user_manbyo_all.dic

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published