Statement Annotation¶
Statement annotation, sometimes also refered to as attribution, allows to decompose statements into the source of the statement, the content of the statement, and the way these relate, provided these are made explicit in the text.
Specification¶
Annotation Category: | |
---|---|
Declaration: |
|
Version History: | |
since v1.3 |
|
Element: |
|
API Class: |
|
Layer Element: |
|
Span Role Elements: | |
|
|
Required Attributes: | |
Optional Attributes: | |
|
|
Accepted Data: |
|
Valid Context: |
|
Explanation¶
The span annotation element <statement>
allows to decompose statements into the source of the statement, the content
of the statement, and the way these relate, provided these are made explicit in the text. It can be used to annotate
attribution (who said what etc). The element is used in a <statements>
layer and takes the following span roles:
<hd>
– (required) – The head of the statement is the actual content of the statement; this role spans the words containing the statement.<source>
– (optional) – The source/holder of the statement, assuming it is explicitly expressed in the text.<rel>
– (optional) – The relation between the source of the statement and the statement, this usually encompasses verbs like “to say”, “to think”, or prepositional phrases such as “according to”. (not to be confused with Relation Annotation)
Example¶
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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | <?xml version="1.0" encoding="utf-8"?>
<FoLiA xmlns="http://ilk.uvt.nl/folia" version="2.0" xml:id="example">
<metadata>
<annotations>
<token-annotation set="https://raw.githubusercontent.com/LanguageMachines/uctodata/master/setdefinitions/tokconfig-eng.foliaset.ttl">
<annotator processor="p1" />
</token-annotation>
<text-annotation>
<annotator processor="p1" />
</text-annotation>
<sentence-annotation>
<annotator processor="p1" />
</sentence-annotation>
<paragraph-annotation>
<annotator processor="p1" />
</paragraph-annotation>
<statement-annotation set="attributionset"> <!-- an ad-hoc set -->
<annotator processor="p1" />
</statement-annotation>
</annotations>
<provenance>
<processor xml:id="p1" name="proycon" type="manual" />
</provenance>
</metadata>
<text xml:id="example.text">
<s xml:id="s1">
<w xml:id="s1.w1"><t>They</t></w>
<w xml:id="s1.w2"><t>said</t></w>
<w xml:id="s1.w3"><t>the</t></w>
<w xml:id="s1.w4"><t>hotel</t></w>
<w xml:id="s1.w5"><t>was</t></w>
<w xml:id="s1.w6"><t>a</t></w>
<w xml:id="s1.w7"><t>nightmare</t></w>
<w xml:id="s1.w8"><t>.</t></w>
<statements>
<statement class="said">
<source>
<wref id="s1.w1" />
</source>
<hd>
<wref id="s1.w3" />
<wref id="s1.w4" />
<wref id="s1.w5" />
<wref id="s1.w6" />
<wref id="s1.w7" />
</hd>
<rel>
<wref id="s1.w2" />
</rel>
</statement>
</statements>
</s>
</text>
</FoLiA>
|