testAnalyzer
java.lang.AssertionError: Index term not found.
at org.junit.Assert.fail(Assert.java:91)
at net.moraleboost.lucene.analysis.ja.StandardMeCabAnalyzerTest.testAnalyze(StandardMeCabAnalyzerTest.java:88)
testSearchjava.lang.AssertionError: No hit.
at org.junit.Assert.fail(Assert.java:91)
at net.moraleboost.lucene.analysis.ja.StandardMeCabAnalyzerTest.testSearch(StandardMeCabAnalyzerTest.java:118)
The value of net.moraleboost.mecab.encoding must be the same as the
encoding used in your dictionary.
On linux systems, it's most likely to be "UTF-8" or "EUC-JP".
If you have installed MeCab with apt-get, the dictionary encoding is
set to "EUC-JP" by default (at least on my Debian box.)
If you have installed mecab-ipadic-utf8 or mecab-jumandic-utf8 package
in addition to mecab, the encoding is "UTF-8."
Regards,
Kohei Taketa
2010年1月6日20:52 Franz Allan Valencia See <fran...@gmail.com>:
--
このメールは Google グループのグループ「cmecab-java-users」の登録者に送られています。
このグループに投稿するには、cmecab-j...@googlegroups.com にメールを送信してください。
このグループから退会するには、cmecab-java-us...@googlegroups.com にメールを送信してください。
詳細については、http://groups.google.com/group/cmecab-java-users?hl=ja からこのグループにアクセスしてください。