Skip to content

Commit

Permalink
Graphic and an attempt at displaying the conllu source
Browse files Browse the repository at this point in the history
  • Loading branch information
bansp committed Nov 15, 2024
1 parent 9155a01 commit 36f5fa1
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 7 deletions.
10 changes: 9 additions & 1 deletion P5/Source/Guidelines/en/AI-AnalyticMechanisms.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?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.dependency/lastSuccessfulBuild/artifact/P5/release/xml/tei/odd/p5.nvdl" type="application/xml" schematypens="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"?>
<!--<?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"?>-->
<div xmlns="http://www.tei-c.org/ns/1.0" type="div1" xml:id="AI" n="15"><head>Simple Analytic Mechanisms</head>

<p>This chapter describes a module for associating simple analyses and
Expand Down Expand Up @@ -1196,6 +1196,14 @@ sake of readability).
<specDesc key="att.linguistic.dependency" atts="head deprel"/>
</specList></p>

<p>
<figure xml:id="AILADEP-figure-rs">
<graphic width="450px" url="Images/UD_Ihadnoclue_let-rug-nl.png"/>
<head>Dependency diagram for the sentence "I had no clue", visualised from the CoNLL-U format by the <ref target="https://github.com/rug-compling/conllu-viewer">conllu-viewer</ref> tool.</head>
</figure>
</p>


</div>
<div type="div3" xml:id="AILASP"><head>Spoken Text</head>
<p>The mechanisms proposed in this chapter may also be used to encode
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
76 changes: 71 additions & 5 deletions P5/Source/Specs/att.linguistic.dependency.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?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.dependency/lastSuccessfulBuild/artifact/P5/release/xml/tei/odd/p5.nvdl" type="application/xml" schematypens="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"?>-->
<!--<?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"?>-->
<classSpec xmlns="http://www.tei-c.org/ns/1.0" module="analysis" xml:id="ATTLINGDEP" type="atts" ident="att.linguistic.dependency">
<desc versionDate="2024-11-13" xml:lang="en">provides attributes for annotating dependency relationships between word-level elements.</desc>
<classes/>
Expand All @@ -12,13 +12,79 @@
<datatype><dataRef key="teidata.text"/></datatype>
<exemplum xml:lang="en">
<p>(description)</p>
<egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="ATTLINGDEP-egXML-head1" valid="feasible">
<ab>
<table>
<row>
<cell>1</cell>
<cell>I</cell>
<cell>I</cell>
<cell>PRON</cell>
<cell>PRP</cell>
<cell>Case=Nom|Number=Sing|Person=1</cell>
<cell>2</cell>
<cell>nsubj</cell>
<cell>_</cell>
<cell>_</cell>
</row>
<row>
<cell>2</cell>
<cell>have</cell>
<cell>have</cell>
<cell>VERB</cell>
<cell>VBP</cell>
<cell>Number=Sing|Person=1|Tense=Pres</cell>
<cell>0</cell>
<cell>root</cell>
<cell>_</cell>
<cell>_</cell>
</row>
<row>
<cell>3</cell>
<cell>no</cell>
<cell>no</cell>
<cell>DET</cell>
<cell>DT</cell>
<cell>PronType=Neg</cell>
<cell>4</cell>
<cell>det</cell>
<cell>_</cell>
<cell>_</cell>
</row>

<row>
<cell>4</cell>
<cell>clue</cell>
<cell>clue</cell>
<cell>NOUN</cell>
<cell>NN</cell>
<cell>Number=Sing</cell>
<cell>2</cell>
<cell>obj</cell>
<cell>_</cell>
<cell>SpaceAfter=No</cell>
</row>
<row>
<cell>5</cell>
<cell>.</cell>
<cell>.</cell>
<cell>PUNCT</cell>
<cell>.</cell>
<cell>_</cell>
<cell>2</cell>
<cell>punct</cell>
<cell>_</cell>
<cell>_</cell>
</row>

</table>
</ab>
<egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="ATTLINGDEP-egXML-head1">
<p>
<w n="1" lemma="I" pos="PRON" msd="Case=Nom|Number=Sing|Person=1" head="2" deprel="nsubj">I</w>
<w n="2" lemma="have" pos="VERB" msd="Case=Nom|Number=Sing|Person=1" head="2" deprel="nsubj">have</w>
<w n="3." lemma="no" pos="DET" msd="Case=Nom|Number=Sing|Person=1" head="2" deprel="nsubj">no</w>
<w n="4" lemma="clue" pos="NOUN" msd="Case=Nom|Number=Sing|Person=1" head="2" deprel="nsubj">clue</w>
<w n="5" lemma="." pos="PUNCT" msd="Case=Nom|Number=Sing|Person=1" head="2" deprel="nsubj">.</w>
<w n="3." lemma="no" pos="DET" msd="PronType=Neg" head="2" deprel="nsubj">no</w>
<w n="4" lemma="clue" pos="NOUN" msd="Number=Sing" head="2" deprel="nsubj">clue</w>
<w n="5" lemma="." pos="PUNCT" msd="_" head="2" deprel="nsubj">.</w>
</p>
</egXML>
</exemplum>
Expand Down
2 changes: 1 addition & 1 deletion P5/Source/Specs/att.linguistic.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?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.dependency/lastSuccessfulBuild/artifact/P5/release/xml/tei/odd/p5.nvdl" type="application/xml" schematypens="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"?>
<!--<?xml-model href="https://jenkins-paderborn.tei-c.org/view/LingSIG/job/TEIP5-LingSIG-att.dependency/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="ATTLING" type="atts" ident="att.linguistic">
<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>
Expand Down

0 comments on commit 36f5fa1

Please sign in to comment.