Re: Question about DrugNerAnnotator [EXTERNAL]

2024-12-04 Thread Peter Abramowitsch
Turns out that this problem was indeed due to the fact that package names had changed from v4.x.x to v5.x.x from ...drugner... to ..drug.ner.. But across the sources and typesystem files it had not been completely done and had been left in a halfway state.By reverting the package spec of reso

Re: Question about DrugNerAnnotator [EXTERNAL]

2024-12-04 Thread Finan, Sean
Thanks for the update. We can add it a "known issues" in the wiki https://github.com/apache/ctakes/wiki . I thought that we had one at some point, but it may have been removed. From: Peter Abramowitsch Sent: Wednesday, December 4, 2024 10:25 AM To: dev@ctakes.

Re: Question about DrugNerAnnotator [EXTERNAL]

2024-12-04 Thread Peter Abramowitsch
Hi Sean et al Problem still is though, that even when processing it creates nothing at all due to an out of bounds exception that may be due to some parameters that need passing to the annotator, but I don't see any pipeline or piper examples where these are passed. It generates DrugMentions, t

Re: Question about DrugNerAnnotator [EXTERNAL]

2024-12-04 Thread Finan, Sean
The Drug-ner module was created before my time, and I haven't ever had reason to use it. I think that your oob exception is, as you guess, coming from missing or bad parameters. You can try using the following in your piper file: package org.apache.ctakes.drugner.ae set DISTANCE_ANN_TYPE=org.a

Re: Question about DrugNerAnnotator [EXTERNAL]

2024-12-04 Thread Peter Abramowitsch
Thanks Sean you are really a font of useful information! Yes, those parameters did enable the code to run without erroring. But like you said all it did was highlight the fact that it's not a good solution and creates vast numbers of bloated objects with little to no relevant data, when all that