Skip to content

Commit

Permalink
drastic cuts and another try (4)
Browse files Browse the repository at this point in the history
  • Loading branch information
bansp committed Nov 18, 2024
1 parent 8d03b82 commit cd6cfda
Showing 1 changed file with 12 additions and 84 deletions.
96 changes: 12 additions & 84 deletions P5/Source/Specs/att.linguistic.dependency.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,18 @@
to be labeled as <val>root</val>.</desc>
<datatype><dataRef key="teidata.text"/></datatype>
<exemplum xml:lang="en">
<p>(description)</p>
<p>Universal Dependencies analysis of the sentence <q>I had no clue</q>, provided below in the plain text, column-based CoNNL-U format.</p>

<p style="font-family:monospace" xml:space="preserve"># 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>

<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>
Expand Down Expand Up @@ -95,89 +106,6 @@ Build step 'Execute shell' marked build as failure
(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>Universal Dependencies analysis of the sentence <q>I had no clue</q>, provided in the plain text, column-based CoNNL-U format.</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 -->
<table rows="5" cols="10" style="text-align:left; font-family:monospace;margin-left:2em;padding-left:2em">
<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>had</cell>
<cell>have</cell>
<cell>VERB</cell>
<cell>VBP</cell>
<cell>Number=Sing|Person=1|Tense=Past</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-head-src" valid="feasible"><!--
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 _ _
--></egXML>
<!--<p>(description)</p>-->


</exemplum>


</attDef>

</attList>
Expand Down

0 comments on commit cd6cfda

Please sign in to comment.