Skip to content

Instantly share code, notes, and snippets.

@squeuei
Last active July 31, 2023 06:42
Show Gist options
  • Save squeuei/d87a51232244009dc09b63e6b07250f6 to your computer and use it in GitHub Desktop.
Save squeuei/d87a51232244009dc09b63e6b07250f6 to your computer and use it in GitHub Desktop.
When you can't add a word to user dictionary of anthy

anthyでユーザ辞書にエントリを追加できないとき

空ファイル~/.anthy/private_words_defaultを作成してkasumiで単語登録する。初回はCLIでkasumi -aを使う方がいいかもしれない。理由は、エラーが出て失敗したことがわかりやすいため。anthy-unicodekasumi-unicodeでも同じように働く思われる。

When you can't add a word to user dictionary of anthy

Put an empty file as ~/.anthy/private_words_default and now you can add a word to user dictionary with kasumi. Maybe it's good to use kasumi -a on the terminal for the first time because it will raise an error. It should work on anthy-unicode and kasumi-unicode as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment