Return-Path: X-Original-To: apmail-ctakes-user-archive@www.apache.org Delivered-To: apmail-ctakes-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 771EFF0C2 for ; Thu, 13 Nov 2014 04:57:02 +0000 (UTC) Received: (qmail 8114 invoked by uid 500); 13 Nov 2014 04:57:02 -0000 Delivered-To: apmail-ctakes-user-archive@ctakes.apache.org Received: (qmail 8081 invoked by uid 500); 13 Nov 2014 04:57:02 -0000 Mailing-List: contact user-help@ctakes.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ctakes.apache.org Delivered-To: mailing list user@ctakes.apache.org Received: (qmail 8071 invoked by uid 99); 13 Nov 2014 04:57:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Nov 2014 04:57:02 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mansour.alakeel@gmail.com designates 209.85.192.46 as permitted sender) Received: from [209.85.192.46] (HELO mail-qg0-f46.google.com) (209.85.192.46) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Nov 2014 04:56:36 +0000 Received: by mail-qg0-f46.google.com with SMTP id i50so9822628qgf.5 for ; Wed, 12 Nov 2014 20:55:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=oqByHqoQflS6qpU2c88abd4qVBhcMrjxgax8LaOwyks=; b=aZ85vFjVFPAjU1KzkNpt/N1lO4l8VCzlOJGyEKa586AqI8ZqV8Wl6FeNob0PTqNQLI GKH6O3c00LIOkzZ2oBTFvRAuA8owVwMBSLkyYHMjynO1fWoH+pioCD6zlP9c1X+YWda5 X97Tl6frwRf1KrBo8dG/NEYBunstDgOwD8ORwHJUnEKiB5oUctaIVRTDY+UzlrGHba9W m38ycie/DHJq4EuA4qo54c0TrcsRfdaQVGp7yUDw4D68dhX3zow7eJldbO+SVhPXsRol pAXYVi6Z5ByF/d460AFpo8AZpKvsgvx9i0HTKrGXMyzhRggOj5WQUuMjS+9XGAKIVqkQ yg7A== MIME-Version: 1.0 X-Received: by 10.229.87.202 with SMTP id x10mr200099qcl.23.1415854550549; Wed, 12 Nov 2014 20:55:50 -0800 (PST) Received: by 10.96.58.227 with HTTP; Wed, 12 Nov 2014 20:55:50 -0800 (PST) In-Reply-To: <31062c$9bsjp5@ironport10.mayo.edu> References: <31062c$9bsjp5@ironport10.mayo.edu> Date: Wed, 12 Nov 2014 23:55:50 -0500 Message-ID: Subject: Re: MedicationMention for Acetaminophen From: Mansour Al Akeel To: user Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org James, This was the problem. It's resolved now. Thank you a lot for your help. On Mon, Nov 10, 2014 at 4:04 PM, Masanz, James J. wrote: > Within the output, within MedicationMention there is > org.apache.ctakes.typesystem.type.refsem.OntologyConcept > > Within that, there is an attribute called "code" > If you see code = "C7777777", then you are using a small sample dictionary that is included in cTAKES only for very basic illustration purposes, and you should try using AggregatePlainTextUMLSProcessor.xml instead of AggregatePlainTextProcessor.xml > > If that is not the problem, please tell us if you have checked cTAKES out from SVN or if you are have downloaded and are using the binary or source distribution, and which release (such as 3.1.1). > > Regards, > James > > > -----Original Message----- > From: Mansour Al Akeel [mailto:mansour.alakeel@gmail.com] > Sent: Saturday, November 08, 2014 2:03 AM > To: user > Subject: MedicationMention for Acetaminophen > > I am trying to experiment with the annotations for drugs using > AggregatePlainTextProcessor.xml > > I copied some text from the web > http://www.babycenter.com/404_whats-the-difference-between-acetaminophen-and-ibuprofen_12377.bc > to test it. > > > The following text: > > Acetaminophen and ibuprofen are both good medicines, and both provide > the same basic relief from fever and pain, even though they have > different chemical structures and side effects. Ibuprofen is > recommended only for kids 6 months and older. > > > results in ibuprofen being recognized but not Acetaminophen. > > I checked user FAQ http://ctakes.apache.org/user-faqs.html, and found : > > Why doesn't my UMLS term get indentified by the system but it exists > in SNOMEDCT/RxNorm? > > The Dictionary Lookup that you are using filters out terms that don't > have tui codes registered in the > resources/org/apache/ctakes/dictionary/lookup/LookupDesc_Db.xml file. > Edit that file and add "{TUI}" to the value list for > "{semanticGroup}Tuis" property as below: For Example: > > < property key="semanticGroupTuis" value="{TUIS}" /> > > within < lookupConsumer > className="org.apache.ctakes.dictionary.lookup.ae.UmlsToSnomedDbConsumerImpl" >> > > Unforetunately there was no such property anywhere in the file. > > A similar thread > http://mail-archives.apache.org/mod_mbox/ctakes-dev/201406.mbox/%3C162a581621c64333b7ddc4ef9581304a@BL2PR08MB516.namprd08.prod.outlook.com%3E > > suggested replacing > > className="org.apache.ctakes.dictionary.lookup.ae.OrangeBookFilterConsumerImpl"> > > with > > className="org.apache.ctakes.dictionary.lookup.ae.NamedEntityLookupConsumerImpl"> > > in the resources/org/apache/ctakes/dictionary/lookup/LookupDesc.xml > > Again, no luck. > > Any idea ?