ctakes-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen, Pei" <Pei.C...@childrens.harvard.edu>
Subject RE: Medication Mention
Date Mon, 16 Dec 2013 21:09:49 GMT
If you have DictionaryLookupAnnotatorDB defined earlier, try the DictionaryLookupAnnotatorDB.
        <node> DictionaryLookupAnnotatorDB</node>

From: Pan Teng [mailto:tengpan@udel.edu]
Sent: Monday, December 16, 2013 4:07 PM
To: user@ctakes.apache.org
Subject: Re: Medication Mention

Hi Pei,

I was using the default AggregateUMLSPlaintextprocessor.xml.

I have <node>DictionaryLookupAnnotatorDB</node> instead of

       <node>DrugMentionAnnotator</node> you mentioned.

I edited the AggregateUMLSPlaintextprocessor.xml as you said, then I got the error like:

[Inline image 1]

The attached is the xml file after I added the DrugNER just now.

Many thanks for your quick reply.


On Mon, Dec 16, 2013 at 3:48 PM, Chen, Pei <Pei.Chen@childrens.harvard.edu<mailto:Pei.Chen@childrens.harvard.edu>>
Hi Pan,
Could you attach the pipeline configuration (is it DefaultAggregateUMLSPlaintextprocessor.xml)?
In particular,
Do you have the DrugNER (for the drug signatures) in your pipeline?
    <delegateAnalysisEngine key="DrugMentionAnnotator">
      <import location="../../../ctakes-drug-ner/desc/analysis_engine/DrugMentionAnnotator.xml"/>


From: Pan Teng [mailto:tengpan@udel.edu<mailto:tengpan@udel.edu>]
Sent: Monday, December 16, 2013 3:43 PM
To: user@ctakes.apache.org<mailto:user@ctakes.apache.org>
Subject: Medication Mention

Hi cTAKES community,

I saw in one of the slides from your presentation saying that, query like "The patient took
aspirin 325 mg for knee pain."  will have annotation like <edu.mayo.bmi.uima.core.type.refsem.MedicationStrength
    value number = "325" unit = "mg">
    value="noChange" />

But when I ran this, I only got

medicationStrength = <null>, medicationStatusChange = <null>

Is the annotation for medication working properly?
I'm not sure what's wrong here. Any clues?


View raw message