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

Refactor the sentence detector to correctly detect white spaces

    XMLWordPrintableJSON

Details

    Description

      The Sentence Detector code needs a robust mechanism to detect the precense of a white space. In OpenNLP white spaces should be detected with StringUtil.isWhitespace, but the Sentence Detector either call Chracter.isWhitespace or equals a character with the space character.

      To fix this issue refactor the code to always use StringUtil.isWhitespace to detect whites spaces.

      Attachments

        Activity

          People

            joern Jörn Kottmann
            joern Jörn Kottmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: