Hi Giri,
I presume, essentially, you're planning to include the cTAKES lib(s) (via mvn?) 
into your existing app

1)      Programmatically configure the pipeline

2)      Pass in a document(s) to cTAKES for processing

3)      Do XYZ with the output from the jCAS using the UIMA API's (such as 
writing to disk or saving it to a db)
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.java

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


From: giri vara prasad nambari [mailto:[email protected]]
Sent: Tuesday, April 02, 2013 10:04 AM
To: [email protected]
Subject: Re: cTakes with java web application

Hi Pei,

Thanks for your time on answering this.

Actually I am not looking for pre built web application (or) GUI. I was 
expecting something like "include ctakes jars in my web application ((or) even 
for the matter any client java program)" and start using ctakes API. Is this 
possible with ctakes api? If so, any sample ctakes client code available?

I am not moving towards any SOA (or) pre-built GUI.


I would be happy to contribute to GUI, but first I need to finish this ctakes 
integration task into my web application ASAP.

I hope this time my question is more clear.

Thank you,
Giri
On Tue, Apr 2, 2013 at 9:51 AM, Chen, Pei 
<[email protected]<mailto:[email protected]>> wrote:

Hi Giri,

Apache cTAKES is mainly in Java built on top of the UIMA Framework.

Currently, there isn't out of the box web application with cTAKES, however 
there is a GUI currently in the sandbox area but isn't quite ready for prime 
time yet.  Is this something that you might be interested in contributing to?

http://svn.apache.org/repos/asf/ctakes/sandbox/ctakes-gui/



There are also some UIMA options that may point you in the right direction.

UIMA-AS (If you're gearing towards a Service Architecture for your web app.)

http://uima.apache.org/d/uima-as-2.4.0/uima_async_scaleout.html



There is also a Simple Rest service (but runs in-process):

UIMA Simple Server

http://uima.apache.org/sandbox.html#simple-server



Thanks,

Pei



From: giri vara prasad nambari 
[mailto:[email protected]<mailto:[email protected]>]
Sent: Tuesday, April 02, 2013 12:29 AM
To: [email protected]<mailto:[email protected]>
Subject: Fwd: cTakes with java web application





Hi Community,



I did lot of google for sample java code to integrate cTakes into web 
application, can some one please point me in right direction.



I would like to use clinical pipeline with plain text instead of XML documents.



Any help would be appreciated.



Thank you,

Giri





Reply via email to