Skip to content

Commit 06aebd1

Browse files
committed
leave @n=0 implicit and add a corresponding remark
1 parent 5baa22d commit 06aebd1

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

P5/Source/Guidelines/en/AI-AnalyticMechanisms.xml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,7 @@ sake of readability).
12151215
last, tenth, column can be used for miscellaneous information, such as
12161216
whether or not there is space to add after the token when joining them.
12171217
Empty columns are marked with <code>_</code>. Note that, by convention,
1218-
the index for the unrepresented, <soCalled>virtual</soCalled> root node
1218+
the index for the unrepresented, <soCalled>virtual</soCalled>, root node
12191219
is 0.</p>
12201220
<p>A graphical rendition of this example is given below in terms of an
12211221
annotated dependency graph.</p>
@@ -1233,17 +1233,17 @@ sake of readability).
12331233
<ident type="class">att.linguistic.dependency</ident> classes, the
12341234
above example can be encoded as follows:
12351235
<egXML xmlns="http://www.tei-c.org/ns/Examples">
1236-
<s n="0">
1236+
<s>
12371237
<w n="1" head="2" deprel="nsubj" pos="PRON" lemma="they">They</w>
12381238
<w n="2" head="0" deprel="root" pos="VERB" lemma="buy">buy</w>
12391239
<w n="3" head="2" deprel="obj" pos="NOUN" lemma="book" join="right">books</w>
12401240
<pc n="4" head="2" deprel="punct" pos="PUNCT" lemma=".">.</pc>
12411241
</s>
12421242
</egXML>
12431243
Here, the <att>n</att> attribute represents the node index of the
1244-
tokens marked up with <gi>w</gi> and <gi>pc</gi> elements; the node
1245-
index <val>0</val> for the root is given on the parent <gi>s</gi>
1246-
element. Dependency relations are encoded by means of <att>head</att>
1244+
tokens marked up with <gi>w</gi> and <gi>pc</gi> elements; the
1245+
index <val>0</val> for the <soCalled>virtual</soCalled> root node is left
1246+
implicit. Dependency relations are encoded by means of <att>head</att>
12471247
attributes of <gi>w</gi> and <gi>pc</gi> elements in terms of the node
12481248
index of their syntactic head. Labels for the types of the dependency
12491249
relation are provided as the value of the <att>deprel</att> attributes on
@@ -1277,7 +1277,7 @@ sake of readability).
12771277
<p>For convenience, those additional arcs are rendered as curves.</p>
12781278
<p>The above example may be encoded as follows:
12791279
<egXML xmlns="http://www.tei-c.org/ns/Examples">
1280-
<s n="0">
1280+
<s>
12811281
<w n="1" head="2 4" deprel="nsubj nsubj" pos="PRON PRP" msd="Case=Nom|Number=Plur" lemma="they">They</w>
12821282
<w n="2" head="0" deprel="root" pos="VERB VBP" msd="Number=Plur|Person=3|Tense=Pres" lemma="buy">buy</w>
12831283
<w n="3" head="4" deprel="cc" pos="CCONJ CC" lemma="and">and</w>

P5/Source/Specs/att.linguistic.dependency.xml

+9-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<exemplum xml:lang="en">
2525
<p>Universal Dependency (UD) annotation of the English sentence <q>They buy books.</q>.</p>
2626
<egXML xmlns="http://www.tei-c.org/ns/Examples">
27-
<s n="0">
27+
<s>
2828
<w n="1" head="2" deprel="nsubj" pos="PRON" lemma="they">They</w>
2929
<w n="2" head="0" deprel="root" pos="VERB" lemma="buy">buy</w>
3030
<w n="3" head="2" deprel="obj" pos="NOUN" lemma="book" join="right">books</w>
@@ -36,7 +36,7 @@
3636
<p>Universal Dependency (UD) annotation of the English sentence <q>They
3737
buy and sell books.</q>.</p>
3838
<egXML xmlns="http://www.tei-c.org/ns/Examples">
39-
<s n="0">
39+
<s>
4040
<w n="1" head="2 4" deprel="nsubj nsubj" pos="PRON PRP" msd="Case=Nom|Number=Plur" lemma="they">They</w>
4141
<w n="2" head="0" deprel="root" pos="VERB VBP" msd="Number=Plur|Person=3|Tense=Pres" lemma="buy">buy</w>
4242
<w n="3" head="4" deprel="cc" pos="CCONJ CC" lemma="and">and</w>
@@ -47,7 +47,13 @@
4747
</egXML>
4848
</exemplum>
4949
<remarks xml:lang="en" versionDate="2025-03-13">
50-
<p>The following table summarises the serialisation choices for the CoNLL-U format in TEI XML.
50+
<p>In the UD examples above, a <att>head</att> value of <val>0</val> by
51+
convention refers to an unrepresented, <soCalled>virtual</soCalled>, root
52+
node. The corresponding <att>deprel</att> value is <val>root</val>. (For
53+
discussion, cf. section <ptr target="#AILADEP"/>.)</p>
54+
</remarks>
55+
<remarks xml:lang="en" versionDate="2025-03-13">
56+
<p>The following table summarises the serialisation choices for UD’s CoNLL-U format in TEI XML.
5157
<table cols="3">
5258
<row role="label">
5359
<cell>CoNLL-U column</cell>

0 commit comments

Comments
 (0)