blob: 16bd43d30caf2fa79cb3de9cc6bcd555b632812b [file] [log] [blame]
Akrond05e2112016-02-18 15:47:18 +01001/*
Nils Diewald023c6712015-05-21 20:12:30 +00002var menuContent = [
3 ['cnx/c', 'cnx', 'c'],
4 ['mate/c', 'mate', 'c'],
5 ['base/c', 'base', 'c'],
6 ['xip/c', 'xip', 'c'],
7 ['tt/c', 'tt', 'c']
8];
Akrond05e2112016-02-18 15:47:18 +01009*/
Nils Diewald023c6712015-05-21 20:12:30 +000010
11var namedEntities = [
12 ["I-LOC", "I-LOC ", "Location"],
13 ["I-MISC", "I-MISC ", "Miscellaneous"],
14 ["I-ORG", "I-ORG ", "Organization"],
15 ["I-PER", "I-PER ", "Person"]
16];
17
18// http://www.ids-mannheim.de/cosmas2/projekt/referenz/stts/morph.html
19// http://nachhalt.sfb632.uni-potsdam.de/owl-docu/stts.html
20var sttsArray = [
21 // "$.", "$(", "$,"
22 ["ADJA","ADJA ", "Attributive Adjective"],
23 ["ADJD","ADJD ", "Predicative Adjective"],
24 ["ADV","ADV ", "Adverb"],
25 ["APPO","APPO ", "Postposition"],
26 ["APPR","APPR ", "Preposition"],
27 ["APPRART","APPRART ", "Preposition with Determiner"],
28 ["APZR","APZR ","Right Circumposition"],
29 ["ART","ART ", "Determiner"],
30 ["CARD","CARD ", "Cardinal Number"],
31 ["FM","FM ", "Foreign Material"],
32 ["ITJ","ITJ ", "Interjection"],
33 ["KOKOM","KOKOM ", "Comparison Particle"],
34 ["KON","KON ", "Coordinating Conjuncion"],
35 ["KOUI","KOUI ", "Subordinating Conjunction with 'zu'"],
36 ["KOUS","KOUS ", "Subordinating Conjunction with Sentence"],
37 ["NE","NE ", "Named Entity"],
38 ["NN","NN ", "Normal Nomina"],
39 ["PAV", "PAV ", "Pronominal Adverb"],
40 ["PDAT","PDAT ","Attributive Demonstrative Pronoun"],
41 ["PDS","PDS ", "Substitutive Demonstrative Pronoun"],
42 ["PIAT","PIAT ", "Attributive Indefinite Pronoun without Determiner"],
43 ["PIDAT","PIDAT ", "Attributive Indefinite Pronoun with Determiner"],
44 ["PIS","PIS ", "Substitutive Indefinite Pronoun"],
45 ["PPER","PPER ", "Personal Pronoun"],
46 ["PPOSAT","PPOSAT ", "Attributive Possessive Pronoun"],
47 ["PPOSS","PPOSS ", "Substitutive Possessive Pronoun"],
48 ["PRELAT","PRELAT ", "Attributive Relative Pronoun"],
49 ["PRELS","PRELS ", "Substitutive Relative Pronoun"],
50 ["PRF","PRF ", "Reflexive Pronoun"],
51 ["PROAV","PROAV ", "Pronominal Adverb"],
52 ["PTKA","PTKA ","Particle with Adjective"],
53 ["PTKANT","PTKANT ", "Answering Particle"],
54 ["PTKNEG","PTKNEG ", "Negation Particle"],
55 ["PTKVZ","PTKVZ ", "Separated Verbal Particle"],
56 ["PTKZU","PTKZU ", "'zu' Particle"],
57 ["PWAT","PWAT ", "Attributive Interrogative Pronoun"],
58 ["PWAV","PWAV ", "Adverbial Interrogative Pronoun"],
59 ["PWS","PWS ", "Substitutive Interrogative Pronoun"],
60 ["TRUNC","TRUNC ","Truncated"],
61 ["VAFIN","VAFIN ", "Auxiliary Finite Verb"],
Nils Diewald023c6712015-05-21 20:12:30 +000062 ["VAIMP","VAIMP ", "Auxiliary Finite Imperative Verb"],
Akroncff9bac2016-01-25 21:39:38 +010063 ["VAINF","VAINF ", "Auxiliary Infinite Verb"],
Nils Diewald023c6712015-05-21 20:12:30 +000064 ["VAPP","VAPP ", "Auxiliary Perfect Participle"],
65 ["VMFIN","VMFIN ", "Modal Finite Verb"],
66 ["VMINF","VMINF ", "Modal Infinite Verb"],
67 ["VMPP","VMPP ", "Modal Perfect Participle"],
68 ["VVFIN","VVFIN ","Finite Verb"],
69 ["VVIMP","VVIMP ", "Finite Imperative Verb"],
70 ["VVINF","VVINF ", "Infinite Verb"],
71 ["VVIZU","VVIZU ", "Infinite Verb with 'zu'"],
72 ["VVPP","VVPP ", "Perfect Participle"],
73 ["XY", "XY ", "Non-Word"]
74];
75
Akroncff9bac2016-01-25 21:39:38 +010076
Akron113cc1a2016-01-22 21:17:57 +010077// http://www.coli.uni-saarland.de/projects/sfb378/negra-corpus/negra-corpus.html
78// http://www.coli.uni-saarland.de/projects/sfb378/negra-corpus/knoten.html
79var negraNodes = [
80 ["AA", "AA", "superlative phrase with 'am'"],
81 ["AP","AP", "adjektive phrase"],
82 ["AVP","AVP", "adverbial phrase"],
83 ["CAP","CAP", "coordinated adjektive phrase"],
84 ["CAVP","CAVP", "coordinated adverbial phrase"],
85 ["CAC","CAC", "coordinated adposition"],
86 ["CCP","CCP", "coordinated complementiser"],
87 ["CH","CH", "chunk"],
88 ["CNP","CNP", "coordinated noun phrase"],
89 ["CO","CO", "coordination"],
90 ["CPP","CPP", "coordinated adpositional phrase"],
91 ["CS","CS", "coordinated sentence"],
92 ["CVP","CVP", "coordinated verb phrase (non-finite)"],
93 ["CVZ","CVZ", "coordinated zu-marked infinitive"],
94 ["DL","DL", "discourse level constituent"],
95 ["ISU","ISU", "idiosyncratis unit"],
96 ["MPN","MPN", "multi-word proper noun"],
97 ["MTA","MTA", "multi-token adjective"],
98 ["NM","NM", "multi-token number"],
99 ["NP","NP", "noun phrase"],
100 ["PP","PP", "adpositional phrase"],
101 ["QL","QL", "quasi-languag"],
102 ["ROOT","ROOT", "root node"],
103 ["S","S", "sentence"],
104 ["VP","VP", "verb phrase (non-finite)"],
105 ["VZ","VZ", "zu-marked infinitive"]
106];
107
108// http://www.coli.uni-saarland.de/projects/sfb378/negra-corpus/kanten.html
109var negraEdges = [
110 ["AC","AC","adpositional case marker"],
111 ["ADC","ADC","adjective component"],
112 ["AMS","AMS","measure argument of adj"],
113 ["APP","APP","apposition"],
114 ["AVC","AVC","adverbial phrase component"],
115 ["CC","CC","comparative complement"],
116 ["CD","CD","coordinating conjunction"],
117 ["CJ","CJ","conjunct"],
118 ["CM","CM","comparative concjunction"],
119 ["CP","CP","complementizer"],
120 ["DA","DA","dative"],
121 ["DH","DH","discourse-level head"],
122 ["DM","DM","discourse marker"],
123 ["GL","GL","prenominal genitive"],
124 ["GR","GR","postnominal genitive"],
125 ["HD","HD","head"],
126 ["JU","JU","junctor"],
127 ["MC","MC","comitative"],
128 ["MI","MI","instrumental"],
129 ["ML","ML","locative"],
130 ["MNR","MNR","postnominal modifier"],
131 ["MO","MO","modifier"],
132 ["MR","MR","rhetorical modifier"],
133 ["MW","MW","way (directional modifier)"],
134 ["NG","NG","negation"],
135 ["NK","NK","noun kernel modifier"],
136 ["NMC","NMC","numerical component"],
137 ["OA","OA","accusative object"],
138 ["OA2","OA2","second accusative object"],
139 ["OC","OC","clausal object"],
140 ["OG","OG","genitive object"],
141 ["PD","PD","predicate"],
142 ["PG","PG","pseudo-genitive"],
143 ["PH","PH","placeholder"],
144 ["PM","PM","morphological particle"],
145 ["PNC","PNC","proper noun component"],
146 ["RC","RC","relative clause"],
147 ["RE","RE","repeated element"],
148 ["RS","RS","reported speech"],
149 ["SB","SB","subject"],
150 ["SBP","SBP","passivised subject (PP)"],
151 ["SP","SP","subject or predicate"],
152 ["SVP","SVP","separable verb prefix"],
153 ["UC","UC","(idiosyncratic) unit component"],
154 ["VO","VO","vocative"]
155];
156
Nils Diewald023c6712015-05-21 20:12:30 +0000157var mateSttsArray = sttsArray.slice(0);
158mateSttsArray.push(
159 ["<root-POS>","<root-POS>","Root Part of Speech"]
160);
161
Akronb2a09532016-02-16 19:14:42 +0100162var sgbrSttsArray = sttsArray.slice(0);
Akronb3923852016-02-01 16:07:59 +0100163
Akronb2a09532016-02-16 19:14:42 +0100164// Push specific information for Schreibgebrauch
165sgbrSttsArray.push(
166 ["NNE", "NNE", "Normal Nomina with Named Entity"],
167 ["ADVART","ADVART", "Adverb with Article"],
168 ["EMOASC","EMOASC", "ASCII emoticon"],
169 ["EMOIMG","EMOIMG", "Graphic emoticon"],
170 ["ERRTOK","ERRTOK", "Tokenisation Error"],
171 ["HST", "HST", "Hashtag"],
172 ["KOUSPPER","KOUSPPER", "Subordinating Conjunction (with Sentence) with Personal Pronoun"],
173 ["ONO", "ONO", "Onomatopoeia"],
174 ["PPERPPER","PPERPPER", "Personal Pronoun with Personal Pronoun"],
175 ["URL", "URL", "Uniform Resource Locator"],
176 ["VAPPER", "VAPPER", "Finite Auxiliary Verb with Personal Pronoun"],
177 ["VMPPER", "VMPPER", "Fintite Modal Verb with Personal Pronoun"],
178 ["VVPPER", "VVPPER", "Finite Full Verb with Personal Pronoun"],
179 ["AW", "AW", "Interaction Word"],
180 ["ADR", "ADR", "Addressing Term"],
181 ["AWIND", "AWIND", "Punctuation Indicating Addressing Term"],
182 ["ERRAW","ERRAW", "Part of Erroneously Separated Compound"]
183 /*
184 As KorAP currently doesn't support these tags, they could also be ommited
185 ["_KOMMA", "_KOMMA", "Comma"],
186 ["_SONST", "_SONST", "Intrasentential Punctuation Mark"],
187 ["_ENDE", "_ENDE", "Punctuation Mark at the end of the Sentence"]
188 */
189);
190
191// Sort by tag
192sgbrSttsArray.sort(function (a,b) { return a[0].localeCompare(b[0]) });
Akroncff9bac2016-01-25 21:39:38 +0100193
Akron113cc1a2016-01-22 21:17:57 +0100194define(function () {
195 var obj = {
196 "-" : [
Akrond05e2112016-02-18 15:47:18 +0100197 ["Base Annotation", "base/s=", "Structure"],
Akron9b9d09f2017-04-27 20:10:34 +0200198// ["Connexor", "cnx/", "Constituency, Lemma, Morphology, Part-of-Speech, Syntax"],
Akroncff9bac2016-01-25 21:39:38 +0100199 ["CoreNLP", "corenlp/", "Constituency, Named Entities, Part-of-Speech"],
Akrond05e2112016-02-18 15:47:18 +0100200 ["DeReKo", "dereko/s=", "Structure"],
Akronbc609e32017-06-27 15:16:39 +0200201 ["DRuKoLa", "drukola/", "Lemma, Morphology, Part-of-Speech"],
Akron9b9d09f2017-04-27 20:10:34 +0200202// ["Mate", "mate/", "Lemma, Morphology, Part-of-Speech"],
203 ["Malt", "malt/", "Dependency"],
Akroncff9bac2016-01-25 21:39:38 +0100204 ["OpenNLP", "opennlp/", "Part-of-Speech"],
Akron9b9d09f2017-04-27 20:10:34 +0200205// ["Schreibgebrauch", "sgbr/", "Lemma, Lemma Variants, Part-of-Speech"],
Akroncff9bac2016-01-25 21:39:38 +0100206 ["TreeTagger", "tt/", "Lemma, Part-of-Speech"],
Akron9b9d09f2017-04-27 20:10:34 +0200207// ["Xerox Parser", "xip/", "Constituency, Lemma, Part-of-Speech"]
208 ["MarMoT", "marmot/", "Morphology, Part-of-Speech"],
Akron113cc1a2016-01-22 21:17:57 +0100209 ],
Akrond05e2112016-02-18 15:47:18 +0100210 "base/s=" : [
211 ["s", "s", "Sentence"],
212 ["p", "p", "Paragraph"],
213 ["t", "t", "Text"]
214 ],
Akron113cc1a2016-01-22 21:17:57 +0100215 "corenlp/" : [
216 ["Constituency", "c="],
217 ["Named Entity", "ne=" , "Combined"],
218 ["Named Entity", "ne_dewac_175m_600=" , "ne_dewac_175m_600"],
219 ["Named Entity", "ne_hgc_175m_600=", "ne_hgc_175m_600"],
220 ["Part-of-Speech", "p="]
221 ],
222 "corenlp/ne=" : namedEntities,
223 "corenlp/ne_dewac_175m_600=" : namedEntities,
224 "corenlp/ne_hgc_175m_600=" : namedEntities,
225 "corenlp/p=" : sttsArray,
226 "corenlp/c=" : negraNodes,
227 "cnx/" : [
228 ["Constituency", "c="],
229 ["Lemma", "l="],
230 ["Morphology", "m="],
231 ["Part-of-Speech", "p="],
232 ["Syntax", "syn="]
233 ],
234 "cnx/c=" : [
235 ["np", "np ", "Nominal Phrase"]
236 ],
237 // http://www.ids-mannheim.de/cosmas2/projekt/referenz/connexor/morph.html
238 "cnx/m=" : [
239 ["Abbr","Abbr ", "Nouns: Abbreviation"],
240 ["CMP","CMP ", "Adjective: Comparative"],
241 ["IMP", "IMP ", "Mood: Imperative"],
242 ["IND", "IND ", "Mood: Indicative"],
243 ["INF", "INF ", "Infinitive"],
244 ["ORD","ORD ", "Numeral: Ordinal"],
245 ["PAST", "PAST ", "Tense: past"],
246 ["PCP", "PCP ", "Participle"],
247 ["PERF", "PERF ", "Perfective Participle"],
248 ["PL","PL ", "Nouns: Plural"],
249 ["PRES", "PRES ", "Tense: present"],
250 ["PROG", "PROG ", "Progressive Participle"],
251 ["Prop","Prop ", "Nouns: Proper Noun"],
252 ["SUB", "SUB ", "Mood: Subjunctive"],
253 ["SUP","SUP ", "Adjective: Superlative"]
254 ],
255 // http://www.ids-mannheim.de/cosmas2/projekt/referenz/connexor/morph.html
256 "cnx/p=" : [
257 ["A", "A ", "Adjective"],
258 ["ADV", "ADV ", "Adverb"],
259 ["CC", "CC ", "Coordination Marker"],
260 ["CS", "CS ", "Clause Marker"],
261 ["DET", "DET ", "Determiner"],
262 ["INTERJ", "INTERJ ", "Interjection"],
263 ["N", "N ", "Noun"],
264 ["NUM", "NUM ", "Numeral"],
265 ["PREP", "PREP ", "Preposition"],
266 ["PRON", "PRON ", "Pro-Nominal"],
267 ["V", "V ", "Verb"]
268 ],
269 // http://www.ids-mannheim.de/cosmas2/projekt/referenz/connexor/syntax.html
270 "cnx/syn=" : [
271 ["@ADVL", "@ADVL ", "Adverbial Head"],
272 ["@AUX", "@AUX ", "Auxiliary Verb"],
273 ["@CC", "@CC ", "Coordination"]
274 ["@MAIN", "@MAIN ", "Main Verb"],
275 ["@NH", "@NH ", "Nominal Head"],
276 ["@POSTMOD", "@POSTMOD ", "Postmodifier"],
277 ["@PREMARK", "@PREMARK ", "Preposed Marker"],
278 ["@PREMOD", "@POSTMOD ", "Premodifier"]
279 ],
Akronbc609e32017-06-27 15:16:39 +0200280 "drukola/" : [
281 ["Lemma", "l="],
282 ["Morphology", "m="],
283 ["Part-of-Speech", "p="]
284 ],
Akronc22f7a52017-12-15 15:10:09 +0200285 "drukola/m=" : [
286 ["CTAG", "ctag:"]
287 ],
288 "drukola/m=ctag:" : [
289 ["A","A","Adjective"],
290 ["Y","Y","Abbreviation"],
291 ["AN","AN","Adjective, Indefinite"],
292 ["APRY","APRY","Adjective, Plural, Direct, Definite"],
293 ["APN","APN","Adjective, Plural, Indefinite"],
294 ["APOY","APOY","Adjective, Plural, Oblique, Definite"],
295 ["APON","APON","Adjective, Plural, Oblique, Indefinite"],
296 ["ASRY","ASRY","Adjective, Singular, Direct, Definite"],
297 ["ASN","ASN","Adjective, Singular, Indefinite"],
298 ["ASOY","ASOY","Adjective, Singular, Oblique, Definite"],
299 ["ASON","ASON","Adjective, Singular, Oblique, Indefinite"],
300 ["ASVY","ASVY","Adjective, Singular, Vocative, Definite"],
301 ["ASVN","ASVN","Adjective, Singular, Vocative, Indefinite"],
302 ["R","R","Adverb"],
303 ["RC","RC","Adverb, Portmanteau"],
304 ["TS","TS","Article, Definite or Possessive, Singular"],
305 ["TP","TP","Article, Indefinite or Possessive, Plural"],
306 ["TPR","TPR","Article, non-Possessive, Plural, Direct"],
307 ["TPO","TPO","Article, non-Possessive, Plural, Oblique"],
308 ["TSR","TSR","Article, non-Possessive, Singular, Direct"],
309 ["TSO","TSO","Article, non-Possessive, Singular, Oblique"],
310 ["NPRY","NPRY","Common Noun, Plural, Direct, Definite"],
311 ["NPN","NPN","Common Noun, Plural, Indefinite"],
312 ["NPOY","NPOY","Common Noun, Plural, Oblique, Definite"],
313 ["NPVY","NPVY","Common Noun, Plural, Vocative, Definite"],
314 ["NN","NN","Common Noun, singular"],
315 ["NSY","NSY","Common Noun, Singular, Definite"],
316 ["NSRY","NSRY","Common Noun, Singular, Direct, Definite"],
317 ["NSRN","NSRN","Common Noun, Singular, Direct, Indefinite"],
318 ["NSN","NSN","Common Noun, Singular, Indefinite"],
319 ["NSOY","NSOY","Common Noun, Singular, Oblique, Definite"],
320 ["NSON","NSON","Common Noun, Singular, Oblique, Indefinite"],
321 ["NSVY","NSVY","Common Noun, Singular, Vocative, Definite"],
322 ["NSVN","NSVN","Common Noun, Singular, Vocative, Indefinite"],
323 ["CR","CR","Conjunctio, portmanteau"],
324 ["C","C","Conjunction"],
325 ["QF","QF","Future Particle"],
326 ["QN","QN","Infinitival Particle"],
327 ["I","I","Interjection"],
328 ["QZ","QZ","Negative Particle"],
329 ["M","M","Numeral"],
330 ["PP","PP","Personal Pronoun"],
331 ["PPP","PPP","Personal Pronoun, Plural"],
332 ["PPPA","PPPA","Personal Pronoun, Plural, Acc."],
333 ["PPPD","PPPD","Personal Pronoun, Plural, Dative"],
334 ["PPPR","PPPR","Personal Pronoun, Plural, Direct"],
335 ["PPPO","PPPO","Personal Pronoun, Plural, Oblique"],
336 ["PPS","PPS","Personal Pronoun, Singular"],
337 ["PPSA","PPSA","Personal Pronoun, Singular, Accusative"],
338 ["PPSD","PPSD","Personal Pronoun, Singular, Dative"],
339 ["PPSR","PPSR","Personal Pronoun, Singular, Direct"],
340 ["PPSN","PPSN","Personal Pronoun, Singular, Nominative"],
341 ["PPSO","PPSO","Personal Pronoun, Singular, Oblique"],
342 ["S","S","Preposition"],
343 ["DMPR","DMPR","Pronoun or Determiner, Demonstrative, Plural, Direct"],
344 ["DMPO","DMPO","Pronoun or Determiner, Demonstrative, Plural, Oblique"],
345 ["DMSR","DMSR","Pronoun or Determiner, Demonstrative, Singular, Direct"],
346 ["DMSO","DMSO","Pronoun or Determiner, Demonstrative, Singular, Oblique"],
347 ["PS","PS","Pronoun or Determiner, Poss or Emph"],
348 ["PSS","PSS","Pronoun or Determiner, Poss or Emph, Singular"],
349 ["RELR","RELR","Pronoun or Determiner, Relative, Direct"],
350 ["RELO","RELO","Pronoun or Determiner, Relative, Oblique"],
351 ["NP","NP","Proper Noun"],
352 ["PI","PI","Quantifier Pronoun or Determiner"],
353 ["PXA","PXA","Reflexive Pronoun, Accusative"],
354 ["PXD","PXD","Reflexive Pronoun, Dative"],
355 ["X","X","Residual"],
356 ["QS","QS","Subjunctive Particle"],
357 ["VA","VA","Verb, Auxiliary"],
358 ["VA1","VA1","Verb, Auxiliary, 1st person"],
359 ["VA2P","VA2P","Verb, Auxiliary, 2nd person, Plural"],
360 ["VA2S","VA2S","Verb, Auxiliary, 2nd person, Singular"],
361 ["VA3","VA3","Verb, Auxiliary, 3rd person"],
362 ["VA3P","VA3P","Verb, Auxiliary, 3rd person, Plural"],
363 ["VA3S","VA3S","Verb, Auxiliary, 3rd person, Singular"],
364 ["VA1P","VA1P","Verb, Auxiliary,1st person, Plural"],
365 ["VA1S","VA1S","Verb, Auxiliary,1st person, Singular"],
366 ["VG","VG","Verb, Gerund"],
367 ["VN","VN","Verb, Infinitive"],
368 ["V1","V1","Verb, Main, 1st person"],
369 ["V2","V2","Verb, Main, 2nd person"],
370 ["V3","V3","Verb, Main, 3rd person"],
371 ["VPPF","VPPF","Verb, Participle, Plural, Feminine"],
372 ["VPPM","VPPM","Verb, Participle, Plural, Masculine"],
373 ["VPSF","VPSF","Verb, Participle, Singular, Feminine"],
374 ["VPSM","VPSM","Verb, Participle, Singular, Masculine"],
375 ],
Akron113cc1a2016-01-22 21:17:57 +0100376 "opennlp/" : [
377 ["Part-of-Speech", "p="]
378 ],
379 "opennlp/p=" : sttsArray,
Akroncff9bac2016-01-25 21:39:38 +0100380 "sgbr/" : [
381 ["Lemma", "l="],
382 ["Lemma Variants", "lv="],
383 ["Part-of-Speech", "p="]
384 ],
Akronb2a09532016-02-16 19:14:42 +0100385 "sgbr/p=" : sgbrSttsArray,
Akron113cc1a2016-01-22 21:17:57 +0100386 "xip/" : [
387 ["Constituency", "c="],
388 // Inactive: ["Dependency", "d="],
389 ["Lemma", "l="],
390 ["Part-of-Speech", "p="],
391 ],
392 // "xip/c=" : [],
393 // Inactive: "xip/d=" : [],
394 // "xip/p=" : [],
395 "tt/" : [
396 ["Lemma", "l="],
397 ["Part-of-Speech", "p="]
398 ],
399 "tt/p=" : sttsArray,
Akron9b9d09f2017-04-27 20:10:34 +0200400 "marmot/" : [
401 ["Morphology", "m="],
402 ["Part-of-Speech", "p="]
403 ],
404 "marmot/p=" : sttsArray,
405 "malt/" : [
406 ["Dependency", "d="]
407 ],
Akron113cc1a2016-01-22 21:17:57 +0100408 "mate/" : [
409 // Inactive: "d" : ["d=", "Dependency"],
410 ["Lemma", "l="],
411 ["Morphology", "m="],
412 ["Part-of-Speech", "p="]
413 ],
414 // Inactive: mate/d=
415 "mate/p=" : mateSttsArray,
416 "mate/m=" : [
417 ["Case", "case:"],
418 ["Degree", "degree:"],
419 ["Gender", "gender:"],
420 ["Mood", "mood:"],
421 ["Number", "number:"],
422 ["Person", "person:"],
423 ["Tense","tense:"],
424 ["No type", "<no-type> "]
425 ],
Akron9b9d09f2017-04-27 20:10:34 +0200426 "marmot/m=" : [
427 ["Case", "case:"],
428 ["Degree", "degree:"],
429 ["Gender", "gender:"],
430 ["Mood", "mood:"],
431 ["Number", "number:"],
432 ["Person", "person:"],
433 ["Tense","tense:"],
434 ["No type", "<no-type> "]
435 ],
Akron113cc1a2016-01-22 21:17:57 +0100436 "mate/m=case:" : [
437 ["acc", "acc ", "Accusative"],
438 ["dat","dat ", "Dative"],
439 ["gen", "gen ","Genitive"],
440 ["nom","nom ", "Nominative"],
441 ["*","* ", "Undefined"]
442 ],
Akron9b9d09f2017-04-27 20:10:34 +0200443 "marmot/m=case:" : [
444 ["acc", "acc ", "Accusative"],
445 ["dat","dat ", "Dative"],
446 ["gen", "gen ","Genitive"],
447 ["nom","nom ", "Nominative"],
448 ["*","* ", "Undefined"]
449 ],
Akron113cc1a2016-01-22 21:17:57 +0100450 "mate/m=degree:" : [
451 ["comp","comp ", "Comparative"],
452 ["pos","pos ", "Positive"],
453 ["sup","sup ", "Superative"]
454 ],
Akron9b9d09f2017-04-27 20:10:34 +0200455 "marmot/m=degree:" : [
456 ["comp","comp ", "Comparative"],
457 ["pos","pos ", "Positive"],
458 ["sup","sup ", "Superative"]
459 ],
Akron113cc1a2016-01-22 21:17:57 +0100460 "mate/m=gender:" : [
461 ["fem", "fem ", "Feminium"],
462 ["masc", "masc ", "Masculinum"],
463 ["neut","neut ", "Neuter"],
464 ["*","* ","Undefined"]
465 ],
Akron9b9d09f2017-04-27 20:10:34 +0200466 "marmot/m=gender:" : [
467 ["fem", "fem ", "Feminium"],
468 ["masc", "masc ", "Masculinum"],
469 ["neut","neut ", "Neuter"],
470 ["*","* ","Undefined"]
471 ],
Akron113cc1a2016-01-22 21:17:57 +0100472 "mate/m=mood:" : [
473 ["imp","imp ", "Imperative"],
474 ["ind","ind ", "Indicative"],
475 ["subj","subj ", "Subjunctive"]
476 ],
Akron9b9d09f2017-04-27 20:10:34 +0200477 "marmot/m=mood:" : [
478 ["imp","imp ", "Imperative"],
479 ["ind","ind ", "Indicative"],
480 ["subj","subj ", "Subjunctive"]
481 ],
Akron113cc1a2016-01-22 21:17:57 +0100482 "mate/m=number:" : [
483 ["pl","pl ","Plural"],
484 ["sg","sg ","Singular"],
485 ["*","* ","Undefined"]
486 ],
Akron9b9d09f2017-04-27 20:10:34 +0200487 "marmot/m=number" : [
488 ["pl","pl ","Plural"],
489 ["sg","sg ","Singular"],
490 ["*","* ","Undefined"]
491 ],
Akron113cc1a2016-01-22 21:17:57 +0100492 "mate/m=person:" : [
493 ["1","1 ", "First Person"],
494 ["2","2 ", "Second Person"],
495 ["3","3 ", "Third Person"]
496 ],
Akron9b9d09f2017-04-27 20:10:34 +0200497 "marmot/m=person:" : [
498 ["1","1 ", "First Person"],
499 ["2","2 ", "Second Person"],
500 ["3","3 ", "Third Person"]
501 ],
Akron113cc1a2016-01-22 21:17:57 +0100502 "mate/m=tense:" : [
503 ["past","past ", "Past"],
504 ["pres","pres ", "Present"]
Akron9b9d09f2017-04-27 20:10:34 +0200505 ],
506 "marmot/m=tense:" : [
507 ["past","past ", "Past"],
508 ["pres","pres ", "Present"]
509 ],
510 "malt/d=" : [
Akronff969972017-05-23 22:54:47 +0200511 ["-PUNCT-", "-PUNCT- "],
Akron9b9d09f2017-04-27 20:10:34 +0200512 ["-UNKNOWN-","-UNKNOWN- "],
513 ["ADV","ADV "],
514 ["APP","APP "],
515 ["ATTR","ATTR "],
516 ["AUX","AUX "],
517 ["AVZ","AVZ "],
518 ["CJ","CJ "],
519 ["DET","DET "],
520 ["EXPL","EXPL "],
521 ["GMOD","GMOD "],
522 ["GRAD","GRAD "],
523 ["KOM","KOM "],
524 ["KON","KON "],
525 ["KONJ","KONJ "],
526 ["NEB","NEB "],
527 ["OBJA","OBJA "],
528 ["OBJC","OBJC "],
529 ["OBJD","OBJD "],
530 ["OBJG","OBJG "],
531 ["OBJI","OBJI "],
532 ["OBJP","OBJP "],
533 ["PAR","PAR "],
534 ["PART","PART "],
535 ["PN","PN "],
536 ["PP","PP "],
537 ["PRED","PRED "],
538 ["REL","REL "],
539 ["ROOT","ROOT "],
540 ["S","S "],
541 ["SUBJ","SUBJ "],
542 ["SUBJC","SUBJC "],
543 ["ZEIT","ZEIT "],
544 ["gmod-app","gmod-app "],
545 ["koord","koord "]
Akron113cc1a2016-01-22 21:17:57 +0100546 ]
547 };
Nils Diewald023c6712015-05-21 20:12:30 +0000548
Akron113cc1a2016-01-22 21:17:57 +0100549 for (var i in negraNodes) {
550 obj["corenlp/c=" + negraNodes[i][0] + '-'] = negraEdges;
551 };
552
553 return obj;
Nils Diewald023c6712015-05-21 20:12:30 +0000554});