Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No result with sample code #16

Open
yin-ori opened this issue Jan 2, 2023 · 0 comments
Open

No result with sample code #16

yin-ori opened this issue Jan 2, 2023 · 0 comments

Comments

@yin-ori
Copy link

yin-ori commented Jan 2, 2023

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).

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

No branches or pull requests

2 participants