[
https://issues.apache.org/jira/browse/UIMA-757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567634#action_12567634
]
Eugenie Giesbrecht commented on UIMA-757:
-----------------------------------------
It is due to the current settings in the "tagger.properties" file (as it is on
the server now).. You should just comment the "DO_MAPPING" row (i.e. put a
"#"-sign in front of it) as this row is only relevant for training and testing,
but not for the process of tagging itself (this issue will be described in the
documentation in more detail..)
> 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.