-
Notifications
You must be signed in to change notification settings - Fork 2
/
wnxml.dtd
49 lines (35 loc) · 1.45 KB
/
wnxml.dtd
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
<!ELEMENT WNXML (SYNSET+)>
<!ELEMENT SYNSET (ID, ID3?, POS, SYNONYM, ILR*, DEF?, BCS?, USAGE*, SNOTE*, STAMP?, DOMAIN?, SUMO*, NL?, TNL?, ELR*, ELR3*, EQ_NEAR_SYNONYM*, EQ_HYPERNYM*, EQ_HYPONYM*, EKSZ*, VFRAME*)>
<!ELEMENT ID (#PCDATA)>
<!-- Synset ID mapped to Princeton WordNet 3.0 -->
<!ELEMENT ID3 (#PCDATA)>
<!ELEMENT POS (#PCDATA)>
<!ELEMENT SYNONYM (LITERAL*)>
<!ELEMENT LITERAL (#PCDATA | SENSE | LNOTE | NUCLEUS)*>
<!ELEMENT SENSE (#PCDATA)>
<!ELEMENT LNOTE (#PCDATA)>
<!ELEMENT NUCLEUS (#PCDATA)>
<!ELEMENT ILR (#PCDATA | TYPE)*>
<!ELEMENT TYPE (#PCDATA)>
<!ELEMENT DEF (#PCDATA)>
<!ELEMENT BCS (#PCDATA)>
<!ELEMENT USAGE (#PCDATA)>
<!ELEMENT SNOTE (#PCDATA)>
<!ELEMENT STAMP (#PCDATA)>
<!ELEMENT DOMAIN (#PCDATA)>
<!ELEMENT SUMO (#PCDATA | TYPE)*>
<!ELEMENT NL (#PCDATA)>
<!-- "Technical Non-Lexicalized" -->
<!ELEMENT TNL (#PCDATA)>
<!-- External linguistic relations; pointers to ILI synsets with their types (Princeton WordNet 2.0) -->
<!ELEMENT ELR (#PCDATA | TYPE)*>
<!-- External linguistic relations; pointers to ILI synsets with their types (Princeton WordNet 3.0) -->
<!ELEMENT ELR3 (#PCDATA | TYPE)*>
<!-- these 3 are retained for backward compatibility, ELR tag should be used instead -->
<!ELEMENT EQ_NEAR_SYNONYM (#PCDATA)>
<!ELEMENT EQ_HYPERNYM (#PCDATA)>
<!ELEMENT EQ_HYPONYM (#PCDATA)>
<!-- EKSZ dictinary sense id + pointer type -->
<!ELEMENT EKSZ (#PCDATA | TYPE)*>
<!-- verb frame id + pointer type -->
<!ELEMENT VFRAME (#PCDATA | TYPE)*>