Return-Path: X-Original-To: apmail-ctakes-notifications-archive@www.apache.org Delivered-To: apmail-ctakes-notifications-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 745EC17518 for ; Thu, 19 Nov 2015 15:28:11 +0000 (UTC) Received: (qmail 69770 invoked by uid 500); 19 Nov 2015 15:28:11 -0000 Delivered-To: apmail-ctakes-notifications-archive@ctakes.apache.org Received: (qmail 69637 invoked by uid 500); 19 Nov 2015 15:28:11 -0000 Mailing-List: contact notifications-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 notifications@ctakes.apache.org Received: (qmail 69425 invoked by uid 99); 19 Nov 2015 15:28:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2015 15:28:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E97872C1F51 for ; Thu, 19 Nov 2015 15:28:10 +0000 (UTC) Date: Thu, 19 Nov 2015 15:28:10 +0000 (UTC) From: "alina shapira (JIRA)" To: notifications@ctakes.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CTAKES-390) problem in detecting a family memeber MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 alina shapira created CTAKES-390: ------------------------------------ Summary: problem in detecting a family memeber Key: CTAKES-390 URL: https://issues.apache.org/jira/browse/CTAKES-390 Project: cTAKES Issue Type: Bug Components: ctakes-assertion Affects Versions: 3.2.2 Reporter: alina shapira when parsing a sentence including a family member, the family member not detected if it does not appear as the first word in the sentence. so in "dad ha diabetes" the subject is found to be a family member but in "his dad has diabetes" the subject is the patient himself. looks related to the SubjectAttributeClassifier class in function isFamilyTerm(Annotation arg) need to change the matches statement so that the family keyword may appear not as a first word: .matches(".*(father|dad|mother|mom|bro|sis|sib|cousin|aunt|uncle|grandm|grandp|grandf|" "wife|spouse|husband|child|offspring|progeny|son|daughter|nephew|niece|kin|family).*"); -- This message was sent by Atlassian JIRA (v6.3.4#6332)