You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ctakes.apache.org by Stuti Awasthi <st...@hcl.com> on 2015/08/19 10:53:32 UTC
Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Hi All,
I am a newbee in ctakes so please pardon my ignorance.
I am trying to extract temporal relation between Events-Events and Events-Time. For this I am using cTakes Temporal module via api's. Once I get the temporal relation, I would like to put them in sequence order to understand patients medical history.
Now issue is for most of the relationship(Tlink) between Evenet-Event and Event-Time, I receive a category "Contains". In most of the ctakes related papers, I read that TLInk belongs to "Before, Aftre,Overlap" so what does this "contains" means and how I can utilize this to build user's sequential timeline
Eg:
The MRI scan on admission revealed an impending cord compression at the level of T10.
################ EventEventRelation Annotation Output ###############
EVENT(DocTime) | Relationship Category | Event(Doctime)
scan ( BEFORE ) | CONTAINS | revealed ( BEFORE )
scan ( BEFORE ) | CONTAINS | compression ( BEFORE )
Please suggest.
Thanks &Regards
Stuti Awasthi
::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and other defects.
----------------------------------------------------------------------------------------------------------------------------------------------------
RE: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Posted by John Green <he...@gmail.com>.
I look forward to reading that paper!
JTG
On Fri, Aug 21, 2015 at 6:27 AM, Savova, Guergana
<Gu...@childrens.harvard.edu> wrote:
> Hi Stuti,
> There is code in cTAKES (TimeLanes) that takes all pairwise temporal relations (e.g. CONTAINS, BEFORE, etc.) and the relation of the event to the document creation time (docTimeRel) discovered by the cTAKES temporal modules and derives a timeline. The code to TimeLanes is in the apache ctakes sandbox as "timelineViz" or something like that. It is an older copy and it will be updated soon - there are common libraries in TimeLanes and some other software, and testing all end uses takes some effort. The code is not perfect but it is a start.
> A paper describing the cTAKES temporal relation module will be published here within couple of weeks:
> http://jamia.oxfordjournals.org/content/early/recent/
> You are welcome to use the TimeLanes code for your use case, improve on it and contribute back the improvements! Extracting temporality from text and creating timelines of events is a very challenging task.
> --Guergana
> -----Original Message-----
> From: Stuti Awasthi [mailto:stutiawasthi@hcl.com]
> Sent: Friday, August 21, 2015 2:03 AM
> To: user@ctakes.apache.org
> Subject: RE: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
> Thanks Tim, I understood the difference clearly would like to device an approach to utilize these concepts to prepare sequential event based timeline for the patients.
> It would be helpful if you can point some useful links or suggest your thoughts.
> Thanks &Regards
> Stuti Awasthi
> -----Original Message-----
> From: Miller, Timothy [mailto:Timothy.Miller@childrens.harvard.edu]
> Sent: Wednesday, August 19, 2015 6:30 PM
> To: user@ctakes.apache.org
> Subject: Re: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
> Sounds like an awesome application!
> CONTAINS is similar to OVERLAP but more specific. It means that one event is fully contained inside an event or time expression:
> |--------- a -----------|
> |-----b-------|
> specifically BEGIN(a) <= BEGIN(b) AND END(a) >= END(b)
> whereas OVERLAP is a broader category that just means there is some overlap:
> |--------a----------|
> |-----------b-------|
> is an example of an OVERLAP relation that is not contains.
> Technically CONTAINS is a subset of OVERLAP, but it is one that is so useful and common that we keep it as its own category.
> Tim
> On 08/19/2015 04:53 AM, Stuti Awasthi wrote:
>> Hi All,
>>
>> I am a newbee in ctakes so please pardon my ignorance.
>> I am trying to extract temporal relation between Events-Events and Events-Time. For this I am using cTakes Temporal module via api's. Once I get the temporal relation, I would like to put them in sequence order to understand patients medical history.
>>
>> Now issue is for most of the relationship(Tlink) between Evenet-Event
>> and Event-Time, I receive a category "Contains". In most of the
>> ctakes related papers, I read that TLInk belongs to "Before,
>> Aftre,Overlap" so what does this "contains" means and how I can
>> utilize this to build user's sequential timeline
>>
>> Eg:
>> The MRI scan on admission revealed an impending cord compression at the level of T10.
>>
>> ################ EventEventRelation Annotation Output ###############
>> EVENT(DocTime) | Relationship Category | Event(Doctime)
>> scan ( BEFORE ) | CONTAINS | revealed ( BEFORE )
>> scan ( BEFORE ) | CONTAINS | compression ( BEFORE )
>>
>> Please suggest.
>>
>> Thanks &Regards
>> Stuti Awasthi
>>
>>
>> ::DISCLAIMER::
>> ----------------------------------------------------------------------
>> ----------------------------------------------------------------------
>> --------
>>
>> The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
>> E-mail transmission is not guaranteed to be secure or error-free as
>> information could be intercepted, corrupted, lost, destroyed, arrive
>> late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
>> Views or opinions, if any, presented in this email are solely those of
>> the author and may not necessarily reflect the views or opinions of
>> HCL or its affiliates. Any form of reproduction, dissemination,
>> copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
>> Before opening any email and/or attachments, please check them for viruses and other defects.
>>
>> ----------------------------------------------------------------------
>> ----------------------------------------------------------------------
>> --------
>>
>>
RE: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Posted by Stuti Awasthi <st...@hcl.com>.
Thanks Guergana,
I agree that DocTime can be utilized for rough temporality but still the challenge remains for ordering the such events with same doctime annotation. For example the same example I sent in this thread, "The MRI scan on admission revealed an impending cord compression at the level of T10." ,All the Doctime for the events are identified as "BEFORE" but actually in this case, patient had the cord compression BEFORE MRI scan revealed this. It will be tricky to handle such situations..
Anyways, I have gone through few sections of your document and it helped me to clear my doubts. Thanks. I would defintly like to read the upcoming paper.
Thanks
Stuti Awasthi
________________________________________
From: Savova, Guergana [Guergana.Savova@childrens.harvard.edu]
Sent: Saturday, August 22, 2015 12:25 AM
To: user@ctakes.apache.org
Subject: RE: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
If I understand you correctly, your text does not have mentions of temporal expressions but just events where one event is a container of many other events. If this is the case, the way to position this on a time line is to get the DocTimeRel of the container (BEFORE, OVERLAPS, AFTER the document creation time) and position it accordingly. The events that it contains will be embedded in it. I agree that this provides rough temporality but this is the best that could be done if no concrete dates are provided for events.
More on narrative containers, etc. in this document, section 5:
http://clear.colorado.edu/compsem/documents/THYME%20Guidelines.pdf
Is this making sense? Could you send an example?
--Guergana
-----Original Message-----
From: Stuti Awasthi [mailto:stutiawasthi@hcl.com]
Sent: Friday, August 21, 2015 8:42 AM
To: user@ctakes.apache.org
Subject: RE: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Thanks Guergana,
I have downloaded and build cTakes Timelanes at my end and explored it also. It is a really great tool and it shows that how much effort has been put to develop this.
One of the things which I noticed in Timelanes is if my input doesn't contain any TimeEvent and only contains relation between Events-Events then no Timelane is plotted. What shall be done for such cases ?
Thanks &Regards
Stuti Awasthi
-----Original Message-----
From: Savova, Guergana [mailto:Guergana.Savova@childrens.harvard.edu]
Sent: Friday, August 21, 2015 5:57 PM
To: user@ctakes.apache.org
Subject: RE: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Hi Stuti,
There is code in cTAKES (TimeLanes) that takes all pairwise temporal relations (e.g. CONTAINS, BEFORE, etc.) and the relation of the event to the document creation time (docTimeRel) discovered by the cTAKES temporal modules and derives a timeline. The code to TimeLanes is in the apache ctakes sandbox as "timelineViz" or something like that. It is an older copy and it will be updated soon - there are common libraries in TimeLanes and some other software, and testing all end uses takes some effort. The code is not perfect but it is a start.
A paper describing the cTAKES temporal relation module will be published here within couple of weeks:
https://urldefense.proofpoint.com/v2/url?u=http-3A__jamia.oxfordjournals.org_content_early_recent_&d=BQIFAg&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=SeLHlpmrGNnJ9mI2WCgf_wwQk9zL4aIrVmfBoSi-j0kfEcrO4yRGmRCJNAr-rCmP&m=-lyFyfLLkAwmcn2CZAWQyyp8UCCXkkPIzUpCPA2x21I&s=Glu83TBTMbtxPT_X4eDtF2uLznglfyj0xuNykUvMSv0&e=
You are welcome to use the TimeLanes code for your use case, improve on it and contribute back the improvements! Extracting temporality from text and creating timelines of events is a very challenging task.
--Guergana
-----Original Message-----
From: Stuti Awasthi [mailto:stutiawasthi@hcl.com]
Sent: Friday, August 21, 2015 2:03 AM
To: user@ctakes.apache.org
Subject: RE: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Thanks Tim, I understood the difference clearly would like to device an approach to utilize these concepts to prepare sequential event based timeline for the patients.
It would be helpful if you can point some useful links or suggest your thoughts.
Thanks &Regards
Stuti Awasthi
-----Original Message-----
From: Miller, Timothy [mailto:Timothy.Miller@childrens.harvard.edu]
Sent: Wednesday, August 19, 2015 6:30 PM
To: user@ctakes.apache.org
Subject: Re: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Sounds like an awesome application!
CONTAINS is similar to OVERLAP but more specific. It means that one event is fully contained inside an event or time expression:
|--------- a -----------|
|-----b-------|
specifically BEGIN(a) <= BEGIN(b) AND END(a) >= END(b)
whereas OVERLAP is a broader category that just means there is some overlap:
|--------a----------|
|-----------b-------|
is an example of an OVERLAP relation that is not contains.
Technically CONTAINS is a subset of OVERLAP, but it is one that is so useful and common that we keep it as its own category.
Tim
On 08/19/2015 04:53 AM, Stuti Awasthi wrote:
> Hi All,
>
> I am a newbee in ctakes so please pardon my ignorance.
> I am trying to extract temporal relation between Events-Events and Events-Time. For this I am using cTakes Temporal module via api's. Once I get the temporal relation, I would like to put them in sequence order to understand patients medical history.
>
> Now issue is for most of the relationship(Tlink) between Evenet-Event
> and Event-Time, I receive a category "Contains". In most of the
> ctakes related papers, I read that TLInk belongs to "Before,
> Aftre,Overlap" so what does this "contains" means and how I can
> utilize this to build user's sequential timeline
>
> Eg:
> The MRI scan on admission revealed an impending cord compression at the level of T10.
>
> ################ EventEventRelation Annotation Output ###############
> EVENT(DocTime) | Relationship Category | Event(Doctime)
> scan ( BEFORE ) | CONTAINS | revealed ( BEFORE )
> scan ( BEFORE ) | CONTAINS | compression ( BEFORE )
>
> Please suggest.
>
> Thanks &Regards
> Stuti Awasthi
>
>
> ::DISCLAIMER::
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> --------
>
> The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
> E-mail transmission is not guaranteed to be secure or error-free as
> information could be intercepted, corrupted, lost, destroyed, arrive
> late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
> Views or opinions, if any, presented in this email are solely those of
> the author and may not necessarily reflect the views or opinions of
> HCL or its affiliates. Any form of reproduction, dissemination,
> copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
> Before opening any email and/or attachments, please check them for viruses and other defects.
>
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> --------
>
>
RE: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Posted by "Savova, Guergana" <Gu...@childrens.harvard.edu>.
If I understand you correctly, your text does not have mentions of temporal expressions but just events where one event is a container of many other events. If this is the case, the way to position this on a time line is to get the DocTimeRel of the container (BEFORE, OVERLAPS, AFTER the document creation time) and position it accordingly. The events that it contains will be embedded in it. I agree that this provides rough temporality but this is the best that could be done if no concrete dates are provided for events.
More on narrative containers, etc. in this document, section 5:
http://clear.colorado.edu/compsem/documents/THYME%20Guidelines.pdf
Is this making sense? Could you send an example?
--Guergana
-----Original Message-----
From: Stuti Awasthi [mailto:stutiawasthi@hcl.com]
Sent: Friday, August 21, 2015 8:42 AM
To: user@ctakes.apache.org
Subject: RE: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Thanks Guergana,
I have downloaded and build cTakes Timelanes at my end and explored it also. It is a really great tool and it shows that how much effort has been put to develop this.
One of the things which I noticed in Timelanes is if my input doesn't contain any TimeEvent and only contains relation between Events-Events then no Timelane is plotted. What shall be done for such cases ?
Thanks &Regards
Stuti Awasthi
-----Original Message-----
From: Savova, Guergana [mailto:Guergana.Savova@childrens.harvard.edu]
Sent: Friday, August 21, 2015 5:57 PM
To: user@ctakes.apache.org
Subject: RE: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Hi Stuti,
There is code in cTAKES (TimeLanes) that takes all pairwise temporal relations (e.g. CONTAINS, BEFORE, etc.) and the relation of the event to the document creation time (docTimeRel) discovered by the cTAKES temporal modules and derives a timeline. The code to TimeLanes is in the apache ctakes sandbox as "timelineViz" or something like that. It is an older copy and it will be updated soon - there are common libraries in TimeLanes and some other software, and testing all end uses takes some effort. The code is not perfect but it is a start.
A paper describing the cTAKES temporal relation module will be published here within couple of weeks:
https://urldefense.proofpoint.com/v2/url?u=http-3A__jamia.oxfordjournals.org_content_early_recent_&d=BQIFAg&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=SeLHlpmrGNnJ9mI2WCgf_wwQk9zL4aIrVmfBoSi-j0kfEcrO4yRGmRCJNAr-rCmP&m=-lyFyfLLkAwmcn2CZAWQyyp8UCCXkkPIzUpCPA2x21I&s=Glu83TBTMbtxPT_X4eDtF2uLznglfyj0xuNykUvMSv0&e=
You are welcome to use the TimeLanes code for your use case, improve on it and contribute back the improvements! Extracting temporality from text and creating timelines of events is a very challenging task.
--Guergana
-----Original Message-----
From: Stuti Awasthi [mailto:stutiawasthi@hcl.com]
Sent: Friday, August 21, 2015 2:03 AM
To: user@ctakes.apache.org
Subject: RE: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Thanks Tim, I understood the difference clearly would like to device an approach to utilize these concepts to prepare sequential event based timeline for the patients.
It would be helpful if you can point some useful links or suggest your thoughts.
Thanks &Regards
Stuti Awasthi
-----Original Message-----
From: Miller, Timothy [mailto:Timothy.Miller@childrens.harvard.edu]
Sent: Wednesday, August 19, 2015 6:30 PM
To: user@ctakes.apache.org
Subject: Re: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Sounds like an awesome application!
CONTAINS is similar to OVERLAP but more specific. It means that one event is fully contained inside an event or time expression:
|--------- a -----------|
|-----b-------|
specifically BEGIN(a) <= BEGIN(b) AND END(a) >= END(b)
whereas OVERLAP is a broader category that just means there is some overlap:
|--------a----------|
|-----------b-------|
is an example of an OVERLAP relation that is not contains.
Technically CONTAINS is a subset of OVERLAP, but it is one that is so useful and common that we keep it as its own category.
Tim
On 08/19/2015 04:53 AM, Stuti Awasthi wrote:
> Hi All,
>
> I am a newbee in ctakes so please pardon my ignorance.
> I am trying to extract temporal relation between Events-Events and Events-Time. For this I am using cTakes Temporal module via api's. Once I get the temporal relation, I would like to put them in sequence order to understand patients medical history.
>
> Now issue is for most of the relationship(Tlink) between Evenet-Event
> and Event-Time, I receive a category "Contains". In most of the
> ctakes related papers, I read that TLInk belongs to "Before,
> Aftre,Overlap" so what does this "contains" means and how I can
> utilize this to build user's sequential timeline
>
> Eg:
> The MRI scan on admission revealed an impending cord compression at the level of T10.
>
> ################ EventEventRelation Annotation Output ###############
> EVENT(DocTime) | Relationship Category | Event(Doctime)
> scan ( BEFORE ) | CONTAINS | revealed ( BEFORE )
> scan ( BEFORE ) | CONTAINS | compression ( BEFORE )
>
> Please suggest.
>
> Thanks &Regards
> Stuti Awasthi
>
>
> ::DISCLAIMER::
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> --------
>
> The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
> E-mail transmission is not guaranteed to be secure or error-free as
> information could be intercepted, corrupted, lost, destroyed, arrive
> late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
> Views or opinions, if any, presented in this email are solely those of
> the author and may not necessarily reflect the views or opinions of
> HCL or its affiliates. Any form of reproduction, dissemination,
> copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
> Before opening any email and/or attachments, please check them for viruses and other defects.
>
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> --------
>
>
RE: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Posted by Stuti Awasthi <st...@hcl.com>.
Thanks Guergana,
I have downloaded and build cTakes Timelanes at my end and explored it also. It is a really great tool and it shows that how much effort has been put to develop this.
One of the things which I noticed in Timelanes is if my input doesn't contain any TimeEvent and only contains relation between Events-Events then no Timelane is plotted. What shall be done for such cases ?
Thanks &Regards
Stuti Awasthi
-----Original Message-----
From: Savova, Guergana [mailto:Guergana.Savova@childrens.harvard.edu]
Sent: Friday, August 21, 2015 5:57 PM
To: user@ctakes.apache.org
Subject: RE: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Hi Stuti,
There is code in cTAKES (TimeLanes) that takes all pairwise temporal relations (e.g. CONTAINS, BEFORE, etc.) and the relation of the event to the document creation time (docTimeRel) discovered by the cTAKES temporal modules and derives a timeline. The code to TimeLanes is in the apache ctakes sandbox as "timelineViz" or something like that. It is an older copy and it will be updated soon - there are common libraries in TimeLanes and some other software, and testing all end uses takes some effort. The code is not perfect but it is a start.
A paper describing the cTAKES temporal relation module will be published here within couple of weeks:
http://jamia.oxfordjournals.org/content/early/recent/
You are welcome to use the TimeLanes code for your use case, improve on it and contribute back the improvements! Extracting temporality from text and creating timelines of events is a very challenging task.
--Guergana
-----Original Message-----
From: Stuti Awasthi [mailto:stutiawasthi@hcl.com]
Sent: Friday, August 21, 2015 2:03 AM
To: user@ctakes.apache.org
Subject: RE: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Thanks Tim, I understood the difference clearly would like to device an approach to utilize these concepts to prepare sequential event based timeline for the patients.
It would be helpful if you can point some useful links or suggest your thoughts.
Thanks &Regards
Stuti Awasthi
-----Original Message-----
From: Miller, Timothy [mailto:Timothy.Miller@childrens.harvard.edu]
Sent: Wednesday, August 19, 2015 6:30 PM
To: user@ctakes.apache.org
Subject: Re: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Sounds like an awesome application!
CONTAINS is similar to OVERLAP but more specific. It means that one event is fully contained inside an event or time expression:
|--------- a -----------|
|-----b-------|
specifically BEGIN(a) <= BEGIN(b) AND END(a) >= END(b)
whereas OVERLAP is a broader category that just means there is some overlap:
|--------a----------|
|-----------b-------|
is an example of an OVERLAP relation that is not contains.
Technically CONTAINS is a subset of OVERLAP, but it is one that is so useful and common that we keep it as its own category.
Tim
On 08/19/2015 04:53 AM, Stuti Awasthi wrote:
> Hi All,
>
> I am a newbee in ctakes so please pardon my ignorance.
> I am trying to extract temporal relation between Events-Events and Events-Time. For this I am using cTakes Temporal module via api's. Once I get the temporal relation, I would like to put them in sequence order to understand patients medical history.
>
> Now issue is for most of the relationship(Tlink) between Evenet-Event
> and Event-Time, I receive a category "Contains". In most of the
> ctakes related papers, I read that TLInk belongs to "Before,
> Aftre,Overlap" so what does this "contains" means and how I can
> utilize this to build user's sequential timeline
>
> Eg:
> The MRI scan on admission revealed an impending cord compression at the level of T10.
>
> ################ EventEventRelation Annotation Output ###############
> EVENT(DocTime) | Relationship Category | Event(Doctime)
> scan ( BEFORE ) | CONTAINS | revealed ( BEFORE )
> scan ( BEFORE ) | CONTAINS | compression ( BEFORE )
>
> Please suggest.
>
> Thanks &Regards
> Stuti Awasthi
>
>
> ::DISCLAIMER::
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> --------
>
> The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
> E-mail transmission is not guaranteed to be secure or error-free as
> information could be intercepted, corrupted, lost, destroyed, arrive
> late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
> Views or opinions, if any, presented in this email are solely those of
> the author and may not necessarily reflect the views or opinions of
> HCL or its affiliates. Any form of reproduction, dissemination,
> copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
> Before opening any email and/or attachments, please check them for viruses and other defects.
>
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> --------
>
>
RE: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Posted by "Savova, Guergana" <Gu...@childrens.harvard.edu>.
Hi Stuti,
There is code in cTAKES (TimeLanes) that takes all pairwise temporal relations (e.g. CONTAINS, BEFORE, etc.) and the relation of the event to the document creation time (docTimeRel) discovered by the cTAKES temporal modules and derives a timeline. The code to TimeLanes is in the apache ctakes sandbox as "timelineViz" or something like that. It is an older copy and it will be updated soon - there are common libraries in TimeLanes and some other software, and testing all end uses takes some effort. The code is not perfect but it is a start.
A paper describing the cTAKES temporal relation module will be published here within couple of weeks:
http://jamia.oxfordjournals.org/content/early/recent/
You are welcome to use the TimeLanes code for your use case, improve on it and contribute back the improvements! Extracting temporality from text and creating timelines of events is a very challenging task.
--Guergana
-----Original Message-----
From: Stuti Awasthi [mailto:stutiawasthi@hcl.com]
Sent: Friday, August 21, 2015 2:03 AM
To: user@ctakes.apache.org
Subject: RE: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Thanks Tim, I understood the difference clearly would like to device an approach to utilize these concepts to prepare sequential event based timeline for the patients.
It would be helpful if you can point some useful links or suggest your thoughts.
Thanks &Regards
Stuti Awasthi
-----Original Message-----
From: Miller, Timothy [mailto:Timothy.Miller@childrens.harvard.edu]
Sent: Wednesday, August 19, 2015 6:30 PM
To: user@ctakes.apache.org
Subject: Re: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Sounds like an awesome application!
CONTAINS is similar to OVERLAP but more specific. It means that one event is fully contained inside an event or time expression:
|--------- a -----------|
|-----b-------|
specifically BEGIN(a) <= BEGIN(b) AND END(a) >= END(b)
whereas OVERLAP is a broader category that just means there is some overlap:
|--------a----------|
|-----------b-------|
is an example of an OVERLAP relation that is not contains.
Technically CONTAINS is a subset of OVERLAP, but it is one that is so useful and common that we keep it as its own category.
Tim
On 08/19/2015 04:53 AM, Stuti Awasthi wrote:
> Hi All,
>
> I am a newbee in ctakes so please pardon my ignorance.
> I am trying to extract temporal relation between Events-Events and Events-Time. For this I am using cTakes Temporal module via api's. Once I get the temporal relation, I would like to put them in sequence order to understand patients medical history.
>
> Now issue is for most of the relationship(Tlink) between Evenet-Event
> and Event-Time, I receive a category "Contains". In most of the
> ctakes related papers, I read that TLInk belongs to "Before,
> Aftre,Overlap" so what does this "contains" means and how I can
> utilize this to build user's sequential timeline
>
> Eg:
> The MRI scan on admission revealed an impending cord compression at the level of T10.
>
> ################ EventEventRelation Annotation Output ###############
> EVENT(DocTime) | Relationship Category | Event(Doctime)
> scan ( BEFORE ) | CONTAINS | revealed ( BEFORE )
> scan ( BEFORE ) | CONTAINS | compression ( BEFORE )
>
> Please suggest.
>
> Thanks &Regards
> Stuti Awasthi
>
>
> ::DISCLAIMER::
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> --------
>
> The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
> E-mail transmission is not guaranteed to be secure or error-free as
> information could be intercepted, corrupted, lost, destroyed, arrive
> late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
> Views or opinions, if any, presented in this email are solely those of
> the author and may not necessarily reflect the views or opinions of
> HCL or its affiliates. Any form of reproduction, dissemination,
> copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
> Before opening any email and/or attachments, please check them for viruses and other defects.
>
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> --------
>
>
RE: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Posted by Stuti Awasthi <st...@hcl.com>.
Thanks Tim, I understood the difference clearly would like to device an approach to utilize these concepts to prepare sequential event based timeline for the patients.
It would be helpful if you can point some useful links or suggest your thoughts.
Thanks &Regards
Stuti Awasthi
-----Original Message-----
From: Miller, Timothy [mailto:Timothy.Miller@childrens.harvard.edu]
Sent: Wednesday, August 19, 2015 6:30 PM
To: user@ctakes.apache.org
Subject: Re: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Sounds like an awesome application!
CONTAINS is similar to OVERLAP but more specific. It means that one event is fully contained inside an event or time expression:
|--------- a -----------|
|-----b-------|
specifically BEGIN(a) <= BEGIN(b) AND END(a) >= END(b)
whereas OVERLAP is a broader category that just means there is some overlap:
|--------a----------|
|-----------b-------|
is an example of an OVERLAP relation that is not contains.
Technically CONTAINS is a subset of OVERLAP, but it is one that is so useful and common that we keep it as its own category.
Tim
On 08/19/2015 04:53 AM, Stuti Awasthi wrote:
> Hi All,
>
> I am a newbee in ctakes so please pardon my ignorance.
> I am trying to extract temporal relation between Events-Events and Events-Time. For this I am using cTakes Temporal module via api's. Once I get the temporal relation, I would like to put them in sequence order to understand patients medical history.
>
> Now issue is for most of the relationship(Tlink) between Evenet-Event
> and Event-Time, I receive a category "Contains". In most of the
> ctakes related papers, I read that TLInk belongs to "Before,
> Aftre,Overlap" so what does this "contains" means and how I can
> utilize this to build user's sequential timeline
>
> Eg:
> The MRI scan on admission revealed an impending cord compression at the level of T10.
>
> ################ EventEventRelation Annotation Output ###############
> EVENT(DocTime) | Relationship Category | Event(Doctime)
> scan ( BEFORE ) | CONTAINS | revealed ( BEFORE )
> scan ( BEFORE ) | CONTAINS | compression ( BEFORE )
>
> Please suggest.
>
> Thanks &Regards
> Stuti Awasthi
>
>
> ::DISCLAIMER::
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> --------
>
> The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
> E-mail transmission is not guaranteed to be secure or error-free as
> information could be intercepted, corrupted, lost, destroyed, arrive
> late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
> Views or opinions, if any, presented in this email are solely those of
> the author and may not necessarily reflect the views or opinions of
> HCL or its affiliates. Any form of reproduction, dissemination,
> copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
> Before opening any email and/or attachments, please check them for viruses and other defects.
>
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> --------
>
>
Re: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Posted by "Miller, Timothy" <Ti...@childrens.harvard.edu>.
Sounds like an awesome application!
CONTAINS is similar to OVERLAP but more specific. It means that one
event is fully contained inside an event or time expression:
|--------- a -----------|
|-----b-------|
specifically BEGIN(a) <= BEGIN(b) AND END(a) >= END(b)
whereas OVERLAP is a broader category that just means there is some overlap:
|--------a----------|
|-----------b-------|
is an example of an OVERLAP relation that is not contains.
Technically CONTAINS is a subset of OVERLAP, but it is one that is so
useful and common that we keep it as its own category.
Tim
On 08/19/2015 04:53 AM, Stuti Awasthi wrote:
> Hi All,
>
> I am a newbee in ctakes so please pardon my ignorance.
> I am trying to extract temporal relation between Events-Events and Events-Time. For this I am using cTakes Temporal module via api's. Once I get the temporal relation, I would like to put them in sequence order to understand patients medical history.
>
> Now issue is for most of the relationship(Tlink) between Evenet-Event and Event-Time, I receive a category "Contains". In most of the ctakes related papers, I read that TLInk belongs to "Before, Aftre,Overlap" so what does this "contains" means and how I can utilize this to build user's sequential timeline
>
> Eg:
> The MRI scan on admission revealed an impending cord compression at the level of T10.
>
> ################ EventEventRelation Annotation Output ###############
> EVENT(DocTime) | Relationship Category | Event(Doctime)
> scan ( BEFORE ) | CONTAINS | revealed ( BEFORE )
> scan ( BEFORE ) | CONTAINS | compression ( BEFORE )
>
> Please suggest.
>
> Thanks &Regards
> Stuti Awasthi
>
>
> ::DISCLAIMER::
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
> The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
> E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,
> lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents
> (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
> Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the
> views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification,
> distribution and / or publication of this message without the prior written consent of authorized representative of
> HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
> Before opening any email and/or attachments, please check them for viruses and other defects.
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
>