ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen, Pei" <Pei.C...@childrens.harvard.edu>
Subject RE: docs on running Clinical Document Pipeline from Java?
Date Wed, 19 Jun 2013 21:20:34 GMT
Also,
Tim recently just checked in a Main class that essentially could be the beginnings of a Driver
program.
Check the main() out at:
http://svn.apache.org/repos/asf/ctakes/trunk/ctakes-clinical-pipeline/src/main/java/org/apache/ctakes/clinicalpipeline/runtime/BagOfCUIsGenerator.java

--Pei


> -----Original Message-----
> From: Girivaraprasad Nambari [mailto:girinambari@gmail.com]
> Sent: Wednesday, June 19, 2013 3:47 PM
> To: dev@ctakes.apache.org
> Subject: Re: docs on running Clinical Document Pipeline from Java?
> 
> Hi,
> 
> Welcome to ctakes.
> 
> There was a similar discussion initiated by me few months ago (you may be
> able to find out if you browse through old discussions) . Here is response
> form Pei Chen & ctakes community:
> 
> It is not quite prime time ready but, take a look peek at the below (It uses
> uimaFIT to do the above):
> 
> **
> 
> http://svn.apache.org/repos/asf/ctakes/sandbox/ctakes-
> gui/src/main/java/org/chboston/cnlp/ctakes/gui/service/LauncherService.ja
> va
> ****
> 
> ** Essentially, it boils down to a few lines of code:
> 
> AnalysisEngine aggregateAE = AnalysisEngineFactory.createAggregate(****
> 
>                engines, componentNames, typeSystemDescription, null,****
> 
>                new SofaMapping[0]);****
> 
>               ****
> 
> JCas jcas = aggregateAE.newJCas();****
> 
> jcas.setDocumentText(doc.getText());****
> 
> aggregateAE.process(jcas);
> 
> 
> We need to start from UIMA and UIMAfit to get some basic understanding,
> then using ctakes component will be easy.
> 
> Good luck!
> 
> Thank you,
> 
> Giri
> 
> 
> On Wed, Jun 19, 2013 at 3:17 PM, Sandy Ryza <sandy.ryza@cloudera.com>
> wrote:
> 
> > Hi cTAKES folks,
> >
> > I am trying to figure out how to run the Clinical Document Pipeline
> > from Java.  All the documentation I have found so far has been about
> > how to do this through a GUI.  Is there anything on how to run the
> > pipeline programmatically?
> >
> > thanks for any help!
> > Sandy
> >

Mime
View raw message