error on making user dictionary.
Opened this issue · 1 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. making user-dictionary.
$ /usr/local/libexec/mecab/mecab-dict-index -m model.def -d . -u user2.csv -f utf-8 -t utf-8 -a user.csv
model.def is not a binary model. reopen it as text mode...
dictionary.cpp(183) [cid.left_size() == matrix.left_size() && cid.right_size() == matrix.right_size()] Context ID files(./left-id.def or ./right-id.def may be broken: 1999 2894 2894 1999
What is the expected output? What do you see instead?
$ /usr/local/libexec/mecab/mecab-dict-index -m model.def -d . -u user2.csv -f utf-8 -t utf-8 -a user.csv
model.def is not a binary model. reopen it as text mode...
reading user.csv ...
done!
What version of the product are you using? On what operating system?
mecab-0.996.tar.gz, ubuntu 13/10
Please provide any additional information below.
it looks like bug. Perhaps it seems to be fixed like this.
dictionary.cpp:182, 355
[before]
------------------------------------------------------------
CHECK_DIE(cid.left_size() == matrix.left_size() &&
cid.right_size() == matrix.right_size())
------------------------------------------------------------
[after]
------------------------------------------------------------
CHECK_DIE(cid->left_size() == matrix.right_size() &&
cid->right_size() == matrix.left_size())
Original issue reported on code.google.com by mouseg...@gmail.com
on 10 Mar 2014 at 10:39
togiso commented
The following issues with user dictionaries in unidic 2.3.0 and later is caused by this, not by UniDic dictionaries.
#42
polm/unidic-py#8
I would like to request a priority to address this issue.