This may be a question for CTakes. UIMA has facilities to configure a "capabilities" section in the Analysis Engine descriptor, which includes an able to specify what outputs are wanted (the "ResultsSpecification" is provided to annotators); however, this "outputs-wanted" specification has to be used by annotators - and CTakes may (or may not) make use of these.
CTakes may have alternative ways to do this, which is why I'm copying this to the CTakes mailing list. The suggestion by Richard is fine, if what you want to do is 1) run CTakes and have it compute everything as it does as you have configured it 2) then run a "select" operation that picks out of all the results, just the ones you want. - Marshall On 3/15/2020 3:32 PM, dhinesh (Jira) wrote: > dhinesh created UIMA-6201: > ----------------------------- > > Summary: Analysis engine Enhancement > Key: UIMA-6201 > URL: https://issues.apache.org/jira/browse/UIMA-6201 > Project: UIMA > Issue Type: Question > Components: UIMA > Reporter: dhinesh > > > Hi Friends, > > can any one suggest me how to filter specific class annotations from the > chunk of annotations. > > For Example > I am getting output as > org.apache.ctakes.typesystem.type.syntax.PRT > org.apache.ctakes.typesystem.type.syntax.PP > org.apache.ctakes.typesystem.type.OntologyConcept > etc > > I need output only as > org.apache.ctakes.typesystem.type.OntologyConcept > > Where do I restrict for my specific class annotations in analysis engine. > > Thanks > > > > -- > This message was sent by Atlassian Jira > (v8.3.4#803005)