ctakes-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pei Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CTAKES-314) BigTop/Hadoop cTAKES integration
Date Fri, 10 Oct 2014 19:49:34 GMT

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

Mime
View raw message