1

特に、ギリシャ語とドイツ語のものをダウンロードしたいと思います。それは可能でしょうか?

そうでない場合は、私が理解している限り、libreoffice が言うプロジェクトの対応するファイルを利用して、独自の辞書を作成する必要があります。私は正しいですか?

4

1 に答える 1

2

Ubuntu などの Linux を使用している場合

端末タイプから:

sudo apt-get install myspell-de-de hunspell-el

Pythonプロンプトタイプから、それが利用可能であることを確認できます:

import enchant
print enchant.list_languages()

動作を確認するには、Python プロンプトから次のように入力します。

import enchant
d = enchant.Dict('de_DE') # or 'el_GR'
d.check("Hello") # False
d.check("Guten") # True

辞書の完全なリストについては、次を参照してください。

http://packages.ubuntu.com/xenial/myspell-dictionary

http://packages.ubuntu.com/xenial/aspell-dictionary

http://packages.ubuntu.com/source/xenial/libreoffice-dictionaries

http://packages.ubuntu.com/xenial/ispell-dictionary

于 2016-12-04T12:34:37.923 に答える