You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ctakes.apache.org by Arohi Kumar <ar...@mobipulse.in> on 2013/08/30 10:11:51 UTC

Information Regarding cTakes API from Java Program

Hello everyone,

I am a newbie and am working on developing an application with Apache
cTakes 3.0.

I have installed Apache cTakes on my local machine using the tutorial given
at
https://cwiki.apache.org/confluence/display/CTAKES/cTAKES+3.0+Developer+Install+Guide
. I have also downloaded cTakes resources and  got my UMLS username and
password approved. I have tested the installaton by invoking CAS Visual
Debugger(CVD) from the command line, loading Analysis Engine as
AggregatePlaintextUMLSProcessor and running. I am interested in exploring
the different result fields that I am getting corresponding to the text
that I have given. *Please point me to some resources that will help me in
understanding the result. Also is the result in XML format?*

My issue is regarding running this process(giving text and receiving
results after analyzing the text using AggregatePlaintextUMLSProcessor)
from a Java Program as it will be easier to automate*. Please point me to
relevant resources for doing this. *

Thank you
Arohi

Re: Information Regarding cTakes API from Java Program

Posted by Arohi Kumar <ar...@mobipulse.in>.
Hi Pei,

Thanks for your reply. I will get to work and let you know of my progress
ASAP.

Arohi


On Fri, Aug 30, 2013 at 7:48 PM, Chen, Pei
<Pe...@childrens.harvard.edu>wrote:

> Hi Arohi,
> Welcome!
> To use cTAKES programmatically, I would suggest:
> 1) Take a look at the current Type System [1] as that will outline all of
> the available output that is supported in cTAKES.
> 2) Understand a bit about UIMA [2], the framework that cTAKES was built on
> top of.
> 3) Take a look at uimaFIT[3] as that will probably make access the data
> objects and running a pipeline much easier via java code.
> 4) Take a look at a simple example such as that just extracts a list of
> UMLS CUI's [4]
>
> [1]
> http://ctakes.apache.org/user-faqs.html#what-are-the-available-attributes-types-in-ctakes
> [2] http://uima.apache.org
> [3] https://code.google.com/p/uimafit/ (in the process of being migrated
> to the UIMA project)
> [4]
> http://svn.apache.org/repos/asf/ctakes/trunk/ctakes-clinical-pipeline/src/main/java/org/apache/ctakes/clinicalpipeline/runtime/BagOfCUIsGenerator.java
>
> I hope that helps...
> --Pei
> > -----Original Message-----
> > From: Arohi Kumar [mailto:arohi@mobipulse.in]
> > Sent: Friday, August 30, 2013 4:13 AM
> > To: dev@ctakes.apache.org
> > Subject: Information Regarding cTakes API from Java Program
> >
> > Hello everyone,
> >
> > I am a newbie and am working on developing an application with Apache
> > cTakes 3.0.
> >
> > I have installed Apache cTakes on my local machine using the tutorial
> given at
> > https://cwiki.apache.org/confluence/display/CTAKES/cTAKES+3.0+Develope
> > r+Install+Guide
> > . I have also downloaded cTakes resources and  got my UMLS username and
> > password approved. I have tested the installaton by invoking CAS Visual
> > Debugger(CVD) from the command line, loading Analysis Engine as
> > AggregatePlaintextUMLSProcessor and running. I am interested in exploring
> > the different result fields that I am getting corresponding to the text
> that I
> > have given. *Please point me to some resources that will help me in
> > understanding the result. Also is the result in XML format?*
> >
> > My issue is regarding running this process(giving text and receiving
> results
> > after analyzing the text using AggregatePlaintextUMLSProcessor) from a
> Java
> > Program as it will be easier to automate*. Please point me to relevant
> > resources for doing this. *
> >
> > Thank you
> > Arohi
>

RE: Information Regarding cTakes API from Java Program

Posted by "Chen, Pei" <Pe...@childrens.harvard.edu>.
Hi Arohi,
Welcome!  
To use cTAKES programmatically, I would suggest:
1) Take a look at the current Type System [1] as that will outline all of the available output that is supported in cTAKES.
2) Understand a bit about UIMA [2], the framework that cTAKES was built on top of.
3) Take a look at uimaFIT[3] as that will probably make access the data objects and running a pipeline much easier via java code.
4) Take a look at a simple example such as that just extracts a list of UMLS CUI's [4]

[1] http://ctakes.apache.org/user-faqs.html#what-are-the-available-attributes-types-in-ctakes
[2] http://uima.apache.org
[3] https://code.google.com/p/uimafit/ (in the process of being migrated to the UIMA project)
[4] http://svn.apache.org/repos/asf/ctakes/trunk/ctakes-clinical-pipeline/src/main/java/org/apache/ctakes/clinicalpipeline/runtime/BagOfCUIsGenerator.java

I hope that helps...
--Pei
> -----Original Message-----
> From: Arohi Kumar [mailto:arohi@mobipulse.in]
> Sent: Friday, August 30, 2013 4:13 AM
> To: dev@ctakes.apache.org
> Subject: Information Regarding cTakes API from Java Program
> 
> Hello everyone,
> 
> I am a newbie and am working on developing an application with Apache
> cTakes 3.0.
> 
> I have installed Apache cTakes on my local machine using the tutorial given at
> https://cwiki.apache.org/confluence/display/CTAKES/cTAKES+3.0+Develope
> r+Install+Guide
> . I have also downloaded cTakes resources and  got my UMLS username and
> password approved. I have tested the installaton by invoking CAS Visual
> Debugger(CVD) from the command line, loading Analysis Engine as
> AggregatePlaintextUMLSProcessor and running. I am interested in exploring
> the different result fields that I am getting corresponding to the text that I
> have given. *Please point me to some resources that will help me in
> understanding the result. Also is the result in XML format?*
> 
> My issue is regarding running this process(giving text and receiving results
> after analyzing the text using AggregatePlaintextUMLSProcessor) from a Java
> Program as it will be easier to automate*. Please point me to relevant
> resources for doing this. *
> 
> Thank you
> Arohi