Except for the handling of end-of-line characters, the YTEX SentenceAnnotator is identical to the default cTAKES Sentence Annotator. The cTAKES default sentence annotator forces all newlines to be sentence endings. However, in many documents, newlines are not sentence endings. The YTEX SentenceAnnotator does not break sentences on newlines.
To use the YTEX SentenceAnnotator, use org.apache.ctakes.ytex.uima.annotators.SentenceDetector
.