Skip to content

Commit

Permalink
apparently, it's one exemplum of the given language per attDef, so I …
Browse files Browse the repository at this point in the history
…have split them now
  • Loading branch information
bansp committed Nov 17, 2024
1 parent e1de009 commit c7e8d2a
Showing 1 changed file with 72 additions and 70 deletions.
142 changes: 72 additions & 70 deletions P5/Source/Specs/att.linguistic.dependency.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,80 @@
</p>
</egXML>
</exemplum>



<!-- Potential constraints:
@n - can't be "0"
@xpos (if it is added) shouldn't probably be used if @pos is missing
"_" as values? It all depends on how much we want to encode for UD specifically
-->

<!--
# text = I had no clue
1 I I PRON PRP Case=Nom|Number=Sing|Person=1 2 nsubj _ _
2 had have VERB VBP Number=Sing|Person=1|Tense=Past 0 root _ _
3 no no DET DT PronType=Neg 4 det _ _
4 clue clue NOUN NN Number=Sing 2 obj _ SpaceAfter=No
5 . . PUNCT . _ 2 punct _ _
-->



<!--
<p>
<figure xml:id="AILADEP-figure-rs-spec">
<graphic width="450px" url="file://../Guidelines/en/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>
BUILD: Check validity with special-purpose XSL code, looking for bad links etc
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/saxon10he.jar -f antbuilder.xml -DXSL=/var/jenkins_home/jobs/Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet validators
[echo] Run Schematron script (normal part of Guidelines)
[echo] Run Schematron script (Examples in Guidelines marked as valid)
[echo] Run ad hoc XSLT validators
BUILD SUCCESSFUL
Total time: 36 seconds
<Messages>
<WARNING>Schematron warning:
[Test: true()] Location: /TEI[1]/text[1]/body[1]/div[10]/div[2]/div[1]/p[4]/specGrp[1]/elementSpec[1]/exemplum[1]/egXML[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/superEntry[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]</WARNING>
<WARNING>Schematron warning:
[Test: true()] Location: /TEI[1]/text[1]/body[1]/div[10]/div[2]/div[1]/p[4]/specGrp[1]/elementSpec[1]/exemplum[2]/egXML[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/superEntry[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]</WARNING>
<WARNING>Schematron warning:
[Test: true()] Location: /TEI[1]/text[1]/body[1]/div[10]/div[2]/div[1]/p[4]/specGrp[1]/elementSpec[1]/exemplum[3]/egXML[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/superEntry[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]</WARNING>
</Messages>
(grep -q "<ERROR>" ValidatorLog.xml;if [ $? -ne 1 ] ; then echo "Oh dear me. ERROR found";diff ValidatorLog.xml expected-results/ValidatorLog.xml;false; fi)
sh graphics.sh
ERROR FILE DOES NOT EXIST: ../Guidelines/en/Images/UD_Ihadnoclue_let-rug-nl.png
make: *** [Makefile:180: valid] Error 1
Build step 'Execute shell' marked build as failure
-->

</attDef>

<attDef ident="deprel" usage="opt">
<gloss versionDate="2024-11-13" xml:lang="en">dependency relation</gloss>
<desc versionDate="2024-11-13" xml:lang="en">provides a label that classifies the relationship
between the context segment and the segment, at which the "dependency arrow" points
(identified by the attribute <att>head</att>). If the value of <att>head</att> is
<val>0</val>, then the value of <att>deprel</att> must be <val>root</val>.</desc>
<datatype><dataRef key="teidata.text"/></datatype>
<exemplum xml:lang="en">
<p>(description)</p>
<ab>
<!-- this is probably a failed attempt - it may be better to try some kind of raw display, perhaps each previously tabulated line styled as monospace -->
<!-- this is probably a failed attempt - it may be better to try some kind of raw display, perhaps each previously tabulated line styled as monospace -->
<table rows="5" cols="10" style="text-align:left; font-family:monospace">
<row>
<cell>1</cell>
Expand Down Expand Up @@ -93,7 +163,7 @@
</table>
</ab>
<egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="ATTLINGDEP-egXML-head-src">
<!--
<!--
# text = I had no clue
1 I I PRON PRP Case=Nom|Number=Sing|Person=1 2 nsubj _ _
2 had have VERB VBP Number=Sing|Person=1|Tense=Past 0 root _ _
Expand All @@ -104,75 +174,7 @@
--></egXML>
<p>(description)</p>
</exemplum>


<!-- Potential constraints:
@n - can't be "0"
@xpos (if it is added) shouldn't probably be used if @pos is missing
"_" as values? It all depends on how much we want to encode for UD specifically
-->

<!--
# text = I had no clue
1 I I PRON PRP Case=Nom|Number=Sing|Person=1 2 nsubj _ _
2 had have VERB VBP Number=Sing|Person=1|Tense=Past 0 root _ _
3 no no DET DT PronType=Neg 4 det _ _
4 clue clue NOUN NN Number=Sing 2 obj _ SpaceAfter=No
5 . . PUNCT . _ 2 punct _ _
-->



<!--
<p>
<figure xml:id="AILADEP-figure-rs-spec">
<graphic width="450px" url="file://../Guidelines/en/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>
BUILD: Check validity with special-purpose XSL code, looking for bad links etc
ANT_OPTS="-Xss2m -Xmx752m -Djava.awt.headless=true" ant -q -lib Utilities/lib/saxon10he.jar -f antbuilder.xml -DXSL=/var/jenkins_home/jobs/Stylesheets-dev/lastSuccessful/archive/dist/xml/tei/stylesheet validators
[echo] Run Schematron script (normal part of Guidelines)
[echo] Run Schematron script (Examples in Guidelines marked as valid)
[echo] Run ad hoc XSLT validators
BUILD SUCCESSFUL
Total time: 36 seconds
<Messages>
<WARNING>Schematron warning:
[Test: true()] Location: /TEI[1]/text[1]/body[1]/div[10]/div[2]/div[1]/p[4]/specGrp[1]/elementSpec[1]/exemplum[1]/egXML[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/superEntry[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]</WARNING>
<WARNING>Schematron warning:
[Test: true()] Location: /TEI[1]/text[1]/body[1]/div[10]/div[2]/div[1]/p[4]/specGrp[1]/elementSpec[1]/exemplum[2]/egXML[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/superEntry[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]</WARNING>
<WARNING>Schematron warning:
[Test: true()] Location: /TEI[1]/text[1]/body[1]/div[10]/div[2]/div[1]/p[4]/specGrp[1]/elementSpec[1]/exemplum[3]/egXML[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]/superEntry[namespace-uri()='http://www.tei-c.org/ns/Examples'][1]</WARNING>
</Messages>
(grep -q "<ERROR>" ValidatorLog.xml;if [ $? -ne 1 ] ; then echo "Oh dear me. ERROR found";diff ValidatorLog.xml expected-results/ValidatorLog.xml;false; fi)
sh graphics.sh
ERROR FILE DOES NOT EXIST: ../Guidelines/en/Images/UD_Ihadnoclue_let-rug-nl.png

make: *** [Makefile:180: valid] Error 1
Build step 'Execute shell' marked build as failure
-->

</attDef>

<attDef ident="deprel" usage="opt">
<gloss versionDate="2024-11-13" xml:lang="en">dependency relation</gloss>
<desc versionDate="2024-11-13" xml:lang="en">provides a label that classifies the relationship
between the context segment and the segment, at which the "dependency arrow" points
(identified by the attribute <att>head</att>). If the value of <att>head</att> is
<val>0</val>, then the value of <att>deprel</att> must be <val>root</val>.</desc>
<datatype><dataRef key="teidata.text"/></datatype>

</attDef>

Expand Down

0 comments on commit c7e8d2a

Please sign in to comment.