Observation Annotation¶
Observation annotation is used to make an observation pertaining to one or more word tokens. Observations offer a an external qualification on part of a text. The qualification is expressed by the class, in turn defined by a set. The precise semantics of the observation depends on the user-defined set.
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¶
Note
Please first ensure you are familiar with the general principles of Span Annotation to make sense of this annotation type.
The <observation>
element is a span annotation element that makes an observation
pertaining to one or more word tokens. It is embedded in an
observations
layer.
Observations offer a an external qualification on part of a text. The qualification is expressed by the class, in turn defined by a set. The precise semantics of the observation depends on the user-defined set.
The element may for example act to mark errors in the text or to capture observations from teachers/proofreaders.
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 | <?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> <observation-annotation set="errordetection"> <!-- an ad-hoc set --> <annotator processor="p2" /> </observation-annotation> </annotations> <provenance> <processor xml:id="p1" name="student" type="manual" /> <processor xml:id="p2" name="teacher" type="manual" /> </provenance> </metadata> <text xml:id="example.text"> <p xml:id="example.p.1"> <s xml:id="example.p.1.s.1"> <t>The Dalai Lama greated him.</t> <w xml:id="example.p.1.s.1.w.1"><t>The</t></w> <w xml:id="example.p.1.s.1.w.2"><t>Dalai</t></w> <w xml:id="example.p.1.s.1.w.3"><t>Lama</t></w> <w xml:id="example.p.1.s.1.w.4"><t>greated</t></w> <w xml:id="example.p.1.s.1.w.5" space="no"><t>him</t></w> <w xml:id="example.p.1.s.1.w.6"><t>.</t></w> <observations> <observation class="typo"> <wref id="example.p.1.s.1.w.4"/> </observation> </observations> </s> </p> </text> </FoLiA> |