Install Mecab - jzohrab/lute GitHub Wiki
This documentation is deprecated/obsolete. Lute v2 has been replaced by Lute v3, a full Python rewrite. Please see the Lute v3 manual which includes notes on installation. If you have Lute v2, you can easily migrate to v3. Thank you!
Lute users who are studying Japanese will need to install MeCab and an appropriate dictionary for parsing Japanese text. If MeCab is not installed or not on your PATH, you will not be able to parse Japanese texts.
You can install MeCab and a dictionary using homebrew:
brew install mecab
brew install mecab-ipadic
better instructions needed! Let me know if you have any hints.
On Windows, Lute tests a few places for MeCab:
where /R "%ProgramFiles%\\MeCab\\bin" mecab.exe'
where /R "%ProgramFiles(x86)%\\MeCab\\bin" mecab.exe'
where mecab.exe
Use apt-get:
sudo apt-get update -y
sudo apt-get install -y mecab mecab-ipadic-utf8
Test mecab from the terminal:
$ mecab
ใใใใใใใใใใฎใใก
ใใใ ๅ่ฉ,ไธ่ฌ,*,*,*,*,ใใใ,ในใขใข,ในใขใข
ใ ๅฉ่ฉ,ไฟๅฉ่ฉ,*,*,*,*,ใ,ใข,ใข
ใใ ๅ่ฉ,ไธ่ฌ,*,*,*,*,ใใ,ใขใข,ใขใข
Windows users may need to type the full path.