-
Notifications
You must be signed in to change notification settings - Fork 7
/
Lex0-demo.xml
180 lines (166 loc) · 6.33 KB
/
Lex0-demo.xml
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="Lex0.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="Lex0.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" type="lexicon">
<teiHeader>
<fileDesc>
<titleStmt>
<title>Demonstration of the TEI Lex0 customization</title>
<author>Many authors</author>
</titleStmt>
<publicationStmt>
<p>TEI Guidelines licensing scheme.</p>
</publicationStmt>
<sourceDesc>
<p>Created in electronic form.</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<div n="form">
<entry xml:lang="en" xml:id="on1">
<form type="lemma"><orth>on</orth></form>
<gramGrp>
<gram type="partOfSpeech">prep</gram>
</gramGrp>
</entry>
<entry>
<form type="lemma"><orth>go</orth></form>
<form type="inflected">
<orth>went</orth>
<gramGrp><gram type="grammaticalTense">past</gram></gramGrp>
</form>
</entry>
<entry xml:id="perder" xml:lang="es">
<form type="lemma">
<orth>perder</orth>
</form>
<gramGrp><gram type="partOfSpeech">verb</gram></gramGrp>
<form type="paradigm" subtype="present">
<form type="inflected">
<orth>pierdo</orth>
<gramGrp>
<gram type="person">1</gram>
<gram type="grammaticalNumber">sg</gram>
<gram type="grammaticalMood">indicative</gram>
<gram type="voice">active</gram>
</gramGrp>
</form>
<!-- other inflected forms (of present indicative) here -->
<gramGrp><gram type="grammaticalTense">present</gram></gramGrp>
</form>
<form type="paradigm" subtype="preterite">
<form type="inflected">
<orth>perdí</orth>
<gramGrp>
<gram type="person">1</gram>
<gram type="grammaticalNumber">sg</gram>
<gram type="grammaticalMood">indicative</gram>
<gram type="voice">active</gram>
</gramGrp>
</form>
<gramGrp><gram type="grammaticalTense">preterite</gram></gramGrp>
</form>
</entry>
<entry xml:id="Flussschifffahrt" xml:lang="de" type="compound">
<form type="lemma">
<orth>Flussschifffahrt</orth>
<form type="variant">
<orth>Fluss-Schifffahrt</orth>
</form>
<form type="variant">
<orth notAfter="1996">Flußschifffahrt</orth>
<usg type="time">Vor 1996 Rechtschreibung Reform</usg>
</form>
</form>
<gramGrp><gram type="partOfSpeech">noun</gram></gramGrp>
</entry>
<entry xml:id="courage-heb" xml:lang="heb">
<form type="lemma">
<form type="variant">
<orth notation="menukad">אֹמֶץ</orth> <!-- 'dotted' spelling -->
</form>
<form type="variant">
<orth notation="male">אומץ</orth> <!--full spelling -->
</form>
<pron notation="ipa">ˈomet͜s</pron>
</form>
<gramGrp><gram type="partOfSpeech">noun</gram></gramGrp>
<sense> .... </sense>
</entry>
<entry xml:id="osama1">
<form type="lemma">
<pron notation="ipa">
<seg xml:id="ousma" corresp="#usma #osma">ow."sa.ma</seg>
bɪnˈlaːdn̹</pron>
<form type="variant">
<orth type="transliterated">
<seg xml:id="osma" corresp="#usma #ousma">Osama</seg>
Bin Laden</orth>
</form>
<form type="variant">
<orth type="transliterated">
<seg xml:id="usma" corresp="#osma #ousma">Usama</seg>
Bin Laden</orth>
</form>
</form>
</entry>
<entry xml:id="caramel-en" xml:lang="en-US">
<form type="lemma">
<orth>caramel</orth>
<form type="variant">
<pron notation="ipa">'keɹə"mɛl</pron>
</form>
<form type="variant">
<pron notation="ipa">'kaɹmɫ̩</pron>
</form>
</form>
<gramGrp><gram type="partOfSpeech">noun</gram></gramGrp>
</entry>
<entry xml:id="Oaxaca-MIX" xml:lang="mix" type="compound">
<form type="lemma">
<orth>Ñuu Ntua</orth>
<pron notation="ipa">ɲùùndùá</pron>
<form type="variant" xml:lang="mix-x-YCNY">
<orth>Ntua</orth>
<pron notation="ipa">ndùá</pron>
<usg type="geo">
<placeName>Yucanany</placeName>
</usg>
</form>
</form>
<gramGrp>
<gram type="partOfSpeech">locationNoun</gram>
</gramGrp>
</entry>
</div>
<div n="entry">
<!-- dictScrap is overkill and arguably abused, given its semantics -->
<entry xml:id="VSK.SR.дангубица-3" sortKey="дангубица">
<form type="lemma">
<orth norm="дангубица">да̀нгубица</orth>
</form><dictScrap>,</dictScrap> <gramGrp>
<gram type="partOfSpeech" norm="feminine">f.</gram>
</gramGrp>
</entry>
<!-- a comma by itself won't validate -->
<!-- <entry xml:id="VSK.SR.дангубица" sortKey="дангубица">
<form type="lemma">
<orth norm="дангубица">да̀нгубица</orth>
</form>, <gramGrp>
<gram type="partOfSpeech" norm="feminine">f.</gram>
</gramGrp>
</entry>-->
<!-- this is the ideal solution, but currently it doesn't validate -->
<entry xml:id="VSK.SR.дангубица-2" sortKey="дангубица">
<form type="lemma">
<orth norm="дангубица">да̀нгубица</orth>
</form><pc>,</pc> <gramGrp>
<gram type="partOfSpeech" norm="feminine">f.</gram>
</gramGrp>
</entry>
</div>
</body>
</text>
</TEI>