Kean Kaufmann created CTAKES-554:
------------------------------------

             Summary: NegexAnnotator: checkNegation2 removes first character of 
every sentence
                 Key: CTAKES-554
                 URL: https://issues.apache.org/jira/browse/CTAKES-554
             Project: cTAKES
          Issue Type: Bug
          Components: ctakes-ytex-uima
            Reporter: Kean Kaufmann


In org.apache.ctakes.ytex.uima.annotators.NegexAnnotator::checkNegation2 (which 
doesn't appear to be called from anywhere, fortunately):

 

 
{code:java}
                // Remove the extra periods at the beginning
                // and end of the sentence.
                sentence = 
sentence.substring(0,sentence.trim().lastIndexOf('.'));
                sentence = sentence.replaceFirst(".", "");
{code}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to