You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I included PaodingTokeizr into classifier4J to make it supportive for Chinese,
following this:
http://www.cnblogs.com/chenying99/archive/2013/07/12/3185379.html
And I got this exception: java.lang.IllegalArgumentException:
This AttributeSource does not have the attribute
'org.apache.lucene.analysis.tokenattributes.TermAttribute'.
at org.apache.lucene.util.AttributeSource.getAttribute(AttributeSource.java:265)
at net.sf.classifier4J.PaodingTokenizer.tokenize(PaodingTokenizer.java:24)
at net.sf.classifier4J.Utilities.getWordFrequency(Utilities.java:102)
at net.sf.classifier4J.Utilities.getWordFrequency(Utilities.java:82)
at net.sf.classifier4J.Utilities.getWordFrequency(Utilities.java:77)
at net.sf.classifier4J.summariser.SimpleSummariser.summarise(SimpleSummariser.java:82)
My version: paoding-analysis-2.0.4-beta, lucene-core-3.0.0
I don't know what attribute the exception refers. Is this about the .properties
files?
Original issue reported on code.google.com by [email protected] on 23 Sep 2013 at 1:02
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 23 Sep 2013 at 1:02The text was updated successfully, but these errors were encountered: