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

NameSample should create typed span

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: tools-1.5.3
    • Fix Version/s: tools-1.5.3
    • Component/s: Name Finder
    • Labels:
      None

      Description

      NameFinder uses the type from span everywhere. When reading a corpus without type information we should set a default type value instead of leaving it null.
      Leaving it null causes the evaluation listeners and the evaluation itself to fail comparing the predicted values and the expected. Predicted names will always have a type.

        Attachments

          Activity

            People

            • Assignee:
              colen William Colen
              Reporter:
              colen William Colen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: