mecab icon indicating copy to clipboard operation
mecab copied to clipboard

error on making user dictionary.

Open GoogleCodeExporter opened this issue 9 years ago • 1 comments

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 [email protected] on 10 Mar 2014 at 10:39

GoogleCodeExporter avatar Mar 14 '15 15:03 GoogleCodeExporter

The following issues with user dictionaries in unidic 2.3.0 and later is caused by this, not by UniDic dictionaries. https://github.com/taku910/mecab/issues/42 https://github.com/polm/unidic-py/issues/8

I would like to request a priority to address this issue.

togiso avatar Apr 11 '23 11:04 togiso