Hi,
thanks you for reporting this. This is a severe bug and I will fix it as soon as possible. Best, Peter Am 05.07.2018 um 08:00 schrieb amyjackson...@gmail.com: > I used COUNT Condition to find the number of punctuations in an > annotation.But I didn't received the expected output. > > DECLARE Sentence(INT pmcount); > Conflicts of interest"->Sentence; > > DECLARE SentenceLastToken; > > Sentence{-PARTOF(SentenceLastToken)->MARKLAST(SentenceLastToken)}; > INT Pmcount=0; > > Sentence->{ANY+?{->SHIFT(Sentence,1,1,true)} > SentenceLastToken{PARTOF(PM)};}; > Sentence{COUNT(PM,Pmcount)->Sentence.pmcount=Pmcount}; > > **Sample Input:** > > Conflicts of interest. > > **Expected Output:** > > Conflicts of interest > pmcount:0 > > > **Received Output:** > > Conflicts of interest > pmcount:1 > > I'm facing this problem only if there is any PM after the Annotation value. > > -- Peter Klügl R&D Text Mining/Machine Learning Averbis GmbH Tennenbacher Str. 11 79106 Freiburg Germany Fon: +49 761 708 394 0 Fax: +49 761 708 394 10 Email: peter.klu...@averbis.com Web: https://averbis.com Headquarters: Freiburg im Breisgau Register Court: Amtsgericht Freiburg im Breisgau, HRB 701080 Managing Directors: Dr. med. Philipp Daumke, Dr. Kornél Markó