Re: I think I found a bug. [EXTERNAL]

2020-08-31 Thread Peter Abramowitsch
Thanks Jeff, I don't think the image is needed. here's what it showed. With the negex annotator in the pipeline With "Negative for headache" as the text starting at position 0 In HistoryAttributeClassifier beginning near line 274 the first IdentifiedAnnotation in the *List lsmentions* contai

Re: I think I found a bug.

2020-08-31 Thread Kean Kaufmann
Hi Peter, I believe I've encountered this too; I never got around to tracking it down to the root cause, and didn't have the civic-mindedness to report it as you have. Thanks! To shut it up I implemented a brutal brute-force workaround, enclosed for your possible amusement. But it occurred to me

Re: I think I found a bug. [EXTERNAL]

2020-08-31 Thread Miller, Timothy
Peter, I think the email server doesn't let images through. Can you post an imgur link maybe? Tim On Sun, 2020-08-30 at 14:35 -0700, Peter Abramowitsch wrote: > * External Email - Caution * > > Hi, > I was getting a StringIndexOutOfBoundsException in > DependencyUtil.doesSubsume(annot1, annot2)

I think I found a bug.

2020-08-30 Thread Peter Abramowitsch
Hi, I was getting a StringIndexOutOfBoundsException in DependencyUtil.doesSubsume(annot1, annot2) with exactly this situation: *negex annotator* *the text begins "negative for "* If the chunk *negative for xyz *is preceded by anything else, even a space, the problem goes away. It also goes awa