The method of using setup.py described on the official website did not work.
When I tried pip search
with no good source, the package was found, and when I tried using it, it worked for the time being, so share it.
$ pip install mecab-python3
Check with interpreter
$ python3
>>> import MeCab
>>> mecab = MeCab.Tagger("-Ochasen")
>>> print(mecab.parse("It's nice weather today, is not it."))
Today Kyo Today noun-Adverbs possible
Ha ha is a particle-Particle
Good good good adjective-Independent adjectives / good basic forms
Weather Tenki Weather Noun-General
It's death. Auxiliary verb special / death basic form
Nene Nene Particles-Final particle
.. .. .. symbol-Kuten
EOS
did it.
Recommended Posts