Return-Path: X-Original-To: apmail-ctakes-dev-archive@www.apache.org Delivered-To: apmail-ctakes-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 11577101D1 for ; Thu, 20 Mar 2014 17:22:54 +0000 (UTC) Received: (qmail 69021 invoked by uid 500); 20 Mar 2014 17:22:53 -0000 Delivered-To: apmail-ctakes-dev-archive@ctakes.apache.org Received: (qmail 68895 invoked by uid 500); 20 Mar 2014 17:22:51 -0000 Mailing-List: contact dev-help@ctakes.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ctakes.apache.org Delivered-To: mailing list dev@ctakes.apache.org Received: (qmail 68881 invoked by uid 99); 20 Mar 2014 17:22:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Mar 2014 17:22:50 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gotillu@hotmail.com designates 65.55.34.205 as permitted sender) Received: from [65.55.34.205] (HELO col0-omc4-s3.col0.hotmail.com) (65.55.34.205) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Mar 2014 17:22:44 +0000 Received: from COL129-W57 ([65.55.34.201]) by col0-omc4-s3.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 20 Mar 2014 10:22:21 -0700 X-TMN: [B11SxgbKqMLkT34JYa1zvBKemey48xTY] X-Originating-Email: [gotillu@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_54b8424a-f4b7-4fc5-ab44-f7bf5f496260_" From: Ajay Jain To: "dev@ctakes.apache.org" Subject: RE: cTAKES handling of fractions in dosage Date: Thu, 20 Mar 2014 12:22:21 -0500 Importance: Normal In-Reply-To: <924DE05C19409B438EB81DE683A942D9106AFAEA@CHEXMBX1A.CHBOSTON.ORG> References: ,<924DE05C19409B438EB81DE683A942D9106AFAEA@CHEXMBX1A.CHBOSTON.ORG> MIME-Version: 1.0 X-OriginalArrivalTime: 20 Mar 2014 17:22:21.0932 (UTC) FILETIME=[F410BAC0:01CF4460] X-Virus-Checked: Checked by ClamAV on apache.org --_54b8424a-f4b7-4fc5-ab44-f7bf5f496260_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Pei=2C Thanks. I also wanted to mention that I have noticed the same behavior whe= n ranges are specified in the context of dosage and frequency. For example= =2C when I try: 'Take Lipitor 1-2 tabs 3-4 times a day for 7 days'=2C dosage is annotated a= s '2' and frequency value is annotated as '4'. Looks like the same pattern is surfacing here (use the latter half) as well= . Best=2CJain > From: Pei.Chen@childrens.harvard.edu > To: dev@ctakes.apache.org > Subject: RE: cTAKES handling of fractions in dosage > Date: Thu=2C 20 Mar 2014 14:41:32 +0000 >=20 > Jain=2C > Jira has been open to track this:=20 > https://issues.apache.org/jira/browse/CTAKES-289 >=20 > It seems like a possible bug to me=2C but I only had a quick glance at th= e code: > http://svn.apache.org/repos/asf/ctakes/trunk/ctakes-drug-ner/src/main/jav= a/org/apache/ctakes/drugner/fsm/machines/elements/DosagesFSM.java > It does seem to reuse the FractionStrengthCondition=2C but perhaps others= could comment it. >=20 > --Pei >=20 > > -----Original Message----- > > From: Ajay Jain [mailto:gotillu@hotmail.com] > > Sent: Wednesday=2C March 19=2C 2014 3:48 PM > > To: dev@ctakes.apache.org > > Subject: cTAKES handling of fractions in dosage > >=20 > > Hi=2C > > I am running the DrugAggregatePlainTextUMLSProcessor and noticing that > > cTAKES is not handling fractions for medication dosage correctly. For > > example=2C "Benadryl 1/2 tsp 3 times daily" > > produces a MedicationMention with a dosage of 2. Having tried differen= t > > fractions (1/2=2C 1/3=2C 2/4=2C etc.)=2C apparently the dosage is alway= s 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 = --_54b8424a-f4b7-4fc5-ab44-f7bf5f496260_--