end0tknr's kipple - web写経開発

太宰府天満宮の狛犬って、妙にカワイイ

2024-04-09から1日間の記事一覧

sudachipy for python による sudachiユーザ辞書の利用 (形態素解析)

先程のentryの続きです sudachi.json 元の sudachi.json をコピーし、「"userDict" : [~] 」を追加しています { "systemDict" : null, "characterDefinitionFile" : "char.def", "userDict" : ["c:/Users/end0t/tmp/QA_SGST/sudachi_user_dic/user.dic"], "…

sudachipy for python (miniconda for win)による sudachiユーザ辞書作成

以下の通りです sudachipy.exe コマンドを呼ぶのではなく、 https://github.com/WorksApplications/SudachiPy/blob/develop/sudachipy/dictionarylib/userdictionarybuilder.py にある UserDictionaryBuilder クラスを 内部的に呼びたかったのですが、userdi…