前提・実現したいこと
ここに質問の内容を詳しく書いてください。
mecab-ipadic-neologd辞書を指定して、オブジェクトを生成することができない
python起動後、辞書を指定してオブジェクトの生成を行いたい。
発生している問題・エラーメッセージ
tagger = MeCab.Tagger("-d /usr/share/mecab/dic/mecab-ipadic-neologd")
Failed initializing MeCab. Please see the README for possible solutions:
https://github.com/SamuraiT/mecab-python3#common-issues
If you are still having trouble, please file an issue here, and include the
ERROR DETAILS below:
https://github.com/SamuraiT/mecab-python3/issues
issueを英語で書く必要はありません。
------------------- ERROR DETAILS ------------------------
arguments: -d /usr/share/mecab/dic/mecab-ipadic-neologd
error message: [ifs] no such file or directory: /usr/local/etc/mecabrc
試したこと
$ mecab -d /usr/share/mecab/dic/mecab-ipadic-neologd
EOS
dオプションで辞書を指定して実行することはできるが、Pythonを起動して
MeCabオブジェクトを作成することができない。
補足情報(FW/ツールのバージョンなど)
Ubunts 20.04 LTS
Python3 3.8..5
ここにより詳細な情報を記載してください。
あなたの回答
tips
プレビュー