Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.uima.examples.tagger.trainAndTest.Token
at org.apache.uima.examples.tagger.TagMapping.map_tags(TagMapping.java:46)
at org.apache.uima.examples.tagger.HMMTagger.process(HMMTagger.java:179)
at org.apache.uima.analysis_component.JCasAnnotator_ImplBase.process(JCasAnnotator_ImplBase.java:48)
at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:375)
To reproduce, load HmmTaggerTAE.xml into CVD and run. I can see that a list of Strings is coming in, but tokens are expected. Not sure which one's right, though.
Eugenie, could you take a look? Thanks.