Kyubyong / g2pK

g2pK: g2p module for Korean
Apache License 2.0
236 stars 43 forks source link

assertion Error #7

Closed mattjmoon closed 3 years ago

mattjmoon commented 3 years ago

File "/home/ubuntu/.local/lib/python3.6/site-packages/mecab/mecab.py", line 62, in for node in lattice File "/home/ubuntu/.local/lib/python3.6/site-packages/mecab/mecab.py", line 33, in _extract_feature assert len(values) == 8 AssertionError

I don't think g2pk is recognizing the mecab-ko-dic I have installed, since the extract feature won't extract 8 values if it isn't korean. How do I specfiy the dictionary path so that g2pk correctly identifies korean?