Event Annotation¶
Structural annotation type representing events, often used in new media contexts for things such as tweets, chat messages and forum posts (as defined by a user-defined set definition). Note that a more linguistic kind of event annotation can be accomplished with Entity Annotation or even Time Segmentation rather than this one.
Specification¶
Annotation Category: | |
---|---|
Declaration: |
|
Version History: | |
since v0.7 |
|
Element: |
|
API Class: |
|
Required Attributes: | |
Optional Attributes: | |
|
|
Accepted Data: |
|
Valid Context: |
|
Feature subsets (extra attributes): | |
|
Explanation¶
Event structure, though uncommon to regular written text, can be useful in certain documents. Divisions, paragraphs, sentences, or even words can be encapsulated in an event element to indicate they somehow form an event entity of a particular class. This kind of structure annotation is especially useful in dealing with computer-mediated communication such as chat logs, tweets, and internet fora, in which chat turns, forum posts, and tweets can be demarcated as particular events.
The event class predefines some feature subsets you can use (you can use these as XML attributes, see Features
for more information on features); the subsets begindatetime
and enddatetime
can be
used express to the exact moment at which an event started or ended. Note that
this differs from the common datetime
attribute, which would describe
the time at which the annotation was recorded, rather than when the event took
place! The actor
subset is used to associate the person responsible for the event, i.e. the speaker or poster.
For more fine-grained control over timed events, for example within sentences. It is recommended to use Time Segmentation!
Example¶
The following example shows a chat log composed of message events:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | <?xml version="1.0" encoding="utf-8"?> <FoLiA xmlns="http://ilk.uvt.nl/folia" version="2.0" xml:id="example"> <metadata> <annotations> <text-annotation> <annotator processor="p1" /> </text-annotation> <event-annotation set="adhoc"> <annotator processor="p1" /> </event-annotation> <sentence-annotation> <annotator processor="p1" /> </sentence-annotation> </annotations> <provenance> <processor xml:id="p1" name="proycon" type="manual" /> </provenance> </metadata> <text xml:id="example.text"> <event class="message" begindatetime="2011-12-15T19:01" enddatetime="2011-12-15T19:05" actor="Jane Doe"> <s> <t>Hello John.</t> </s> <s> <t>How are you doing?</t> </s> </event> <event class="message" begindatetime="2011-12-15T19:06" actor="John Doe"> <s> <t>I am fine Jane, thanks.</t> </s> </event> </text> </FoLiA> |