[jira] [Commented] (UIMA-6201) Analysis engine Enhancement

2020-03-16 Thread Marshall Schor (Jira)


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

Marshall Schor commented on UIMA-6201:
--

oops, I've been responding on the uima dev list... I agree with Richard.  My 
only suggestion is that you
ask this question on the CTakes user list; it's quite possible they've designed 
/ implemented something to control this.  (or of course, you could read their 
docs / look at their source code, etc.)

> 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)


Re: [jira] [Commented] (UIMA-6201) Analysis engine Enhancement

2020-03-16 Thread Marshall Schor
yes and no.

Yes, this is exactly what this specification was intended to do.

No (or maybe yes) - this spec is passed to the annotator, and it's up to the
annotator designer to use it to control what annotations they compute.  So
please look at the CTakes source code for the annotator(s) that are producing
this, and see if they make use of it.

Or, just ask on the CTakes user list.

-Marshall

On 3/16/2020 2:39 AM, dhinesh (Jira) wrote:
> [ 
> https://issues.apache.org/jira/browse/UIMA-6201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17059984#comment-17059984
>  ] 
>
> dhinesh commented on UIMA-6201:
> ---
>
> Thanks Richard.Thanks Richard.
> I need one more clarification. is it possiple to restrict output annotations 
> from the capabilities tag or anyother tag inside the analysis engine.xml 
> file.Version: Apache UIMA SDK Version 2.10.2example 
> allAnnotatorFeatures="true">org.apache.ctakes.typesystem.type.syntax.PRT 
>   allAnnotatorFeatures="true">org.apache.ctakes.typesystem.type.syntax.PP 
>   allAnnotatorFeatures="true">org.apache.ctakes.typesystem.type.OntologyConcept 
>   
>
>> 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)


[jira] [Commented] (UIMA-6201) Analysis engine Enhancement

2020-03-16 Thread Richard Eckart de Castilho (Jira)


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

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

Usually one lets the components generate all they can and at the end you write 
some custom code to pick out the relevant information and ingest it into 
whatever system you use to or convert it to any format suitable for further 
processing outside UIMA.

> 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)


[jira] [Commented] (UIMA-6201) Analysis engine Enhancement

2020-03-16 Thread Richard Eckart de Castilho (Jira)


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

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

Capabilities usually declare what types an engine is able to consume and 
produce - it does not say what it actually consumes and produces.

There is a concept in UIMA called [Result 
Specifications|https://uima.apache.org/d/uimaj-current/tutorials_and_users_guides.html#ugr.tug.aae.result_specification_setting],
 but every component is free to support that or not - I don't think the cTAKES 
components support it.

> 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)


[jira] [Commented] (UIMA-6201) Analysis engine Enhancement

2020-03-16 Thread dhinesh (Jira)


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

dhinesh commented on UIMA-6201:
---

Thanks Richard.
I need one more clarification. is it possiple to restrict output annotations 
from the capabilities tag or anyother tag inside the analysis engine.xml file.

Version: Apache UIMA SDK Version 2.10.2

example









org.apache.ctakes.typesystem.type.syntax.PRT 
 org.apache.ctakes.typesystem.type.syntax.PP  
org.apache.ctakes.typesystem.type.OntologyConcept 








> 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)


[jira] [Commented] (UIMA-6201) Analysis engine Enhancement

2020-03-16 Thread dhinesh (Jira)


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

dhinesh commented on UIMA-6201:
---

Thanks Richard.Thanks Richard.
I need one more clarification. is it possiple to restrict output annotations 
from the capabilities tag or anyother tag inside the analysis engine.xml 
file.Version: Apache UIMA SDK Version 2.10.2example  
  org.apache.ctakes.typesystem.type.syntax.PRT 
 org.apache.ctakes.typesystem.type.syntax.PP  
org.apache.ctakes.typesystem.type.OntologyConcept 
  

> 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)


[jira] [Commented] (UIMA-6201) Analysis engine Enhancement

2020-03-15 Thread Richard Eckart de Castilho (Jira)


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

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

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

{code}
List 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)