Uploaded image for project: 'cTAKES'
  1. cTAKES
  2. CTAKES-554

NegexAnnotator: checkNegation2 removes first character of every sentence

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • ctakes-ytex-uima
    • 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(".", "");
      

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            keanR1 Kean Kaufmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: