You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ctakes.apache.org by "Omkar Natu (JIRA)" <ji...@apache.org> on 2015/11/24 22:04:10 UTC

[jira] [Commented] (CTAKES-390) problem in detecting a family memeber

    [ https://issues.apache.org/jira/browse/CTAKES-390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15025399#comment-15025399 ] 

Omkar Natu commented on CTAKES-390:
-----------------------------------

As per your issue I did not get subject = "family member" when I tested for "dad has diabetes". can you provide any details. subject = "patient" in either case for me. can you provide the details of version and also the files other than SubjectClassifier you fixed (if any )

> 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
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> 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)