ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Finan, Sean" <Sean.Fi...@childrens.harvard.edu>
Subject RE: API for CTakes
Date Mon, 12 Sep 2016 15:10:20 GMT
Hi Vicky,

The closest to an API that I know of is in the clinical pipeline module:
org.apache.ctakes.clinicalpipeline.ClinicalPipelineFactory
It has static methods that will return descriptors for the two most commonly used clinical
pipelines.  You can look at that class to get an idea of the "standard" annotation engines
and how they fit together.

When it comes to obtaining information at the end of a pipeline, look in the core module at
org.apache.ctakes.core.cc.property.plaintext.PropertyTextWriter.  That class iterates over
sentences and prints all identified annotations, their property values and relations.

When it comes to tying things together, you can use the example module, class org.apache.ctakes.examples.pipelines.ExampleAggregatePipeline

We are constantly working on improvements, and I welcome ideas regarding how we could make
this better/easier.
Sean

-----Original Message-----
From: Vicky Chawda [mailto:vicky.chawda@praxify.com] 
Sent: Monday, September 12, 2016 6:49 AM
To: dev@ctakes.apache.org
Subject: API for CTakes

Hi,

Is there any API and doccumentation for CTakes?

ViCky
Mime
View raw message