[ 
https://issues.apache.org/jira/browse/CTAKES-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14167393#comment-14167393
 ] 

Pei Chen commented on CTAKES-314:
---------------------------------

Sample API call taken from
http://svn.apache.org/repos/asf/ctakes/trunk/ctakes-clinical-pipeline/src/main/java/org/apache/ctakes/clinicalpipeline/ClinicalPipelineFactory.java

======================
AnalysisEngineDescription aed = 
org.apache.ctakes.clinicalpipeline.ClinicalPipelineFactory.getTokenProcessingPipeline();
    
String note = "shit man! My arthritis is flaring up!!!";
    JCas jcas = JCasFactory.createJCas();
    jcas.setDocumentText(note);
    SimplePipeline.runPipeline(jcas, aed);

//Print out the tokens and Parts of Speech
    for(BaseToken entity : JCasUtil.select(jcas, BaseToken.class)){
      System.out.println(“Token: " + entity.getCoveredText() + " === POS: " + 
entity.getPartOfSpeech() 
);

> BigTop/Hadoop cTAKES integration
> --------------------------------
>
>                 Key: CTAKES-314
>                 URL: https://issues.apache.org/jira/browse/CTAKES-314
>             Project: cTAKES
>          Issue Type: New Feature
>    Affects Versions: 3.2.0
>            Reporter: Pei Chen
>             Fix For: 3.2.3
>
>         Attachments: Napkin_cTAKES_Hadoop.JPG
>
>
> Placeholder to-
> Create a simple application that can take in different datasources (public 
> forums, twitter, etc.), scale up cTAKES using BigTop/Hadoop ecosystem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to