Python LMF library
 All Classes Namespaces Files Functions Variables
range.py
Go to the documentation of this file.
1 #! /usr/bin/env python
2 
3 """! @package common
4 """
5 
6 ## Possible values allowed for LMF part of speech LexicalEntry attribute
7 partOfSpeech_range = set([
8  "adjective", # http://www.isocat.org/datcat/DC-1230
9  "adposition", # http://www.isocat.org/datcat/DC-1231
10  "adverb", # http://www.isocat.org/datcat/DC-1232
11  "affirmative particle", # http://www.isocat.org/datcat/DC-1918
12  "affix", # http://www.isocat.org/datcat/DC-1234
13  "article", # http://www.isocat.org/datcat/DC-1892
14  "auxiliary", # http://www.isocat.org/datcat/DC-1244
15  "bitransitive verb", # http://www.isocat.org/datcat/DC-1275
16  "classifier", # http://www.isocat.org/datcat/DC-2345
17  "comparative particle", # http://www.isocat.org/datcat/DC-1922
18  "conditional particle", # http://www.isocat.org/datcat/DC-2230
19  "conjunction", # http://www.isocat.org/datcat/DC-1260
20  "coordinating conjunction", # http://www.isocat.org/datcat/DC-1262
21  "declarative punctuation", # http://www.isocat.org/datcat/DC-2086
22  "demonstrative determiner", # http://www.isocat.org/datcat/DC-1269
23  "determiner", # http://www.isocat.org/datcat/DC-1272
24  "existential pronoun", # http://www.isocat.org/datcat/DC-3012
25  "ideophone", # http://www.isocat.org/datcat/DC-4192
26  "impersonal verb", # http://www.isocat.org/datcat/DC-1306
27  "indefinite determiner", # http://www.isocat.org/datcat/DC-1307
28  "interjection", # http://www.isocat.org/datcat/DC-1318
29  "interrogative determiner", # http://www.isocat.org/datcat/DC-1320
30  "interrogative particle", # http://www.isocat.org/datcat/DC-1921
31  "intransitive verb", # http://www.isocat.org/datcat/DC-1322
32  "modal", # http://www.isocat.org/datcat/DC-1329
33  "negation", # http://www.isocat.org/datcat/DC-2313
34  "negative particle", # http://www.isocat.org/datcat/DC-1894
35  "noun", # http://www.isocat.org/datcat/DC-1333
36  "numeral", # http://www.isocat.org/datcat/DC-1334
37  "particle", # http://www.isocat.org/datcat/DC-3372 or http://www.isocat.org/datcat/DC-1342
38  "participle adjective", # http://www.isocat.org/datcat/DC-1598
39  "possessive pronoun", # http://www.isocat.org/datcat/DC-1359
40  "possessive relative pronoun", # http://www.isocat.org/datcat/DC-3005
41  "postposition", # http://www.isocat.org/datcat/DC-1360
42  "preposition", # http://www.isocat.org/datcat/DC-1366
43  "presentative pronoun", # http://www.isocat.org/datcat/DC-3015
44  "pronoun", # http://www.isocat.org/datcat/DC-1370
45  "proper noun", # http://www.isocat.org/datcat/DC-1371
46  "reciprocal pronoun", # http://www.isocat.org/datcat/DC-1924
47  "reflexive determiner", # http://www.isocat.org/datcat/DC-1377
48  "reflexive verb", # http://www.isocat.org/datcat/DC-5592
49  "relative determiner", # http://www.isocat.org/datcat/DC-1379
50  "time noun", # http://www.isocat.org/datcat/DC-3855
51  "transitive verb", # http://www.isocat.org/datcat/DC-1405
52  "verb" # http://www.isocat.org/datcat/DC-1424
53 ])
54 
55 ## Possible values allowed for LMF variant type FormRepresentation attribute
56 type_variant_range = set([
57  "unspecified",
58  "orthography",
59  "phonetics",
60  "archaic"
61 ])
62 
63 ## Possible values allowed for LMF note type Statement attribute
64 noteType_range = set([
65  "comparison",
66  "history",
67  "semantics",
68  "tone",
69  "derivation",
70  "case",
71  "subord",
72  "usage",
73  "comment",
74  "legend",
75  "restriction",
76  "encyclopedic",
77  "anthropology",
78  "discourse",
79  "grammar",
80  "phonology",
81  "question",
82  "sociolinguistics",
83  "general"
84 ])
85 
86 ## Possible values allowed for LMF grammatical number WordForm attribute
87 grammaticalNumber_range = set([
88  "collective",
89  "dual",
90  "paucal",
91  "plural",
92  "quadrial",
93  "singular",
94  "trial"
95 ])
96 
97 ## Possible values allowed for LMF grammatical gender WordForm attribute
98 grammaticalGender_range = set([
99  "common gender",
100  "feminine",
101  "masculine",
102  "neuter"
103 ])
104 
105 ## Possible values allowed for LMF grammatical person WordForm attribute
106 person_range = set([
107  "first person",
108  "second person",
109  "third person"
110 ])
111 
112 ## Possible values allowed for LMF anymacy WordForm attribute
113 anymacy_range = set([
114  "animate",
115  "inanimate",
116  "other anymacy"
117 ])
118 
119 ## Possible values allowed for LMF clusivity WordForm attribute
120 clusivity_range = set([
121  "inclusive",
122  "exclusive"
123 ])
124 
125 ## Possible values allowed for LMF grammatical tense WordForm attribute
126 tense_range = set([
127  "future",
128  "imperfect",
129  "past",
130  "present"
131 ])
132 
133 ## Possible values allowed for LMF voice WordForm attribute
134 voice_range = set([
135  "active voice",
136  "middle voice",
137  "passive voice"
138 ])
139 
140 ## Possible values allowed for LMF verb form mood WordForm attribute
141 verbFormMood_range = set([
142  "gerundive",
143  "imperative",
144  "indicative",
145  "infinitive",
146  "participle",
147  "subjunctive",
148  "conditional",
149  "relative mood",
150  "prohibitive mood",
151  "debitive mood"
152 ])
153 
154 ## Possible values allowed for LMF degree WordForm attribute
155 degree_range = set([
156  "comparative degree",
157  "positive degree",
158  "superlative degree"
159 ])
160 
161 ## Possible values allowed for semantic relation RelatedForm attribute
162 semanticRelation_range = set([
163  "synonym",
164  "antonym",
165  "homonym",
166  "etymology",
167  "subentry",
168  "main entry",
169  "simple link",
170  "complex predicate",
171  "derived form",
172  "root",
173  "stem",
174  "collocation"
175 ])
176 
177 ## Possible values allowed for paradigm label Paradigm attribute
178 paradigmLabel_range = set([
179  "lexicalized affix",
180  "conjugation class",
181  "past stem",
182  "comitative", "COM",
183  "construction",
184  "directional",
185  "irregularity",
186  "classifier"
187 ])
188 
189 ## Possible values allowed for example type Context attribute
190 type_example_range = set([
191  "proverb",
192  "locution",
193  "example",
194  "combination"
195 ])
196 
197 ## Possible values allowed for media type Material attribute
198 mediaType_range = set([
199  "unspecified",
200  "unknown",
201  "audio",
202  "video",
203  "document",
204  "text",
205  "image",
206  "drawing"
207 ])
208 
209 ## Possible values allowed for quality Audio attribute
210 quality_range = set([
211  "very low",
212  "low",
213  "normal",
214  "good",
215  "very good" # high
216 ])