4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

SudachiPyのユーザー辞書に英単語を入れる場合は全て小文字にする

Posted at
  • Ubuntu 18.04.3 LTS x86_64
  • Python 3.8.0
  • SudachiPy 0.3.2

GiNZA (v3.1.1)でユーザー辞書を使いたかったのだが、これで困った。

Wi-Fi,4786,4786,5000,Wi-Fi,名詞,固有名詞,一般,*,*,*,ワイファイ,Wi-Fi,*,*,*,*,*

これだといくらコストを小さくしても認識されず、下の様にしなければならない。

wi-fi,4786,4786,5000,wi-fi,名詞,固有名詞,一般,*,*,*,ワイファイ,Wi-Fi,*,*,*,*,*

ついでに言うと、GiNZAの場合はsudachipy ubuildの際に-ssite-packages/ja_ginza_dict/sudachidict/system.dicの辞書を指定すれば良さそう。

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?