/usr/share/lttoolbox/dix.dtd is in lttoolbox-dev 3.3.3~r68466-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | <!--
Copyright (C) 2005 Universitat d'Alacant / Universidad de Alicante
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not <http://www.gnu.org/licenses/>.
DTD for the format of dictionaries
-->
<!ELEMENT dictionary (alphabet?, sdefs?,
pardefs?, section+)>
<!-- root element-->
<!ELEMENT alphabet (#PCDATA)>
<!-- alphabetic character list -->
<!ELEMENT sdefs (sdef+)>
<!-- symbol definition section -->
<!ELEMENT sdef EMPTY>
<!-- symbol definition -->
<!ATTLIST sdef
n ID #REQUIRED
>
<!-- n: symbol (tag) name -->
<!ATTLIST sdef
c CDATA #IMPLIED
>
<!-- c: symbol (tag) comment -->
<!ELEMENT pardefs (pardef+)>
<!-- paradigm definition section -->
<!ELEMENT pardef (e+)>
<!-- paradigm definition -->
<!ATTLIST pardef
n CDATA #REQUIRED
>
<!-- n: paradigm name -->
<!ATTLIST pardef
c CDATA #IMPLIED
>
<!-- c: comment about paradigm -->
<!ELEMENT section (e+)>
<!-- dictionary section -->
<!ATTLIST section
id ID #REQUIRED
type (standard|inconditional|postblank|preblank) #REQUIRED
>
<!-- id: dictionary section identifier -->
<!-- type: dictionary section type -->
<!ELEMENT e (i | p | par | re)+>
<!-- entry -->
<!ATTLIST e
r (LR|RL) #IMPLIED
lm CDATA #IMPLIED
a CDATA #IMPLIED
c CDATA #IMPLIED
i CDATA #IMPLIED
slr CDATA #IMPLIED
srl CDATA #IMPLIED
alt CDATA #IMPLIED
v CDATA #IMPLIED
vl CDATA #IMPLIED
vr CDATA #IMPLIED
>
<!-- r: restriction LR: left-to-right,
RL: right-to-left -->
<!-- lm: lemma -->
<!-- a: author -->
<!-- c: comment -->
<!-- i: ignore ('yes') means ignore, otherwise it is not ignored) -->
<!-- slr: translation sense when translating from left to right -->
<!-- srl: translation sense when translating from right to left -->
<!-- alt: alternative entries are omitted if not selected -->
<!-- v: variant sets (monodix) direction restrictions based on language variant -->
<!-- vl: variant left sets direction restrictions based on language variant for language on left of bidix -->
<!-- vr: variant right sets direction restrictions based on language variant for language on right of bidix -->
<!ELEMENT par EMPTY>
<!-- reference to paradigm -->
<!ATTLIST par
n CDATA #REQUIRED
>
<!-- n: paradigm name -->
<!ELEMENT i (#PCDATA | b | s | g | j | a)*>
<!-- identity -->
<!ELEMENT re (#PCDATA)>
<!-- regular expression identification -->
<!ELEMENT p (l, r)>
<!-- pair of strings -->
<!ELEMENT l (#PCDATA | a | b | g | j | s)*>
<!-- left part of p -->
<!ELEMENT r (#PCDATA | a | b | g | j | s)*>
<!-- right part of p -->
<!ELEMENT a EMPTY>
<!-- post-generator wake-up mark -->
<!ELEMENT b EMPTY>
<!-- blank chars block mark -->
<!ELEMENT g (#PCDATA | a | b | j | s)*>
<!-- mark special groups in lemmas -->
<!ATTLIST g
i CDATA #IMPLIED
>
<!-- i is used to co-index groups in the left with those -->
<!-- on the right of a pair -->
<!ELEMENT j EMPTY>
<!-- join lexical forms -->
<!ELEMENT s EMPTY>
<!-- reference to symbol (tag) -->
<!ATTLIST s
n IDREF #REQUIRED
>
<!-- n: symbol (tag) name -->
|