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

Add more tests and check overlapping of name spans to NameSample

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.8.2
    • 1.8.3
    • Name Finder
    • None

    Description

      NameSample has the following TODO in its constructor:

      // TODO: Check that name spans are not overlapping, otherwise throw exception

      I added simple code for it and its test.

      And I added a test for nested name spans.

      Attachments

        Issue Links

          Activity

            People

              koji Koji Sekiguchi
              koji Koji Sekiguchi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: