Refactor the sentence detector to correctly detect white spaces
---------------------------------------------------------------

                 Key: OPENNLP-202
                 URL: https://issues.apache.org/jira/browse/OPENNLP-202
             Project: OpenNLP
          Issue Type: Improvement
          Components: Sentence Detector
    Affects Versions: tools-1.5.1-incubating
            Reporter: Jörn Kottmann
             Fix For: tools-1.5.2-incubating


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to