2 DTD for the format of dictionaries
4 <!ELEMENT dictionary (alphabet?, sdefs?,
8 <!ELEMENT alphabet (#PCDATA)
>
9 <!-- alphabetic character list -->
11 <!ELEMENT sdefs (sdef+)
>
12 <!-- symbol definition section -->
15 <!-- symbol definition -->
20 <!-- n: symbol (tag) name -->
21 <!-- c: symbol (tag) comment -->
23 <!ELEMENT pardefs (pardef+)
>
24 <!-- paradigm definition section -->
26 <!ELEMENT pardef (e+)
>
27 <!-- paradigm definition -->
31 <!-- n: paradigm name -->
33 <!ELEMENT section (e+)
>
34 <!-- dictionary section -->
37 type (standard|inconditional|postblank) #REQUIRED
40 <!-- id: dictionary section identifier -->
41 <!-- type: dictionary section type -->
43 <!ELEMENT e (i | p | par | re)+
>
54 <!-- r: restriction LR: left-to-right,
59 <!-- i: ignore ('yes') means ignore, otherwise it is not ignored) -->
60 <!-- slr: translation sense when translating from left to right -->
61 <!-- srl: translation sense when translating from right to left -->
63 <!-- reference to paradigm -->
68 <!-- n: paradigm name -->
70 <!ELEMENT i (#PCDATA | b | s | g | j | a)*
>
73 <!ELEMENT re (#PCDATA)
>
74 <!-- regular expression identification -->
77 <!-- pair of strings -->
79 <!ELEMENT l (#PCDATA | a | b | g | j | s)*
>
80 <!-- left part of p -->
82 <!ELEMENT r (#PCDATA | a | b | g | j | s)*
>
83 <!-- right part of p -->
86 <!-- post-generator wake-up mark -->
89 <!-- blank chars block mark -->
91 <!ELEMENT g (#PCDATA | a | b | j | s)*
>
92 <!-- mark special groups in lemmas -->
96 <!-- i is used to co-index groups in the left with those -->
97 <!-- on the right of a pair -->
100 <!-- join lexical forms -->
103 <!-- reference to symbol (tag) -->
108 <!-- n: symbol (tag) name -->