[ 
https://issues.apache.org/jira/browse/OPENNLP-602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13882818#comment-13882818
 ] 

Joern Kottmann commented on OPENNLP-602:
----------------------------------------

What error do you get? Is there an exception caused by the remove call?

I believe it would be better to remove the white space sentence.

> SentenceDetector should support new line as and end of sentence char
> --------------------------------------------------------------------
>
>                 Key: OPENNLP-602
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-602
>             Project: OpenNLP
>          Issue Type: Improvement
>          Components: Sentence Detector
>    Affects Versions: tools-1.5.3
>            Reporter: Joern Kottmann
>            Assignee: Joern Kottmann
>            Priority: Minor
>             Fix For: 1.6.0
>
>         Attachments: ws_fix.diff
>
>
> The Sentence Detector should have support to consider new line chars as the 
> end of a sentence. This will probably require special handling in the 
> training code to assume that there is an new line char if any other eos is 
> missing.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to