Sense Annotation¶
Sense Annotation allows to assign a lexical semantic sense to a word.
Specification¶
Annotation Category: | |
---|---|
Declaration: |
|
Version History: | |
Since the beginning |
|
Element: |
|
API Class: |
|
Required Attributes: | |
|
|
Optional Attributes: | |
|
|
Accepted Data: |
|
Valid Context: | |
Feature subsets (extra attributes): | |
|
Explanation¶
In semantic sense annotation, the classes will correspond to some kind of lexical unit ID or synset ID.
In vocabularies that make an explicit distinction between lexical units and
synonym sets (synsets), you can use the synset
predefined subset for notation of the
latter. A simpler alternative is to just use two different sets similtaneously (two sense
annotations per item).
You can use Description Annotation to optionally associate a human readable description with the sense annotation (or any other annotation for that matter).
Example¶
The following example shows sense annotations:
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 55 56 | <?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> <sense-annotation set="wordnet"> <!-- an ad-hoc set --> <annotator processor="p1" /> </sense-annotation> <description-annotation> <annotator processor="p1" /> </description-annotation> </annotations> <provenance> <processor xml:id="p1" name="proycon" type="manual" /> </provenance> </metadata> <text xml:id="example.text"> <p xml:id="example.p.1"> <s xml:id="example.p.1.s.2"> <t>I show an example.</t> <w xml:id="example.p.1.s.2.w.1" class="WORD"> <t>I</t> </w> <w xml:id="example.p.1.s.2.w.2" class="WORD"> <t>show</t> <sense class="show%2:39:02::"> <desc>give an exhibition of to an interested audience</desc> </sense> </w> <w xml:id="example.p.1.s.2.w.3" class="WORD"> <t>an</t> </w> <w xml:id="example.p.1.s.2.w.4" class="WORD" space="no"> <t>example</t> <sense class="example%1:09:00::"> <desc>an item of information that is typical of a class or group)</desc> </sense> </w> <w xml:id="example.p.1.s.2.w.5" class="PUNCTUATION"> <t>.</t> </w> </s> </p> </text> </FoLiA> |