Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-417

Back-to-Back <START><END> tags get improperly set when tagging

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • tools-1.5.1-incubating, tools-1.5.2-incubating
    • tools-1.5.3
    • Name Finder

    Description

      1) Special thanks go to Angel Luis Jimenez Martinez for both finding the problem, and finding the one line of code that caused this problem.

      This only affects the TokenNameFinder when parsing user input and tagging the output.
      The problem was when the name finder model returns the spans, it would properly find the Spans and return them; however, it would improperly label the Spans when constructing them, if they where back-to-back.
      This can cause the NameFinder to improperly report the wrong tag in this situation.

      Attachments

        Activity

          People

            jkosin James Kosin
            jkosin James Kosin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: