Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
170 commits
Select commit Hold shift + click to select a range
3ee94e2
1st step towards defining and describing the dependency att class
bansp Nov 14, 2024
6d0342c
trying to avoid referencing "the last successful build", which obviou…
bansp Nov 14, 2024
3b4271f
another attempt to register the new class
bansp Nov 14, 2024
66a0de7
try on
bansp Nov 14, 2024
9155a01
re-enabling references to the new class now that it has registered
bansp Nov 14, 2024
36f5fa1
Graphic and an attempt at displaying the conllu source
bansp Nov 15, 2024
3c2d6df
beautifying the description
bansp Nov 15, 2024
d64a1d3
bug fix
bansp Nov 15, 2024
18f7068
trying to fix something that is not an error (leading .. in a path)
bansp Nov 16, 2024
854699a
suspect a bug in the Stylesheets' bad-links checker
bansp Nov 16, 2024
6607424
fixes and attempt at styling the table
bansp Nov 16, 2024
dc5e6e8
further fixes
bansp Nov 16, 2024
c8960de
fix...
bansp Nov 16, 2024
0aa76f3
alternative to the table
bansp Nov 17, 2024
9838ae6
added another exemplum, to keep it valid
bansp Nov 17, 2024
e1de009
fix
bansp Nov 17, 2024
c7e8d2a
apparently, it's one exemplum of the given language per attDef, so I …
bansp Nov 17, 2024
bb4f922
trying on
bansp Nov 18, 2024
9a871e5
fine-tuning the display of the comment with the CoNNL-U analysis
bansp Nov 18, 2024
2bc9ee1
more attempts at visual cosmetics
bansp Nov 18, 2024
19d4a59
something is off with rendering html in the specs: removed the "offen…
bansp Nov 18, 2024
b662df5
searching for a way to get the table and the egXML to get processed, …
bansp Nov 18, 2024
2a4bf5b
another try (try.2)
bansp Nov 18, 2024
8d03b82
egXML downstairs now (try.3)
bansp Nov 18, 2024
cd6cfda
drastic cuts and another try (4)
bansp Nov 18, 2024
ba75fa7
separate p elements, try 5
bansp Nov 18, 2024
166f15f
trying to get the table to display try.6
bansp Nov 18, 2024
282c0c2
added an `eg`, with no idea of how it's going to be rendered, try.7
bansp Nov 18, 2024
2184a81
fix to try.7, perhaps
bansp Nov 18, 2024
0027341
more prose
bansp Nov 18, 2024
5e2dbc6
fighting for space
bansp Nov 19, 2024
ee423b4
improved definitions from AN
bansp Nov 25, 2024
7e793d5
preparing for a LingSIG meeting, after which the spec is going to get…
bansp Nov 26, 2024
af7b9fd
- previous additions + table with serialisation
bansp Nov 28, 2024
c4eb010
fix remarks
bansp Nov 28, 2024
d14b35d
Merge pull request #9 from TEIC/dev
bansp Nov 29, 2024
ac34f3f
trying to see if Jenkins errors out because of us (Namespace prefix '…
bansp Nov 29, 2024
d7a6097
remove space before end tags
rettinghaus Nov 25, 2024
ae5ee1a
remove whitespace
rettinghaus Nov 25, 2024
e027efe
compactify specGrps
rettinghaus Jul 16, 2024
dc0abd2
trying to see if Jenkins errors out because of us (Namespace prefix '…
bansp Nov 29, 2024
4250ddb
add more information, still not properly distributed (most of it shou…
bansp Dec 1, 2024
892e303
fix trailing newline
bansp Dec 1, 2024
43ef6b1
sigh, remove the offending leading newline
bansp Dec 1, 2024
e619789
Merge branch 'dev' into lingsig-att.linguistic.dependency (unbreaking…
bansp Dec 2, 2024
7ec3c8d
Merge branch 'lingsig-tests' into lingsig-att.linguistic.dependency t…
bansp Dec 2, 2024
fb921ae
fix some post-merger weirdness
bansp Dec 2, 2024
76ad19e
enable nvdl built upon the new class
bansp Dec 3, 2024
2574ac2
more PI corrections, we're finally there
bansp Dec 3, 2024
dbca91f
Merge pull request #10 from LingSIG/dev
bansp Dec 9, 2024
cd15fb2
Merge pull request #11 from LingSIG/dev
bansp Dec 11, 2024
30173b4
Merge pull request #12 from LingSIG/dev
bansp Jan 8, 2025
450e943
Merge branch 'dev' into lingsig-att.linguistic.dependency
bansp Jan 15, 2025
0566130
Merge branch 'TEIC:dev' into lingsig-att.linguistic.dependency
bansp Jan 21, 2025
07f2aab
Merge branch 'TEIC:dev' into lingsig-att.linguistic.dependency
bansp Jan 26, 2025
51f9b9e
Merge branch 'TEIC:dev' into lingsig-att.linguistic.dependency
bansp Feb 20, 2025
57c3b0f
rework att.linguistic.dependency specification and documentation
nolda Feb 21, 2025
9e511a1
fix filename extension of included graphics
nolda Feb 21, 2025
250a370
fix typos
nolda Feb 21, 2025
dc230dd
set graphics width
nolda Feb 21, 2025
1faeb78
add @join to the att.linguistic.dependency examples
nolda Feb 21, 2025
4dc74d5
fix another typo
nolda Feb 22, 2025
8918f1c
add @join also to the @deprel spec examples
nolda Feb 24, 2025
622f6b5
Merge branch 'TEIC:dev' into lingsig-att.linguistic.dependency
bansp Mar 13, 2025
7e5743d
add <listRef> to att.linguistic.dependency specification
nolda Mar 13, 2025
1cb3ed5
revert datatype of `@lemma`, `@lemmaRef`, and `@msd`
nolda Mar 13, 2025
8b79626
uncomment and update table summarising the serialisation of CoNLL-U i…
nolda Mar 13, 2025
5baa22d
deduplicate examples in att.linguistic.dependency specification
nolda Mar 13, 2025
06aebd1
leave `@n=0` implicit and add a corresponding remark
nolda Mar 13, 2025
ef28d24
add a simple, non-UD, example for annotating dependency relations
nolda Mar 14, 2025
4886183
Merge branch 'TEIC:dev' into lingsig-att.linguistic.dependency
bansp Mar 25, 2025
48d4c17
Merge branch 'TEIC:dev' into lingsig-att.linguistic.dependency
bansp Apr 23, 2025
205e841
Merge branch 'TEIC:dev' into lingsig-att.linguistic.dependency
bansp May 16, 2025
a36477a
Merge branch 'TEIC:dev' into lingsig-att.linguistic.dependency
bansp May 28, 2025
c32b04c
Merge branch 'TEIC:dev' into lingsig-att.linguistic.dependency
bansp Jun 15, 2025
a72353b
fix validation, add vanilla TEI-C schema-association PIs (commented o…
bansp Jun 16, 2025
1885236
Merge branch 'TEIC:dev' into lingsig-att.linguistic.dependency
bansp Jul 11, 2025
842e5f3
revert datatype of `@pos`
nolda Jul 24, 2025
63791db
adapt dependency examples
nolda Aug 1, 2025
eefcf32
invert the direction of arcs in dependency examples
nolda Aug 1, 2025
e16cf50
Merge branch 'TEIC:dev' into lingsig-att.linguistic.dependency
bansp Aug 30, 2025
757d38a
Merge branch 'TEIC:dev' into lingsig-att.linguistic.dependency
bansp Sep 17, 2025
327607e
Merge branch 'TEIC:dev' into lingsig-att.linguistic.dependency
bansp Sep 19, 2025
0185513
Merge branch 'TEIC:dev' into lingsig-att.linguistic.dependency
bansp Oct 9, 2025
4df4267
Merge branch 'TEIC:dev' into lingsig-att.linguistic.dependency
bansp Nov 24, 2025
7b58d31
introduce @depN, @depR, and @depE
nolda Dec 2, 2025
976cd99
attempt to keep 'mentioned' for natural lang fragments, and 'q' for l…
bansp Dec 3, 2025
c48c503
remove remaining references to obsolete attributes @head and @deprel
nolda Dec 3, 2025
9c97463
remove datatype/@minOccurs and data/type@maxOccurs for @depN, @depR, …
nolda Dec 3, 2025
46ae4a5
add example with empty node
nolda Dec 3, 2025
9dccc99
correction: "1-based", mention frameworks related to UD and link to U…
bansp Dec 3, 2025
606f16a
add a remark which motivates the syntax of @depR
nolda Dec 3, 2025
af73de4
source class correction
bansp Dec 3, 2025
7cd2f79
clean up minor glitches in the spec
nolda Dec 4, 2025
abb94f1
add explanation concerning surface vs. syntactic words, add a warning…
bansp Dec 4, 2025
454fe93
fix gapping example
nolda Dec 4, 2025
5bcaf36
1st step towards defining and describing the dependency att class
bansp Nov 14, 2024
f435518
trying to avoid referencing "the last successful build", which obviou…
bansp Nov 14, 2024
3ef3e1f
another attempt to register the new class
bansp Nov 14, 2024
5497b5f
try on
bansp Nov 14, 2024
20e6223
re-enabling references to the new class now that it has registered
bansp Nov 14, 2024
31afad5
Graphic and an attempt at displaying the conllu source
bansp Nov 15, 2024
0af2747
beautifying the description
bansp Nov 15, 2024
b39be8b
bug fix
bansp Nov 15, 2024
87d8ba8
trying to fix something that is not an error (leading .. in a path)
bansp Nov 16, 2024
bd82651
suspect a bug in the Stylesheets' bad-links checker
bansp Nov 16, 2024
5fdaea2
fixes and attempt at styling the table
bansp Nov 16, 2024
e2d3efe
further fixes
bansp Nov 16, 2024
b3f9c9b
fix...
bansp Nov 16, 2024
1180162
alternative to the table
bansp Nov 17, 2024
d13157f
added another exemplum, to keep it valid
bansp Nov 17, 2024
386b20f
fix
bansp Nov 17, 2024
200034d
apparently, it's one exemplum of the given language per attDef, so I …
bansp Nov 17, 2024
9e9012e
trying on
bansp Nov 18, 2024
3649025
fine-tuning the display of the comment with the CoNNL-U analysis
bansp Nov 18, 2024
050d1e1
more attempts at visual cosmetics
bansp Nov 18, 2024
b8e61fe
something is off with rendering html in the specs: removed the "offen…
bansp Nov 18, 2024
ddba1f2
searching for a way to get the table and the egXML to get processed, …
bansp Nov 18, 2024
f503a9f
another try (try.2)
bansp Nov 18, 2024
ded4840
egXML downstairs now (try.3)
bansp Nov 18, 2024
a6803fc
drastic cuts and another try (4)
bansp Nov 18, 2024
2967662
separate p elements, try 5
bansp Nov 18, 2024
5288fff
trying to get the table to display try.6
bansp Nov 18, 2024
c97033e
added an `eg`, with no idea of how it's going to be rendered, try.7
bansp Nov 18, 2024
e2b5248
fix to try.7, perhaps
bansp Nov 18, 2024
7fde15c
more prose
bansp Nov 18, 2024
ed453e1
fighting for space
bansp Nov 19, 2024
81536c1
improved definitions from AN
bansp Nov 25, 2024
8f07a7c
preparing for a LingSIG meeting, after which the spec is going to get…
bansp Nov 26, 2024
3186365
- previous additions + table with serialisation
bansp Nov 28, 2024
d3754db
fix remarks
bansp Nov 28, 2024
5dfcd3f
trying to see if Jenkins errors out because of us (Namespace prefix '…
bansp Nov 29, 2024
79063ab
compactify specGrps
rettinghaus Jul 16, 2024
0daad7a
add more information, still not properly distributed (most of it shou…
bansp Dec 1, 2024
03072df
fix trailing newline
bansp Dec 1, 2024
672168e
sigh, remove the offending leading newline
bansp Dec 1, 2024
bb87ed4
enable nvdl built upon the new class
bansp Dec 3, 2024
77a8e68
more PI corrections, we're finally there
bansp Dec 3, 2024
d88c4f1
resolving a conflict
bansp Mar 28, 2026
3c35e78
fix filename extension of included graphics
nolda Feb 21, 2025
7a144a4
fix typos
nolda Feb 21, 2025
e172fc3
set graphics width
nolda Feb 21, 2025
b2ca6b1
add @join to the att.linguistic.dependency examples
nolda Feb 21, 2025
f864789
fix another typo
nolda Feb 22, 2025
52612c4
add @join also to the @deprel spec examples
nolda Feb 24, 2025
0ddd33c
add <listRef> to att.linguistic.dependency specification
nolda Mar 13, 2025
70ed590
revert datatype of `@lemma`, `@lemmaRef`, and `@msd`
nolda Mar 13, 2025
fbbe809
uncomment and update table summarising the serialisation of CoNLL-U i…
nolda Mar 13, 2025
ed860a1
deduplicate examples in att.linguistic.dependency specification
nolda Mar 13, 2025
0e42003
leave `@n=0` implicit and add a corresponding remark
nolda Mar 13, 2025
09cea98
add a simple, non-UD, example for annotating dependency relations
nolda Mar 14, 2025
069435a
fix validation, add vanilla TEI-C schema-association PIs (commented o…
bansp Jun 16, 2025
ed70638
revert datatype of `@pos`
nolda Jul 24, 2025
6ab0105
adapt dependency examples
nolda Aug 1, 2025
aa8aa04
invert the direction of arcs in dependency examples
nolda Aug 1, 2025
612797d
introduce @depN, @depR, and @depE
nolda Dec 2, 2025
3ab88b3
attempt to keep 'mentioned' for natural lang fragments, and 'q' for l…
bansp Dec 3, 2025
97feecc
remove remaining references to obsolete attributes @head and @deprel
nolda Dec 3, 2025
38a75ad
remove datatype/@minOccurs and data/type@maxOccurs for @depN, @depR, …
nolda Dec 3, 2025
3a1f265
add example with empty node
nolda Dec 3, 2025
11f1a5e
correction: "1-based", mention frameworks related to UD and link to U…
bansp Dec 3, 2025
6f2ab12
add a remark which motivates the syntax of @depR
nolda Dec 3, 2025
a82a4ee
source class correction
bansp Dec 3, 2025
2160bce
clean up minor glitches in the spec
nolda Dec 4, 2025
f11638b
add explanation concerning surface vs. syntactic words, add a warning…
bansp Dec 4, 2025
4efa3ed
fix gapping example
nolda Dec 4, 2025
21ae92f
All conflicts were resolved. Commit to merge branch 'lingsig-att.ling…
bansp Mar 28, 2026
ded790d
Fixing erroneous conflict resolution
bansp Mar 28, 2026
e190bda
Merge branch 'TEIC:dev' into lingsig-att.linguistic.dependency
bansp Apr 20, 2026
6b8ac4a
Merge branch 'TEIC:dev' into lingsig-att.linguistic.dependency
bansp May 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
395 changes: 280 additions & 115 deletions P5/Source/Guidelines/en/AI-AnalyticMechanisms.xml

Large diffs are not rendered by default.

Binary file added P5/Source/Guidelines/en/Images/dependency1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added P5/Source/Guidelines/en/Images/dependency2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added P5/Source/Guidelines/en/Images/dependency3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added P5/Source/Guidelines/en/Images/dependency4.png

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect this figure would be easier to read if the words lined up under each index number were left-aligned. (The human eye is much better at “popping” back to the same spot it started … it does not like to have to fish around for where a line starts.) This is also true of some other figures, but in those the columns are so short it really doesn’t matter.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
184 changes: 184 additions & 0 deletions P5/Source/Specs/att.linguistic.dependency.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- © TEI Consortium. Dual-licensed under CC-by and BSD2 licenses; see the file COPYING.txt for details. -->
<?xml-model href="https://jenkins-paderborn.tei-c.org/view/LingSIG/job/TEIP5-LingSIG-att.linguistic.dependency/lastSuccessfulBuild/artifact/P5/release/xml/tei/odd/p5.nvdl" type="application/xml" schematypens="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"?>
<!--Note the above PI substitution that enables us to use the added spec file. The original PI is below:
<?xml-model href="https://jenkins.tei-c.org/job/TEIP5-dev/lastSuccessfulBuild/artifact/P5/release/xml/tei/odd/p5.nvdl" type="application/xml" schematypens="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"?>-->
<classSpec xmlns="http://www.tei-c.org/ns/1.0" module="analysis" xml:id="ATTLINGDEP" type="atts" ident="att.linguistic.dependency">
<desc versionDate="2025-12-02" xml:lang="en">provides attributes for
annotating dependency relations between word-level elements.</desc>
<classes/>
<attList>
<attDef ident="depN" usage="opt">
<gloss versionDate="2025-12-02" xml:lang="en">token index</gloss>
<desc versionDate="2025-12-02" xml:lang="en">encodes the token index or index
range of a word-level element in a syntactic dependency relation.</desc>
<datatype><dataRef key="teidata.word"/></datatype>
<valDesc versionDate="2025-12-02" xml:lang="en">is usually an
integer or a hyphen-separated range of integers; for special cases one
may also use specific notations like <val>5.1</val> (cf. the example below).</valDesc>
</attDef>
<attDef ident="depR" usage="opt">
<gloss versionDate="2025-12-02" xml:lang="en">syntactic dependency relation</gloss>
<desc versionDate="2025-12-02" xml:lang="en">encodes a dependency relation
between the element bearing this attribute and its syntactic head in
terms of a pair consisting of the head’s token index and <!-- a label
for --> the type of the dependency relation.</desc>
<datatype><dataRef key="teidata.text"/></datatype>
<valDesc versionDate="2025-12-02" xml:lang="en">should use a colon to
separate the head’s token index and <!-- the label for --> the type of
the dependency relation.</valDesc>
</attDef>
<attDef ident="depE" usage="opt">
<gloss versionDate="2025-12-02" xml:lang="en">enhanced syntactic dependency relations</gloss>
<desc versionDate="2025-12-02" xml:lang="en">encodes enhanced syntactic
dependency relations between the element bearing this attribute and its
syntactic heads in terms of a list of pairs each consisting of the
head’s token index and <!-- a label for --> the type of the dependency
relation.</desc>
<datatype><dataRef key="teidata.text"/></datatype>
<valDesc versionDate="2025-12-02" xml:lang="en">should use a colon to
separate the head’s token index and <!-- the label for --> the type of
the dependency relation, and a pipe symbol as a list-item separator.</valDesc>
</attDef>
</attList>
<exemplum xml:lang="en">
<p>Universal Dependency (UD) annotation of the English sentence <mentioned>She buys
books.</mentioned>.</p>
<egXML xmlns="http://www.tei-c.org/ns/Examples">
<s>
<w depN="1" depR="2:nsubj" pos="PRON" lemma="she">She</w>
<w depN="2" depR="0:root" pos="VERB" lemma="buy">buys</w>
<w depN="3" depR="2:obj" pos="NOUN" lemma="book" join="right">books</w>
<pc depN="4" depR="2:punct" pos="PUNCT" lemma=".">.</pc>
</s>
</egXML>
</exemplum>
<exemplum xml:lang="en">
<p>Universal Dependency (UD) annotation of the English sentence <mentioned>She buys
and sells books.</mentioned>.</p>
<egXML xmlns="http://www.tei-c.org/ns/Examples">
<s>
<w depN="1" depR="2:nsubj" depE="2:nsubj|4:nsubj" pos="PRON PRP" msd="Case=Nom|Gender=Fem|Number=Sing|Person=3|PronType=Prs" lemma="she">She</w>
<w depN="2" depR="0:root" depE="0:root" pos="VERB VBZ" msd="Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin" lemma="buy">buys</w>
<w depN="3" depR="4:cc" depE="4:cc" pos="CCONJ CC" lemma="and">and</w>
<w depN="4" depR="2:conj" depE="0:root|2:conj" pos="VERB VBZ" msd="Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin" lemma="sell">sells</w>
<w depN="5" depR="2:obj" depE="2:obj|4:obj" pos="NOUN NNS" msd="Number=Plur" lemma="book" join="right">books</w>
<pc depN="6" depR="2:punct" depE="2:punct" pos="PUNCT ." lemma=".">.</pc>
</s>
</egXML>
</exemplum>
<exemplum xml:lang="en">
<p>Universal Dependency (UD) annotation of the English sentence
<mentioned>She likes coffee and he tea</mentioned>.</p>
<p>This gapping example shows the difference between basic dependency
relations, here with an elided (absent) second occurrence of
<mentioned>likes</mentioned>, and expanded dependency relations, here
featuring an empty syntactic atom (with token index <val>5.1</val>). (For
the representation of empty nodes in UD, cf.
<ptr target="https://universaldependencies.org/format.html#words-tokens-and-empty-nodes"/>.)</p>
<egXML xmlns="http://www.tei-c.org/ns/Examples">
<s>
<w depN="1" depR="2:nsubj" depE="2:nsubj" pos="PRON" lemma="she">She</w>
<w depN="2" depR="0:root" depE="0:root" pos="VERB" lemma="like">likes</w>
<w depN="3" depR="2:obj" depE="2:obj" pos="NOUN" lemma="coffee">coffee</w>
<w depN="4" depR="5:cc" depE="5.1:cc" pos="CCONJ" lemma="and">and</w>
<w depN="5" depR="2:conj" depE="5.1:nsubj" pos="PRON" lemma="he">he</w>
<w depN="5.1" depE="2:conj" pos="VERB" lemma="like">likes</w>
<w depN="6" depR="5:orphan" depE="5.1:obj" pos="NOUN" lemma="tea" join="right">tea</w>
<pc depN="7" depR="2:punct" depE="5.1:punct" pos="PUNCT" lemma=".">.</pc>
</s>
</egXML>
</exemplum>
<exemplum xml:lang="en">
<p>Universal Dependency (UD) annotation of the German noun phrase <mentioned
xml:lang="de">ein Hotel zum Wohlfühlen</mentioned>.</p>
<p>This example illustrates the handling of a surface word form like
<mentioned>zum</mentioned> (with token index range <val>3-4</val>) which
is analysed here as a contraction of the syntactic atoms <mentioned>zu</mentioned>
and <mentioned>dem</mentioned> (with token indices <val>3</val> and
<val>4</val>). (For the handling of index ranges in UD, cf.
<ptr target="https://universaldependencies.org/format.html#words-tokens-and-empty-nodes"/>.)</p>
<egXML xmlns="http://www.tei-c.org/ns/Examples">
<phr>
<w depN="1" depR="2:det" pos="DET" lemma="eine">ein</w>
<w depN="2" depR="0:root" pos="NOUN" lemma="Hotel">Hotel</w>
<w depN="3-4" type="surface">zum</w>
<w depN="3" depR="5:case" pos="ADP" lemma="zu">zu</w>
<w depN="4" depR="5:det" pos="DET" lemma="die">dem</w>
<w depN="5" depR="2:nmod" pos="NOUN" lemma="Wohlfühlen">Wohlfühlen</w>
</phr>
</egXML>
</exemplum>
<remarks xml:lang="en" versionDate="2025-12-02">
<p>In the UD examples above, a <att>depR</att> value of <val>0:root</val> by
convention refers to an unrepresented, <soCalled>virtual</soCalled>, root
node. (For discussion, cf. section <ptr target="#AILADEP"/>.)</p>
<p>The following table summarises the serialisation choices for UD’s CoNLL-U format in TEI XML.
<table cols="3">
<row role="label">
<cell>CoNLL-U column</cell>
<cell>TEI representation</cell>
<cell>TEI class</cell>
</row>
<row>
<cell><code>ID</code></cell>
<cell><att>depN</att></cell>
<cell><ident type="class">att.linguistic.dependency</ident></cell>
</row>
<row>
<cell><code>FORM</code></cell>
<cell><gi>w</gi> or <gi>pc</gi> content</cell>
<cell><ident type="class">model.segLike</ident></cell>
</row>
<row>
<cell><code>LEMMA</code></cell>
<cell><att>lemma</att></cell>
<cell><ident type="class">att.linguistic</ident></cell>
</row>
<row>
<cell><code>UPOS</code></cell>
<cell><att>pos</att></cell>
<cell><ident type="class">att.linguistic</ident></cell>
</row>
<row>
<cell><code>XPOS</code></cell>
<cell>additional list item in <att>pos</att></cell>
<cell><ident type="class">att.linguistic</ident></cell>
</row>
<row>
<cell><code>FEATS</code></cell>
<cell><att>msd</att></cell>
<cell><ident type="class">att.linguistic</ident></cell>
</row>
<row>
<cell><code>HEAD</code></cell>
<cell><att>depR</att>, part before <code>:</code></cell>
<cell><ident type="class">att.linguistic.dependency</ident></cell>
</row>
<row>
<cell><code>DEPREL</code></cell>
<cell><att>depR</att>, part after <code>:</code></cell>
<cell><ident type="class">att.linguistic.dependency</ident></cell>
</row>
<row>
<cell><code>DEPS</code></cell>
<cell><att>depE</att></cell>
<cell><ident type="class">att.linguistic.dependency</ident></cell>
</row>
<row>
<cell><code>SpaceAfter=No</code> in <code>MISC</code></cell>
<cell><att>join</att> with value <val>right</val></cell>
<cell><ident type="class">att.linguistic</ident></cell>
</row>
</table>
</p>
<p>The syntax of the <code>FEATS</code> and <code>DEPS</code> columns, with
pipe-separated list values, can be used as-is for the values of
<att>msd</att> and <att>depE</att>. The syntax of the items in
<att>depE</att> values, with a colon separating the head’s token index and
the type of the dependency relations, should also be used for <att>depR</att>.</p>
</remarks>
<listRef>
<ptr target="#AILADEP"/>
</listRef>
</classSpec>
12 changes: 6 additions & 6 deletions P5/Source/Specs/att.linguistic.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<desc versionDate="2017-03-24" xml:lang="en">provides a set of attributes concerning linguistic features of tokens, for usage within token-level elements, specifically <gi>w</gi> and <gi>pc</gi> in the analysis module.</desc>
<classes>
<memberOf key="att.lexicographic.normalized"/>
<memberOf key="att.linguistic.dependency"/>
</classes>
<attList>
<attDef ident="lemma" usage="opt">
Expand Down Expand Up @@ -173,12 +174,11 @@
<p>These attributes make it possible to encode simple language corpora and to add a layer of
linguistic information to any tokenized resource. See section <ptr target="#AILALW"/> for
discussion.</p>
<p>These guidelines provide no semantic basis or suggested
precedence when both <att>lemma</att> and <att>lemmaRef</att> are
provided. For this reason simultaneous use of both is not
recommended for interchange unless documentation explaining the
use is provided, probably in an ODD customization.</p>
</remarks>
<p>These guidelines provide no semantic basis or suggested precedence when both <att>lemma</att>
and <att>lemmaRef</att> are provided. For this reason simultaneous use of both is not
recommended for interchange unless documentation explaining the use is provided, probably in
an ODD customization.</p>
</remarks>
<listRef>
<ptr target="#AILALW"/>
</listRef>
Expand Down
Loading