Tagger throws ClassCastException
--------------------------------
Key: UIMA-757
URL: https://issues.apache.org/jira/browse/UIMA-757
Project: UIMA
Issue Type: Bug
Components: Sandbox-Tagger
Reporter: Thilo Goetz
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.