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

Tomasz Oliwa commented on CTAKES-370:
-------------------------------------

In cTAKES 4.0 this seems to be still necessary. I had to also manually extract 
ctakes-relation-extractor-res-4.0.0.jar into the resources folder, and then 
adjust the extracted ProductionPostSentenceAggregate_step1.xml deep inside the 
resources folder as I initially mentioned above. Now is looks like it is 
working again.

> Include smoking status in clinical pipeline
> -------------------------------------------
>
>                 Key: CTAKES-370
>                 URL: https://issues.apache.org/jira/browse/CTAKES-370
>             Project: cTAKES
>          Issue Type: Improvement
>          Components: ctakes-clinical-pipeline, ctakes-smoking-status
>    Affects Versions: 3.2.2
>         Environment: Linux
>            Reporter: Tomasz Oliwa
>            Priority: Minor
>         Attachments: AggregatePlaintextFastUMLSProcessor.xml
>
>
> The smoking status detection can be included in the clinical pipeline. 
> Attached is a AggregatePlaintextFastUMLSProcessor.xml that has the clinical 
> pipeline + the smoking status detection integrated.
> Currently cTAKES has smoking status resources that need to have 
> their imports adjusted for any smoking status detection to work. As a 
> workaround, in:
> ProductionPostSentenceAggregate_step1.xml
> change:
> <import name="org.apache.ctakes.core.analysis_engine.TokenizerAnnotator"/>
> <import 
> name="org.apache.ctakes.core.analysis_engine.SentenceDetectorAnnotator"/>
> to the absolute or relative path (depends on the installed system, on my 
> machine it is) of these annotators:
> <import 
> location="../../../../../../desc/ctakes-core/desc/analysis_engine/TokenizerAnnotator.xml"/>
> <import 
> location="../../../../../../desc/ctakes-core/desc/analysis_engine/SentenceDetectorAnnotator.xml"/>



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to