ctakes-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuti Awasthi <stutiawas...@hcl.com>
Subject RE: Meaning of "CONTAINS" TLink.. Is it equivalent to Overlap ?
Date Fri, 21 Aug 2015 12:41:42 GMT
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:

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.

-----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 -----------|

specifically BEGIN(a) <= BEGIN(b)  AND END(a) >= END(b)

whereas OVERLAP is a broader category that just means there is some overlap:


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.


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
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> --------
> 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
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> --------

View raw message