Jain,
Jira has been open to track this: 
https://issues.apache.org/jira/browse/CTAKES-289

It seems like a possible bug to me, but I only had a quick glance at the code:
http://svn.apache.org/repos/asf/ctakes/trunk/ctakes-drug-ner/src/main/java/org/apache/ctakes/drugner/fsm/machines/elements/DosagesFSM.java
It does seem to reuse the FractionStrengthCondition, but perhaps others could 
comment it.

--Pei

> -----Original Message-----
> From: Ajay Jain [mailto:goti...@hotmail.com]
> Sent: Wednesday, March 19, 2014 3:48 PM
> To: dev@ctakes.apache.org
> Subject: cTAKES handling of fractions in dosage
> 
> Hi,
> I am running the DrugAggregatePlainTextUMLSProcessor and noticing that
> cTAKES is not handling fractions for medication dosage correctly.  For
> example, "Benadryl 1/2 tsp 3 times daily"
> produces a MedicationMention with a dosage of 2.  Having tried different
> fractions (1/2, 1/3, 2/4, etc.), apparently the dosage is always set to the 
> digit
> on the right of the '/'.  I am wondering if this is a documented issue with
> cTAKES (I am using cTAKES version 3.1).  Thanks in advance.
> Jain

Reply via email to