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

Brat SpanAnnotations with empty covered text

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.6.0
    • Formats
    • None

    Description

      The class BratDocument's static parseDocument generated SpanAnnotations with empty covered text… I think that is a little messy. was this done in order to save memory? Otherwise I think you should rewrite the getCoveredText so it looks like opennlp.util.Span's CharSequence Span.getCoveredText(CharSequence text)

      included a patch that compiles on current trunk.

      We could also fix SpanAnnotationParser to read the "covered" text but I think I should look more like the opennlp api.

      Attachments

        1. patch
          3 kB
          Peter Thygesen

        Activity

          People

            joern Jörn Kottmann
            thygesen Peter Thygesen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: