margaretha | 51e5e3f | 2018-10-17 15:10:03 +0200 | [diff] [blame] | 1 | define(["hint/foundries","hint/foundries/stts"], function (ah, sttsArray) { |
| 2 | // var mateSttsArray = sttsArray.slice(0); |
| 3 | // mateSttsArray.push( |
| 4 | // ["<root-POS>","<root-POS>","Root Part of Speech"] |
| 5 | // ); |
| 6 | |
| 7 | var ah = KorAP.annotationHelper = KorAP.annotationHelper || { "-" : [] }; |
| 8 | |
| 9 | ah["-"].push( |
| 10 | ["Mate", "mate/", "Lemma, Morphology, Part-of-Speech"] |
| 11 | ); |
| 12 | |
| 13 | ah["mate/"] = [ |
| 14 | // Inactive: "d" : ["d=", "Dependency"], |
| 15 | ["Lemma", "l="], |
| 16 | ["Morphology", "m="], |
| 17 | ["Part-of-Speech", "p="] |
| 18 | ]; |
| 19 | |
| 20 | // Inactive: mate/d= |
| 21 | ah["mate/p="] = [ |
| 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"], |
| 62 | ["VAIMP","VAIMP ", "Auxiliary Finite Imperative Verb"], |
| 63 | ["VAINF","VAINF ", "Auxiliary Infinite Verb"], |
| 64 | ["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 | ["<root-POS>","<root-POS>","Root Part of Speech"] |
| 75 | ]; |
| 76 | |
| 77 | ah["mate/m="] = [ |
| 78 | ["Case", "case:"], |
| 79 | ["Degree", "degree:"], |
| 80 | ["Gender", "gender:"], |
| 81 | ["Mood", "mood:"], |
| 82 | ["Number", "number:"], |
| 83 | ["Person", "person:"], |
| 84 | ["Tense","tense:"], |
| 85 | ["No type", "<no-type> "] |
| 86 | ]; |
| 87 | |
| 88 | ah["mate/m=case:"] = [ |
| 89 | ["acc", "acc ", "Accusative"], |
| 90 | ["dat","dat ", "Dative"], |
| 91 | ["gen", "gen ","Genitive"], |
| 92 | ["nom","nom ", "Nominative"], |
| 93 | ["*","* ", "Undefined"] |
| 94 | ]; |
| 95 | |
| 96 | ah["mate/m=degree:"] = [ |
| 97 | ["comp","comp ", "Comparative"], |
| 98 | ["pos","pos ", "Positive"], |
| 99 | ["sup","sup ", "Superative"] |
| 100 | ]; |
| 101 | |
| 102 | ah["mate/m=gender:"] = [ |
| 103 | ["fem", "fem ", "Feminium"], |
| 104 | ["masc", "masc ", "Masculinum"], |
| 105 | ["neut","neut ", "Neuter"], |
| 106 | ["*","* ","Undefined"] |
| 107 | ]; |
| 108 | |
| 109 | ah["mate/m=mood:"] = [ |
| 110 | ["imp","imp ", "Imperative"], |
| 111 | ["ind","ind ", "Indicative"], |
| 112 | ["subj","subj ", "Subjunctive"] |
| 113 | ]; |
| 114 | |
| 115 | ah["mate/m=number:"] = [ |
| 116 | ["pl","pl ","Plural"], |
| 117 | ["sg","sg ","Singular"], |
| 118 | ["*","* ","Undefined"] |
| 119 | ]; |
| 120 | |
| 121 | ah["mate/m=person:"] = [ |
| 122 | ["1","1 ", "First Person"], |
| 123 | ["2","2 ", "Second Person"], |
| 124 | ["3","3 ", "Third Person"] |
| 125 | ]; |
| 126 | ah["mate/m=tense:"] = [ |
| 127 | ["past","past ", "Past"], |
| 128 | ["pres","pres ", "Present"] |
| 129 | ]; |
| 130 | }); |