Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
In org.apache.ctakes.ytex.uima.annotators.NegexAnnotator::checkNegation2 (which doesn't appear to be called from anywhere, fortunately):
// Remove the extra periods at the beginning // and end of the sentence. sentence = sentence.substring(0,sentence.trim().lastIndexOf('.')); sentence = sentence.replaceFirst(".", "");