UIMA's descriptors include a section under the XML capabilities element where
the descriptor may specify inputs and outputs. These end up informing the
ResultSpecification which is provided to the annotator. The ResultSpecification
can be queried by the annotator code to see what the annotator ought to produce.
This is used, for example by sample annotators in the examples project:
TutorialDateTime, RegExAnnotator, PersonTitleAnnotator
to control what the annotators produce.
This behavior, on the part of annotators, is "optional" - that is, an annotator
might be written to ignore the ResultSpecification.
So the key may be to update the annotators to take account of the
ResultSpecification.
For more background, see
http://uima.apache.org/d/uimaj-2.6.0/tutorials_and_users_guides.html#ugr.tug.aae.result_specification_setting
which discusses the ResultSpecification further.
Read full article from
For users of UIMA to converse about such things as configuration and operating of the software of the Project
No comments:
Post a Comment