Back

Mighty Morphin Morphology

#57
In plugins\morph\morphemes.py look for the line with mecabCmd = ['mecab', '--node-format= and change it to this:

mecabCmd = ['mecab', '--node-format=%f[6]\t%f[0]\t%f[1]\t%f[6]\r', '--eos-format=\n', '--unk-format=%m\tUnknown\tUnknown\tUnknown\r']

This'll make it use the base form for both the word and reading parts.

I'm not sure how to get the reading of the base form in a simple way. Might have to run it through Mecab again.
Edited: 2011-05-30, 12:54 pm
Reply

Messages In This Thread