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

Jörn Kottmann commented on OPENNLP-197:
---------------------------------------

Not sure I understand you. The sentence detector trainer needs to retrieve all 
sentences from an input CAS. The text covered by a sentence annotation is 
extracted and passed to the underlying sentence detector trainer. 

Why should we check that a sentence is written in its own line? Shouldn't the 
sentence annotation mark it correctly. 

> The UIMA "Sentence Detector Trainer" may build erratic models depending on 
> the covered text format of the sentence annotations.
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OPENNLP-197
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-197
>             Project: OpenNLP
>          Issue Type: Bug
>          Components: UIMA Integration
>            Reporter: Nicolas Hernandez
>
> In the opennlp-uima subproject, the "Sentence Detector Training" component 
> asks for a Sentence annotation type as a parameter. 
> The component does not check whether each corresponding sentence is written 
> in its own line. 
> As a matter of fact the built model would not work as expected.

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

Reply via email to