It seems that unidic-lite is required in mecab-python3

I was building an environment to run MeCab on Ubuntu while looking at articles such as Qiita, but it does not work even if I follow the article. It works on the command line, but when I try to use it in Python, I get an error for some reason.

I was wondering why, but when I looked closely, the package wasn't enough. It's bad that I didn't read the README of mecab-python3. Let's look at the primary source properly.

Since it is Ubuntu, please try it even if you are having trouble with Google Colab. me

Solution

pip install unidic-lite 

Reference article

mecab-python3 repository: https://github.com/SamuraiT/mecab-python3

Built with reference to this article: https://qiita.com/ekzemplaro/items/c98c7f6698f130b55d53

Recommended Posts

It seems that unidic-lite is required in mecab-python3
[Python] It seems that global variables cannot be referenced in Multiprocessing
It seems that the version of pyflakes is not the latest when flake8 is installed
It is said that libmysqlclient.so.18 does not exist
python> How to write multiple lines> How to write in mnist_with_summaries.py> It seems that there is no need for line concatenation symbols
It seems that a new lottery with a total score will start in the sports lottery,
Linux is something like that in the first place
Check if it is Unix in the scripting language
Find the part that is 575 from Wikipedia in Python
Check if it is Unix in the scripting language
Smartly announce that it is a deprecated implementation --debtcollerctor
[VLC] How to deal with the problem that it is not in the foreground during playback