Hi Nicholas, Good to hear from you! This is quite a surprising result, it is much more typical in my experience for the negation module to miss a negation (because of long distances), so I'd like to try to replicate this. Do you get that result for each sentence at a time? Or only if all three sentences are like that in the note (as in, separated by newlines)? What version of cTAKES? And can you let me know the exact pipeline components? (Which negation annotator, are there any custom modules?) Thanks Tim
On Mon, 2018-03-05 at 01:03 +0100, Nicolas Paris wrote: > Hello > > I have integrated the ctakes PolarityCleartkAnalysisEngine in a > pipeline > such: > - sentence detection > - token detection > - pos detection > - DiseaseDisorderMention annotation > - negation detection > > My example text is: > I have a disease. > I do not have a disease. > I have some disease. > > "Disease" is an instance of DiseaseDisorderMention. > > However, all my example are tagged to negative: > > 05 mars 2018 00:51:30 DEBUG AssertionCleartkAnalysisEngine - > DECODING/EVAL: NEGATED//-1 [570-577] > (org.apache.ctakes.typesystem.type.textsem.DiseaseDisorderMention) > 05 mars 2018 00:51:30 DEBUG AssertionCleartkAnalysisEngine - > DECODING/EVAL: NEGATED//-1 [594-601] > (org.apache.ctakes.typesystem.type.textsem.DiseaseDisorderMention) > 05 mars 2018 00:51:30 DEBUG AssertionCleartkAnalysisEngine - > DECODING/EVAL: NEGATED//-1 [1099-1106] > (org.apache.ctakes.typesystem.type.textsem.DiseaseDisorderMention) > > > Am I missing something in the pipeline ? > > Thanks, > >
