Ubuntu 20.04.1LTSにMecabをインストール
以下でインストール。$sudo apt install mecab libmecab-dev mecab-ipadic-utf8$sudo apt install git make curl xz-utils file sudo$git clone --depth 1 https://github.com/neologd/mecab-ipadic-neologd.git$pip install mecab-python3$pip install unidic-liteunidic-liteをインストールする前は以下のRuntimeErrorに苦しめられた。Failed initializing MeCab. Please see the README for possible solutions: https://github.com/SamuraiT/mecab-python3#common-issuesIf you are still having trouble, please file an issue here, and include theERROR DETAILS below: https://github.com/SamuraiT/mecab-python3/issuesissueを英語で書く必要はありません。------------------- ERROR DETAILS ------------------------arguments: error message: [ifs] no such file or directory: /usr/local/etc/mecabrc----------------------------------------------------------Traceback (most recent call last): File "Morphological_Analysis.py", line 3, in <module> tagger = MeCab.Tagger() File "/home/pyontaku14/anaconda3/lib/python3.7/site-packages/MeCab/__init__.py", line 124, in __init__ super(Tagger, self).__init__(args)RuntimeErrorにほんブログ村