ikegami-yukino / pymlask

Emotion analyzer for Japanese text
Other
114 stars 26 forks source link

No result with sample code #16

Open yin-ori opened 1 year ago

yin-ori commented 1 year ago

Hey there, I've tried the solution mentioned in the previous issue, with no success unfortunately.

Using Mac OS Ventura Python 3.10

I retook the steps "preparation of installing" and "how to install mecab-ipadic-NEologd" checking the path through

echo mecab-config --dicdir"/mecab-ipadic-neologd" --> /opt/homebrew/lib/mecab/dic/mecab-ipadic-neologd so I went with: from mlask import MLAsk emotion_analyzer = MLAsk('-d /opt/homebrew/lib/mecab/dic/mecab-ipadic-neologd') emotion_analyzer.analyze('彼のことは嫌いではない!')

No result will show up (no error message either).