Hi Tomasz,
Just in case nobody has a better answer: I think that you might need to may a
new array at size n-1 , then copy all ontology concepts that you do want, then
set the annotation's ontology concept array to be the new one.
Sean
-Original Message-
From: Tomasz Oliwa [mailto:ol..
How can I delete an OntologyConcept from a JCas using an Annotator?
As an example, the following process method from an Annotator loops over all
IdentifiedAnnotations, and is supposed to simply remove all OntologyConcepts.
However, it does not remove anything from the CAS. I can still see all