[
https://issues.apache.org/jira/browse/UIMA-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577950#action_12577950
]
Michael Baessler commented on UIMA-891:
---------------------------------------
This is a weird issue... My opinions change from one moment to the other.
Maybe for now we should go this strict way and use the API as is.
So I will go and fix the examples.
> uima example annotator does not work with the new Result spec design
> --------------------------------------------------------------------
>
> Key: UIMA-891
> URL: https://issues.apache.org/jira/browse/UIMA-891
> Project: UIMA
> Issue Type: Bug
> Components: Examples
> Affects Versions: 2.2.1
> Reporter: Michael Baessler
> Assignee: Michael Baessler
> Fix For: 2.2.2
>
>
> Annotators does not produce any output result since the use the ResultSpec
> API in a wrong way
> They do:
> resultSpec.containsType("org.apache.uima.tutorial.TimeAnnot")
> which checks the type for language x-unspecified
> But the annotator only works for "en" as mentioned in the output spec so they
> have to do a check like:
> resultSpec.containsType("org.apache.uima.tutorial.TimeAnnot","en")
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.