mynlp / jigg

Pipeline framework for easy natural language processing
Apache License 2.0
74 stars 20 forks source link

Mecab does not work on ubuntu #80

Closed hiroshinoji closed 6 years ago

hiroshinoji commented 6 years ago

The cause is that in the default config shown by mecab --dump-config, the dicdir directory points to the common symlink /var/lib/mecab/dic/debian, by which Jigg cannot decide the dictionary setting. We should read the real path of this symlink.

hiroshinoji commented 6 years ago

This causes the problem on Mac, since readlink -f command that I added does not exist on Mac.