Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-891

uima example annotator does not work with the new Result spec design

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.1
    • 2.2.2
    • Examples
    • None

    Description

      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")

      Attachments

        Activity

          People

            mbaessler Michael Baessler
            mbaessler Michael Baessler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: