Skip to content

Commit

Permalink
Add DTD for TüBa-D/Z.
Browse files Browse the repository at this point in the history
The DTD was semi-automatically generated.
  • Loading branch information
danieldk committed Dec 18, 2014
1 parent 1dfcaee commit 7a684a1
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions resources/dact.qrc
Expand Up @@ -2,6 +2,7 @@
<qresource prefix="/">
<file>dact-espresso.png</file>
<file>dtd/alpino_ds.dtd</file>
<file>dtd/tueba_tree.dtd</file>
<file>stylesheets/tree.xsl</file>
<file>stylesheets/tueba-tree.xsl</file>
<file>stylesheets/bracketed-html.xsl</file>
Expand Down
40 changes: 40 additions & 0 deletions resources/dtd/tueba_tree.dtd
@@ -0,0 +1,40 @@
<!ELEMENT tueba_tree ( node ) >

<!ELEMENT connective EMPTY >
<!ATTLIST connective konn ( aber | als | bevor | nachdem | seitdem | sobald | und | während ) #REQUIRED >
<!ATTLIST connective rel1 NMTOKEN #REQUIRED >
<!ATTLIST connective rel2 ( Result | Temporal | cause | contrast | enable | parallel ) #IMPLIED >

<!ELEMENT ne ( ne | node | word )* >
<!ATTLIST ne span CDATA #IMPLIED >
<!ATTLIST ne type ( GPE | LOC | ORG | OTH | PER ) #REQUIRED >
<!ATTLIST ne xml:id ID #REQUIRED >

<!ELEMENT node ( ne | node | relation | secEdge | splitRelation | word )* >
<!ATTLIST node cat NMTOKEN #IMPLIED >
<!ATTLIST node func NMTOKEN #IMPLIED >
<!ATTLIST node parent IDREF #IMPLIED >
<!ATTLIST node xml:id ID #IMPLIED >

<!ELEMENT relation EMPTY >
<!ATTLIST relation target CDATA #IMPLIED >
<!ATTLIST relation type ( anaphoric | bound | cataphoric | coreferential | expletive | inherent_reflexive | instance ) #REQUIRED >

<!ELEMENT secEdge EMPTY >
<!ATTLIST secEdge cat ( refcontr | refint | refmod | refvc ) #REQUIRED >
<!ATTLIST secEdge parent NMTOKEN #REQUIRED >

<!ELEMENT splitRelation EMPTY >
<!ATTLIST splitRelation target CDATA #REQUIRED >
<!ATTLIST splitRelation type NMTOKEN #FIXED "split_antecedent" >

<!ELEMENT word ( connective | relation | splitRelation )* >
<!ATTLIST word comment CDATA #IMPLIED >
<!ATTLIST word form CDATA #REQUIRED >
<!ATTLIST word func ( - | -- | HD | KONJ | VPT ) #REQUIRED >
<!ATTLIST word lemma CDATA #IMPLIED >
<!ATTLIST word morph CDATA #IMPLIED >
<!ATTLIST word parent NMTOKEN #IMPLIED >
<!ATTLIST word pos CDATA #REQUIRED >
<!ATTLIST word xml:id ID #REQUIRED >

0 comments on commit 7a684a1

Please sign in to comment.