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.