[ 
https://issues.apache.org/jira/browse/UIMA-6201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17059786#comment-17059786
 ] 

Richard Eckart de Castilho commented on UIMA-6201:
--------------------------------------------------

If you use UIMA v3, you could e.g. do this:

{code}
List<OntologyConcept> ocs = cas.select(OntologyConcept.class).asList();
{code}



> Analysis engine Enhancement
> ---------------------------
>
>                 Key: UIMA-6201
>                 URL: https://issues.apache.org/jira/browse/UIMA-6201
>             Project: UIMA
>          Issue Type: Question
>          Components: UIMA
>            Reporter: dhinesh
>            Priority: Major
>
> 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)

Reply via email to