| 1 | # ABSTRACT: Driver for the Portuguese tagset of the CoNLL 2006 Shared Task (derived from the Bosque / Floresta sintá(c)tica treebank). | ||
| 2 | # Copyright © 2007-2009, 2015, 2017 Dan Zeman <zeman@ufal.mff.cuni.cz> | ||
| 3 | |||
| 4 | package Lingua::Interset::Tagset::PT::Conll; | ||
| 5 | use strict; | ||
| 6 | use warnings; | ||
| 7 | our $VERSION = '3.015'; | ||
| 8 | |||
| 9 | use utf8; | ||
| 10 | use open ':utf8'; | ||
| 11 | use namespace::autoclean; | ||
| 12 | use Moose; | ||
| 13 | extends 'Lingua::Interset::Tagset::Conll'; | ||
| 14 | |||
| 15 | |||
| 16 | |||
| 17 | #------------------------------------------------------------------------------ | ||
| 18 | # Returns the tagset id that should be set as the value of the 'tagset' feature | ||
| 19 | # during decoding. Every derived class must (re)define this method! The result | ||
| 20 | # should correspond to the last two parts in package name, lowercased. | ||
| 21 | # Specifically, it should be the ISO 639-2 language code, followed by '::' and | ||
| 22 | # a language-specific tagset id. Example: 'cs::multext'. | ||
| 23 | #------------------------------------------------------------------------------ | ||
| 24 | sub get_tagset_id | ||
| 25 | { | ||
| 26 | return 'pt::conll'; | ||
| 27 | } | ||
| 28 | |||
| 29 | |||
| 30 | |||
| 31 | #------------------------------------------------------------------------------ | ||
| 32 | # Creates atomic drivers for surface features. | ||
| 33 | #------------------------------------------------------------------------------ | ||
| 34 | sub _create_atoms | ||
| 35 | { | ||
| 36 | my $self = shift; | ||
| 37 | my %atoms; | ||
| 38 | # PART OF SPEECH #################### | ||
| 39 | $atoms{pos} = $self->create_atom | ||
| 40 | ( | ||
| 41 | 'surfeature' => 'pos', | ||
| 42 | 'decode_map' => | ||
| 43 | { | ||
| 44 | # n = common noun | ||
| 45 | # example: ano, dia, país, grupo, governo; parte, semana, empresa, cidade, forma | ||
| 46 | 'n' => ['pos' => 'noun', 'nountype' => 'com'], | ||
| 47 | # prop = proper noun | ||
| 48 | # example: Portugal, Brasil, São_Paulo; Coimbra, Alvalade; EUA, Estados_Unidos | ||
| 49 | 'prop' => ['pos' => 'noun', 'nountype' => 'prop'], | ||
| 50 | # adj = adjective | ||
| 51 | # example: novo, grande, próximo, bom, nacional | ||
| 52 | 'adj' => ['pos' => 'adj'], | ||
| 53 | # art = article | ||
| 54 | # example: a, as, o, os, uma, um | ||
| 55 | 'art' => ['pos' => 'adj', 'prontype' => 'art'], | ||
| 56 | # pron-pers = personal # example: ela, elas, ele, eles, eu, nós, se, tu, você, vós | ||
| 57 | 'pron-pers' => ['pos' => 'noun', 'prontype' => 'prs'], | ||
| 58 | # pron-det = determiner # example: algo, ambos, bastante, demais, este, menos, nosso, o, que, todo_o | ||
| 59 | 'pron-det' => ['pos' => 'adj', 'prontype' => 'prn'], | ||
| 60 | # pron-indp = independent # example: algo, aquilo, cada_qual, o, o_que, que, todo_o_mundo, um_pouco | ||
| 61 | 'pron-indp' => ['pos' => 'noun', 'prontype' => 'ind'], | ||
| 62 | # num = number | ||
| 63 | # example: 0,05, cento_e_quatro, cinco, setenta_e_dois, um, zero | ||
| 64 | 'num' => ['pos' => 'num'], | ||
| 65 | # v-inf = infinitive | ||
| 66 | # example: ser, ter, fazer, ver, dar | ||
| 67 | 'v-inf' => ['pos' => 'verb', 'verbform' => 'inf'], | ||
| 68 | # v-fin = finite | ||
| 69 | # example: abafaram, abalou, abandonará... | ||
| 70 | 'v-fin' => ['pos' => 'verb', 'verbform' => 'fin'], | ||
| 71 | # v-pcp = participle | ||
| 72 | # example: passado, feito, eleito, aberto, considerado | ||
| 73 | 'v-pcp' => ['pos' => 'verb', 'verbform' => 'part'], | ||
| 74 | # v-ger = gerund | ||
| 75 | # example: abraçando, abrindo, acabando... | ||
| 76 | 'v-ger' => ['pos' => 'verb', 'verbform' => 'ger'], | ||
| 77 | # vp = verb phrase | ||
| 78 | # 1 occurrence in CoNLL 2006 data ("existente"), looks like an error | ||
| 79 | 'vp' => ['pos' => 'adj', 'other' => {'pos' => 'vp'}], | ||
| 80 | # adv = adverb | ||
| 81 | # example: não, também, ontem, ainda, já | ||
| 82 | 'adv' => ['pos' => 'adv'], | ||
| 83 | # pp = prepositional phrase | ||
| 84 | # example: de_facto, ao_mesmo_tempo, em_causa, por_vezes, de_acordo | ||
| 85 | 'pp' => ['pos' => 'adv', 'other' => {'pos' => 'pp'}], | ||
| 86 | # prp = preposition | ||
| 87 | # example: de, em, para, a, com, por, sobre, entre | ||
| 88 | 'prp' => ['pos' => 'adp', 'adpostype' => 'prep'], | ||
| 89 | # coordinating conjunction | ||
| 90 | # example: e, mais, mas, nem, ou, quer, tampouco, tanto | ||
| 91 | 'conj-c' => ['pos' => 'conj', 'conjtype' => 'coor'], | ||
| 92 | # subordinating conjunction | ||
| 93 | # example: que, se, porque, do_que, embora | ||
| 94 | 'conj-s' => ['pos' => 'conj', 'conjtype' => 'sub'], | ||
| 95 | # in = interjection # example: adeus, ai, alô | ||
| 96 | 'in' => ['pos' => 'int'], | ||
| 97 | # ec = partial word # example: anti-, ex-, pós, pré- | ||
| 98 | 'ec' => ['pos' => 'part', 'hyph' => 'yes'], | ||
| 99 | # punc = punctuation # example: --, -, ,, ;, :, !, ?:?... | ||
| 100 | 'punc' => ['pos' => 'punc'], | ||
| 101 | # ? = unknown # 2 occurrences in CoNLL 2006 data | ||
| 102 | '?' => [], | ||
| 103 | }, | ||
| 104 | 'encode_map' => | ||
| 105 | { | ||
| 106 | 'pos' => { 'noun' => { 'prontype' => { '' => { 'nountype' => { 'prop' => 'prop', | ||
| 107 | '@' => 'n' }}, | ||
| 108 | 'prs' => 'pron-pers', | ||
| 109 | 'rcp' => 'pron-pers', | ||
| 110 | '@' => 'pron-indp' }}, | ||
| 111 | 'adj' => { 'prontype' => { '' => { 'other/pos' => { 'vp' => 'vp', | ||
| 112 | '@' => 'adj' }}, | ||
| 113 | 'art' => 'art', | ||
| 114 | '@' => 'pron-det' }}, | ||
| 115 | 'num' => 'num', | ||
| 116 | 'verb' => { 'verbform' => { 'inf' => 'v-inf', | ||
| 117 | 'fin' => 'v-fin', | ||
| 118 | 'part' => 'v-pcp', | ||
| 119 | 'ger' => 'v-ger' }}, | ||
| 120 | 'adv' => { 'other/pos' => { 'pp' => 'pp', | ||
| 121 | '@' => 'adv' }}, | ||
| 122 | 'adp' => 'prp', | ||
| 123 | 'conj' => { 'conjtype' => { 'sub' => 'conj-s', | ||
| 124 | '@' => 'conj-c' }}, | ||
| 125 | 'part' => 'ec', | ||
| 126 | 'int' => 'in', | ||
| 127 | 'punc' => 'punc', | ||
| 128 | 'sym' => 'punc', | ||
| 129 | '@' => '?' } | ||
| 130 | } | ||
| 131 | ); | ||
| 132 | # GENDER #################### | ||
| 133 | $atoms{gender} = $self->create_simple_atom | ||
| 134 | ( | ||
| 135 | 'intfeature' => 'gender', | ||
| 136 | 'simple_decode_map' => | ||
| 137 | { | ||
| 138 | # gender = F|M/F|M|M/F | ||
| 139 | 'F' => 'fem', | ||
| 140 | 'M' => 'masc', | ||
| 141 | 'M/F' => '' | ||
| 142 | } | ||
| 143 | ); | ||
| 144 | # NUMBER #################### | ||
| 145 | $atoms{number} = $self->create_simple_atom | ||
| 146 | ( | ||
| 147 | 'intfeature' => 'number', | ||
| 148 | 'simple_decode_map' => | ||
| 149 | { | ||
| 150 | # number = P|S|S/P | ||
| 151 | 'S' => 'sing', | ||
| 152 | 'P' => 'plur', | ||
| 153 | 'S/P' => '' | ||
| 154 | } | ||
| 155 | ); | ||
| 156 | # CASE #################### | ||
| 157 | $atoms{case} = $self->create_atom | ||
| 158 | ( | ||
| 159 | 'surfeature' => 'case', | ||
| 160 | 'decode_map' => | ||
| 161 | { | ||
| 162 | # case = ACC|ACC/DAT|DAT|NOM|NOM/PIV|PIV | ||
| 163 | 'NOM' => ['case' => 'nom'], | ||
| 164 | 'NOM/PIV' => ['case' => 'nom|acc', 'prepcase' => 'pre'], | ||
| 165 | 'DAT' => ['case' => 'dat'], | ||
| 166 | 'ACC/DAT' => ['case' => 'acc|dat'], | ||
| 167 | 'ACC' => ['case' => 'acc'], | ||
| 168 | # Note: PIV also occurs as the syntactic tag of prepositions heading prepositional objects. | ||
| 169 | 'PIV' => ['case' => 'acc', 'prepcase' => 'pre'] | ||
| 170 | }, | ||
| 171 | 'encode_map' => | ||
| 172 | { | ||
| 173 | 'case' => { 'acc|nom' => 'NOM/PIV', | ||
| 174 | 'acc|dat' => 'ACC/DAT', | ||
| 175 | 'nom' => 'NOM', | ||
| 176 | 'dat' => 'DAT', | ||
| 177 | 'acc' => { 'prepcase' => { 'pre' => 'PIV', | ||
| 178 | '@' => 'ACC' }}} | ||
| 179 | } | ||
| 180 | ); | ||
| 181 | # PERSON AND NUMBER #################### | ||
| 182 | $atoms{person} = $self->create_atom | ||
| 183 | ( | ||
| 184 | 'surfeature' => 'person', | ||
| 185 | 'decode_map' => | ||
| 186 | { | ||
| 187 | # person+number = 1/3S|1S|1P|2S|2P|3S|3S/P|3P | ||
| 188 | '1/3S' => ['person' => '1|3', 'number' => 'sing'], | ||
| 189 | '1S' => ['person' => '1', 'number' => 'sing'], | ||
| 190 | '1P' => ['person' => '1', 'number' => 'plur'], | ||
| 191 | '2S' => ['person' => '2', 'number' => 'sing'], | ||
| 192 | '2P' => ['person' => '2', 'number' => 'plur'], | ||
| 193 | '3S' => ['person' => '3', 'number' => 'sing'], | ||
| 194 | '3S/P' => ['person' => '3'], | ||
| 195 | '3P' => ['person' => '3', 'number' => 'plur'], | ||
| 196 | }, | ||
| 197 | 'encode_map' => | ||
| 198 | { | ||
| 199 | 'number' => { 'sing' => { 'person' => { '1|3' => '1/3S', | ||
| 200 | '1' => '1S', | ||
| 201 | '2' => '2S', | ||
| 202 | '3' => '3S', | ||
| 203 | '@' => '3S' }}, | ||
| 204 | 'plur' => { 'person' => { '1' => '1P', | ||
| 205 | '2' => '2P', | ||
| 206 | '@' => '3P' }}, | ||
| 207 | '@' => { 'person' => { '3' => '3S/P' }}} | ||
| 208 | } | ||
| 209 | ); | ||
| 210 | # POSSESSOR'S PERSON AND NUMBER #################### | ||
| 211 | # Possessive pronouns (determiners) have double feautres like "<poss|1S>". | ||
| 212 | # We remove the vertical bar during preprocessing so that we can process it as one feature. | ||
| 213 | $atoms{possessor} = $self->create_atom | ||
| 214 | ( | ||
| 215 | 'surfeature' => 'possessor', | ||
| 216 | 'decode_map' => | ||
| 217 | { | ||
| 218 | # meu, meus, minha, minhas | ||
| 219 | '<poss1S>' => ['prontype' => 'prs', 'poss' => 'yes', 'person' => '1', 'possnumber' => 'sing'], | ||
| 220 | # teu, teus, tua, tuas | ||
| 221 | '<poss2S>' => ['prontype' => 'prs', 'poss' => 'yes', 'person' => '2', 'possnumber' => 'sing'], | ||
| 222 | # seu, seus, sua, suas | ||
| 223 | '<poss3S>' => ['prontype' => 'prs', 'poss' => 'yes', 'person' => '3', 'possnumber' => 'sing'], | ||
| 224 | '<poss3S/P>' => ['prontype' => 'prs', 'poss' => 'yes', 'person' => '3'], | ||
| 225 | # nosso, nossos, nossa, nossas | ||
| 226 | '<poss1P>' => ['prontype' => 'prs', 'poss' => 'yes', 'person' => '1', 'possnumber' => 'plur'], | ||
| 227 | # vosso, vossos, vossa, vossas | ||
| 228 | '<poss2P>' => ['prontype' => 'prs', 'poss' => 'yes', 'person' => '2', 'possnumber' => 'plur'], | ||
| 229 | # seu, seus, sua, suas | ||
| 230 | '<poss3P>' => ['prontype' => 'prs', 'poss' => 'yes', 'person' => '3', 'possnumber' => 'plur'], | ||
| 231 | }, | ||
| 232 | 'encode_map' => | ||
| 233 | { | ||
| 234 | 'possnumber' => { 'sing' => { 'person' => { '1' => '<poss1S>', | ||
| 235 | '2' => '<poss2S>', | ||
| 236 | '@' => '<poss3S>' }}, | ||
| 237 | 'plur' => { 'person' => { '1' => '<poss1P>', | ||
| 238 | '2' => '<poss2P>', | ||
| 239 | '@' => '<poss3P>' }}, | ||
| 240 | '@' => { 'poss' => { 'yes' => '<poss3S/P>' }}} | ||
| 241 | } | ||
| 242 | ); | ||
| 243 | # MOOD #################### | ||
| 244 | $atoms{mood} = $self->create_atom | ||
| 245 | ( | ||
| 246 | 'surfeature' => 'mood', | ||
| 247 | 'decode_map' => | ||
| 248 | { | ||
| 249 | # mood = IND|SUBJ | ||
| 250 | 'IND' => ['mood' => 'ind'], | ||
| 251 | 'SUBJ' => ['mood' => 'sub'] | ||
| 252 | }, | ||
| 253 | 'encode_map' => | ||
| 254 | { | ||
| 255 | 'mood' => { 'ind' => 'IND', | ||
| 256 | 'sub' => 'SUBJ' } | ||
| 257 | } | ||
| 258 | ); | ||
| 259 | # TENSE #################### | ||
| 260 | $atoms{tense} = $self->create_atom | ||
| 261 | ( | ||
| 262 | 'surfeature' => 'tense', | ||
| 263 | 'decode_map' => | ||
| 264 | { | ||
| 265 | # sê, move, olha, chega | ||
| 266 | 'IMP' => ['mood' => 'imp'], | ||
| 267 | # é, está, tem, há, vai | ||
| 268 | 'PR' => ['tense' => 'pres'], | ||
| 269 | # decidimos, conhecemos, conseguimos | ||
| 270 | 'PR/PS' => ['tense' => 'pres|past'], | ||
| 271 | # foi, disse, fez, afirmou, teve | ||
| 272 | 'PS' => ['tense' => 'past'], | ||
| 273 | # era, tinha, estava, havia, ia | ||
| 274 | 'IMPF' => ['tense' => 'imp'], | ||
| 275 | # foram, chegaram, fizeram, tiveram, ficaram | ||
| 276 | 'PS/MQP' => ['tense' => 'imp|pqp'], | ||
| 277 | # fora, fizera, desaparecera, acabara, levara | ||
| 278 | 'MQP' => ['tense' => 'pqp'], | ||
| 279 | # será, terá, deverá, poderá, irá | ||
| 280 | 'FUT' => ['tense' => 'fut'], | ||
| 281 | # seria, poderia, teria, deveria, iria | ||
| 282 | 'COND' => ['mood' => 'cnd'] | ||
| 283 | }, | ||
| 284 | 'encode_map' => | ||
| 285 | { | ||
| 286 | 'tense' => { 'pres' => 'PR', | ||
| 287 | 'past|pres' => 'PR/PS', | ||
| 288 | 'past' => 'PS', | ||
| 289 | 'imp' => 'IMPF', | ||
| 290 | 'imp|pqp' => 'PS/MQP', | ||
| 291 | 'pqp' => 'MQP', | ||
| 292 | 'fut' => 'FUT', | ||
| 293 | '@' => { 'mood' => { 'imp' => 'IMP', | ||
| 294 | 'cnd' => 'COND' }}} | ||
| 295 | } | ||
| 296 | ); | ||
| 297 | # Features in angle brackets are secondary tags, word subclasses etc. | ||
| 298 | # DEGREE OF COMPARISON #################### | ||
| 299 | # Occurs at adjectives and determiners (quantifiers). | ||
| 300 | # Both <KOMP> and <SUP> may occur at one token! | ||
| 301 | # <KOMP>|<SUP> ... melhor, superior, pior, inferior | ||
| 302 | # <KOMP> ... maior, melhor, menor, superior, pior | ||
| 303 | # <SUP> ... principal, ótimo, máximo, mínimo, péssimo | ||
| 304 | $atoms{degree} = $self->create_atom | ||
| 305 | ( | ||
| 306 | 'surfeature' => 'degree', | ||
| 307 | 'decode_map' => | ||
| 308 | { | ||
| 309 | # Comparative degree. | ||
| 310 | '<KOMP>' => ['degree' => 'cmp'], | ||
| 311 | # Superlative degree. | ||
| 312 | '<SUP>' => ['degree' => 'sup'] | ||
| 313 | }, | ||
| 314 | 'encode_map' => | ||
| 315 | { | ||
| 316 | 'degree' => { 'cmp' => '<KOMP>', | ||
| 317 | 'sup' => '<SUP>' } | ||
| 318 | } | ||
| 319 | ); | ||
| 320 | # PRONOUN TYPE #################### | ||
| 321 | $atoms{prontype} = $self->create_atom | ||
| 322 | ( | ||
| 323 | 'surfeature' => 'prontype', | ||
| 324 | 'decode_map' => | ||
| 325 | { | ||
| 326 | # Collective reflexive pronoun ("se" in "reunir-se", "associar-se"). | ||
| 327 | # This feature is relatively rare. It should always co-occur with the <reflex> feature | ||
| 328 | # but sometimes it does not so we make sure to set reflex here as well. | ||
| 329 | '<coll>' => ['reflex' => 'yes', 'other' => {'coll' => '1'}], | ||
| 330 | # Demonstrative pronoun or adverb. | ||
| 331 | # adv <dem>|<quant>: tão | ||
| 332 | # For adverbs, <dem> almost always comes together with <quant>. There was one occurrence of <dem> without <quant> (an error?) | ||
| 333 | # and it also came with the word "tão". | ||
| 334 | '<dem>' => ['prontype' => 'dem'], | ||
| 335 | # Interrogative pronoun or adverb. | ||
| 336 | # adv <interr>: como, onde, porque, quando, para_onde | ||
| 337 | '<interr>' => ['prontype' => 'int'], | ||
| 338 | '<intquant>' => ['prontype' => 'int', 'numtype' => 'card'], | ||
| 339 | # Relative pronoun or adverb. | ||
| 340 | # adv <rel>: como, onde, quando, enquanto, tal_como | ||
| 341 | # adv <rel>|<quant>: quanto, quanto_mais | ||
| 342 | # pron-det <rel>: cujo, qual, quanto, o_que | ||
| 343 | # pron-indp <rel>: que, o_que, quem, o_qual | ||
| 344 | # pron-indp <rel>|<quant>: tudo_o_que | ||
| 345 | # We preprocess <rel>|<quant> into <relquant>. | ||
| 346 | '<rel>' => ['prontype' => 'rel'], | ||
| 347 | '<relquant>' => ['prontype' => 'rel', 'numtype' => 'card'], | ||
| 348 | # (Indefinite) quantifier pronoun or adverb. | ||
| 349 | # independent pronouns: algo, tudo, nada | ||
| 350 | # independent relative pronouns: todo_o_que | ||
| 351 | # determiners (pronouns): algum, alguma, alguns, algumas, uns, umas, vários, várias, | ||
| 352 | # qualquer, pouco, poucos, muitos, mais, | ||
| 353 | # todo, todo_o, todos, todas, ambos, ambas | ||
| 354 | # adverbs: pouco, menos, muito, mais, mais_de, quase, tanto, mesmo, demais, bastante, suficiente, bem | ||
| 355 | # demonstrative adverbs: t~ao | ||
| 356 | # This is not the class of indefinite pronouns. This class contains pronouns and adverbs of quantity. | ||
| 357 | # The pronouns and adverbs in this class can be indefinite (algo), total (todo), negative (nada), demonstrative (tanto, tao), | ||
| 358 | # interrogative (quanto), relative (todo_o_que). Many are indefinite, but not all. | ||
| 359 | # adv <quant> (no other features): muito, bem, mais, quase, mais_de | ||
| 360 | # adv <quant>|<KOMP>: mais, menos, tão, tanto, nada_mais_nada_menos | ||
| 361 | # adv <dem>|<quant>: tão | ||
| 362 | '<quant>' => ['prontype' => 'ind|neg|tot', 'numtype' => 'card'], | ||
| 363 | # Reciprocal reflexive (amar-se). | ||
| 364 | '<reci>' => ['prontype' => 'rcp'], | ||
| 365 | # Reflexive pronoun. | ||
| 366 | '<refl>' => ['prontype' => 'prs', 'reflex' => 'yes'], | ||
| 367 | # Reflexive usage of 3rd person possessive (seu, seus, sua, suas). | ||
| 368 | '<si>' => ['prontype' => 'prs', 'poss' => 'yes', 'person' => '3', 'reflex' => 'yes'], | ||
| 369 | # Differentiator (mesmo, outro, semelhante, tal). | ||
| 370 | '<diff>' => ['other' => {'prontype' => 'diff'}], | ||
| 371 | # Identifier pronoun (mesmo, próprio). | ||
| 372 | '<ident>' => ['other' => {'prontype' => 'ident'}] | ||
| 373 | }, | ||
| 374 | 'encode_map' => | ||
| 375 | { | ||
| 376 | 'other/coll' => { '1' => '<refl>|<coll>', | ||
| 377 | '@' => { 'other/prontype' => { 'diff' => '<diff>', | ||
| 378 | 'ident' => '<ident>', | ||
| 379 | '@' => { 'prontype' => { 'dem' => '<dem>', | ||
| 380 | 'int' => { 'numtype' => { 'card' => '<intquant>', | ||
| 381 | '@' => '<interr>' }}, | ||
| 382 | 'rel' => { 'numtype' => { 'card' => '<relquant>', | ||
| 383 | '@' => '<rel>' }}, | ||
| 384 | 'rcp' => '<reci>', | ||
| 385 | 'ind' => { 'numtype' => { 'card' => '<quant>' }}, | ||
| 386 | 'neg' => { 'numtype' => { 'card' => '<quant>' }}, | ||
| 387 | 'tot' => { 'numtype' => { 'card' => '<quant>' }}, | ||
| 388 | 'prs' => { 'reflex' => { 'yes' => { 'poss' => { 'yes' => '<si>', | ||
| 389 | '@' => '<refl>' }}}}}}}}} | ||
| 390 | } | ||
| 391 | ); | ||
| 392 | # DEFINITENESS #################### | ||
| 393 | $atoms{definite} = $self->create_simple_atom | ||
| 394 | ( | ||
| 395 | 'intfeature' => 'definite', | ||
| 396 | 'simple_decode_map' => | ||
| 397 | { | ||
| 398 | # Definite article: o, os, a, as | ||
| 399 | # Occurs with pron-det as well, so do not set prontype = art, or we cannot distinguish the original pos = art. | ||
| 400 | '<artd>' => 'def', | ||
| 401 | # Indefinite article: um, uma | ||
| 402 | # Occurs with pron-det as well, so do not set prontype = art, or we cannot distinguish the original pos = art. | ||
| 403 | '<arti>' => 'ind' | ||
| 404 | } | ||
| 405 | ); | ||
| 406 | # NUMERAL TYPE #################### | ||
| 407 | $atoms{numtype} = $self->create_atom | ||
| 408 | ( | ||
| 409 | 'surfeature' => 'numtype', | ||
| 410 | 'decode_map' => | ||
| 411 | { | ||
| 412 | # Ordinal number (subclass of adjectives). | ||
| 413 | '<NUM-ord>' => ['numtype' => 'ord'], | ||
| 414 | # Cardinal number. | ||
| 415 | # This can co-occur with subpos=prop (proper noun). | ||
| 416 | # If it is the case, we may want to keep "prop" and discard "card". | ||
| 417 | '<card>' => ['numtype' => 'card'], | ||
| 418 | }, | ||
| 419 | 'encode_map' => | ||
| 420 | { | ||
| 421 | 'numtype' => { 'card' => '<card>', | ||
| 422 | 'ord' => '<NUM-ord>' } | ||
| 423 | } | ||
| 424 | ); | ||
| 425 | # TYPO, ALTERNATIVE SPELLING #################### | ||
| 426 | $atoms{alt} = $self->create_simple_atom | ||
| 427 | ( | ||
| 428 | 'intfeature' => 'typo', | ||
| 429 | 'simple_decode_map' => | ||
| 430 | { | ||
| 431 | '<ALT>' => 'yes' | ||
| 432 | } | ||
| 433 | ); | ||
| 434 | # CONTRACTIONS #################### | ||
| 435 | # There are many contracted words in Portuguese. Most of them involve a preposition | ||
| 436 | # and an article: "em" + "o" = "no" | ||
| 437 | # http://en.wikibooks.org/wiki/Portuguese/Contents/Common_Prepositions_and_Contractions | ||
| 438 | # Contracted words have been split during tokenization and the original tokens act as tree nodes. | ||
| 439 | # The <sam-> and <-sam> features indicate that there was a contraction. | ||
| 440 | # The contracted form is not indicated (but it is probably deterministic to derive it from the parts). | ||
| 441 | $atoms{sam} = $self->create_atom | ||
| 442 | ( | ||
| 443 | 'surfeature' => 'sam', | ||
| 444 | 'decode_map' => | ||
| 445 | { | ||
| 446 | # First part in contracted word. | ||
| 447 | '<sam->' => ['other' => {'sam' => 'first'}], | ||
| 448 | # Second part in contracted word. | ||
| 449 | '<-sam>' => ['other' => {'sam' => 'second'}] | ||
| 450 | }, | ||
| 451 | 'encode_map' => | ||
| 452 | { | ||
| 453 | 'other/sam' => { 'first' => '<sam->', | ||
| 454 | 'second' => '<-sam>' } | ||
| 455 | } | ||
| 456 | ); | ||
| 457 | # KIND OF NODES COORDINATED BY CONJUNCTION #################### | ||
| 458 | $atoms{co} = $self->create_atom | ||
| 459 | ( | ||
| 460 | 'surfeature' => 'co', | ||
| 461 | 'decode_map' => | ||
| 462 | { | ||
| 463 | # Kind of nodes coordinated by this conjunction. | ||
| 464 | '<co-acc>' => ['other' => {'co' => 'acc'}], | ||
| 465 | '<co-advl>' => ['other' => {'co' => 'advl'}], | ||
| 466 | '<co-advo>' => ['other' => {'co' => 'advo'}], | ||
| 467 | '<co-advs>' => ['other' => {'co' => 'advs'}], | ||
| 468 | '<co-app>' => ['other' => {'co' => 'app'}], | ||
| 469 | '<co-fmc>' => ['other' => {'co' => 'fmc'}], | ||
| 470 | '<co-ger>' => ['other' => {'co' => 'ger'}], | ||
| 471 | '<co-inf>' => ['other' => {'co' => 'inf'}], | ||
| 472 | '<co-oc>' => ['other' => {'co' => 'oc'}], | ||
| 473 | '<co-pass>' => ['other' => {'co' => 'pass'}], | ||
| 474 | '<co-pcv>' => ['other' => {'co' => 'pcv'}], | ||
| 475 | '<co-piv>' => ['other' => {'co' => 'piv'}], | ||
| 476 | '<co-postad>' => ['other' => {'co' => 'postad'}], | ||
| 477 | '<co-postnom>' => ['other' => {'co' => 'postnom'}], | ||
| 478 | '<co-pred>' => ['other' => {'co' => 'pred'}], | ||
| 479 | '<co-prenom>' => ['other' => {'co' => 'prenom'}], | ||
| 480 | '<co-prparg>' => ['other' => {'co' => 'prparg'}], | ||
| 481 | '<co-sc>' => ['other' => {'co' => 'sc'}], | ||
| 482 | '<co-subj>' => ['other' => {'co' => 'subj'}], | ||
| 483 | '<co-vfin>' => ['other' => {'co' => 'vfin'}] | ||
| 484 | }, | ||
| 485 | 'encode_map' => | ||
| 486 | { | ||
| 487 | 'other/co' => { 'acc' => '<co-acc>', | ||
| 488 | 'advl' => '<co-advl>', | ||
| 489 | 'advo' => '<co-advo>', | ||
| 490 | 'advs' => '<co-advs>', | ||
| 491 | 'app' => '<co-app>', | ||
| 492 | 'fmc' => '<co-fmc>', | ||
| 493 | 'ger' => '<co-ger>', | ||
| 494 | 'inf' => '<co-inf>', | ||
| 495 | 'oc' => '<co-oc>', | ||
| 496 | 'pass' => '<co-pass>', | ||
| 497 | 'pcv' => '<co-pcv>', | ||
| 498 | 'piv' => '<co-piv>', | ||
| 499 | 'postad' => '<co-postad>', | ||
| 500 | 'postnom' => '<co-postnom>', | ||
| 501 | 'pred' => '<co-pred>', | ||
| 502 | 'prenom' => '<co-prenom>', | ||
| 503 | 'prparg' => '<co-prparg>', | ||
| 504 | 'sc' => '<co-sc>', | ||
| 505 | 'subj' => '<co-subj>', | ||
| 506 | 'vfin' => '<co-vfin>' } | ||
| 507 | } | ||
| 508 | ); | ||
| 509 | # WORDS USED AS WORD CLASSES OTHER THAN THOSE THEY BELONG TO #################### | ||
| 510 | $atoms{transcat} = $self->create_atom | ||
| 511 | ( | ||
| 512 | 'surfeature' => 'transcat', | ||
| 513 | 'decode_map' => | ||
| 514 | { | ||
| 515 | '<det>' => ['other' => {'transcat' => 'det'}], | ||
| 516 | '<kc>' => ['other' => {'transcat' => 'kc'}], | ||
| 517 | '<ks>' => ['other' => {'transcat' => 'ks'}], | ||
| 518 | '<n>' => ['other' => {'transcat' => 'n'}], | ||
| 519 | # n <prop>: Estado, Presidente, Congresso, Janeiro, Maio | ||
| 520 | '<prop>' => ['other' => {'transcat' => 'prop'}], | ||
| 521 | '<prp>' => ['other' => {'transcat' => 'prp'}] | ||
| 522 | }, | ||
| 523 | 'encode_map' => | ||
| 524 | { | ||
| 525 | 'other/transcat' => { 'det' => '<det>', | ||
| 526 | 'kc' => '<kc>', | ||
| 527 | 'ks' => '<ks>', | ||
| 528 | 'n' => '<n>', | ||
| 529 | 'prop' => '<prop>', | ||
| 530 | 'prp' => '<prp>' } | ||
| 531 | } | ||
| 532 | ); | ||
| 533 | # OTHER FEATURES IN ANGLE BRACKETS #################### | ||
| 534 | $atoms{anglefeature} = $self->create_atom | ||
| 535 | ( | ||
| 536 | 'surfeature' => 'anglefeature', | ||
| 537 | 'decode_map' => | ||
| 538 | { | ||
| 539 | # Derivation by prefixation. | ||
| 540 | '<DERP>' => ['other' => {'derp' => '1'}], | ||
| 541 | # Derivation by suffixation. | ||
| 542 | '<DERS>' => ['other' => {'ders' => '1'}], | ||
| 543 | # Annotation or processing error. | ||
| 544 | '<error>' => ['other' => {'error' => '1'}], | ||
| 545 | # Verb heading finite main clause. | ||
| 546 | '<fmc>' => ['other' => {'fmc' => '1'}], | ||
| 547 | # Focus marker, adverb or pronoun. | ||
| 548 | # adv <foc>: que, é_que, foi, é, era | ||
| 549 | '<foc>' => ['other' => {'foc' => '1'}], | ||
| 550 | # Hyphenated prefix, usually of reflexive verbs. | ||
| 551 | '<hyfen>' => ['hyph' => 'yes'], | ||
| 552 | }, | ||
| 553 | 'encode_map' => | ||
| 554 | { | ||
| 555 | 'hyph' => { 'yes' => '<hyfen>', | ||
| 556 | '@' => { 'other/derp' => { '1' => '<DERP>', | ||
| 557 | '@' => { 'other/ders' => { '1' => '<DERS>', | ||
| 558 | '@' => { 'other/foc' => { '1' => '<foc>' }}}}}}} | ||
| 559 | } | ||
| 560 | ); | ||
| 561 | # MERGED ATOM TO DECODE ANY FEATURE VALUE #################### | ||
| 562 | my @fatoms = map {$atoms{$_}} (@{$self->features_all()}); | ||
| 563 | $atoms{feature} = $self->create_merged_atom | ||
| 564 | ( | ||
| 565 | 'surfeature' => 'feature', | ||
| 566 | 'atoms' => \@fatoms | ||
| 567 | ); | ||
| 568 | return \%atoms; | ||
| 569 | } | ||
| 570 | |||
| 571 | |||
| 572 | |||
| 573 | #------------------------------------------------------------------------------ | ||
| 574 | # Creates the list of all surface CoNLL features that can appear in the FEATS | ||
| 575 | # column. This list will be used in decode(). | ||
| 576 | #------------------------------------------------------------------------------ | ||
| 577 | sub _create_features_all | ||
| 578 | { | ||
| 579 | my $self = shift; | ||
| 580 | my @features = ('pos', 'gender', 'number', 'case', 'person', 'tense', 'mood', | ||
| 581 | 'degree', 'alt', 'possessor', 'prontype', 'definite', 'numtype', 'anglefeature', 'sam', 'co', 'transcat'); | ||
| 582 | return \@features; | ||
| 583 | } | ||
| 584 | |||
| 585 | |||
| 586 | |||
| 587 | #------------------------------------------------------------------------------ | ||
| 588 | # Creates the list of surface CoNLL features that can appear in the FEATS | ||
| 589 | # column with particular parts of speech. This list will be used in encode(). | ||
| 590 | #------------------------------------------------------------------------------ | ||
| 591 | sub _create_features_pos | ||
| 592 | { | ||
| 593 | my $self = shift; | ||
| 594 | my %features = | ||
| 595 | ( | ||
| 596 | 'adj' => ['anglefeature', 'transcat', 'numtype', 'alt', 'degree', 'gender', 'number'], | ||
| 597 | 'adv' => ['prontype', 'transcat', 'anglefeature', 'sam', 'co', 'alt', 'degree'], | ||
| 598 | 'art' => ['sam', 'alt', 'definite', 'gender', 'number'], | ||
| 599 | 'conj-c' => ['co'], | ||
| 600 | 'conj-s' => ['transcat'], | ||
| 601 | 'n' => ['anglefeature', 'transcat', 'alt', 'gender', 'number'], | ||
| 602 | 'num' => ['transcat', 'sam', 'alt', 'numtype', 'gender', 'number'], | ||
| 603 | 'pp' => ['sam'], | ||
| 604 | 'pron-det' => ['transcat', 'sam', 'possessor', 'prontype', 'definite', 'degree', 'gender', 'number'], | ||
| 605 | 'pron-indp' => ['sam', 'alt', 'prontype', 'gender', 'number'], | ||
| 606 | 'pron-pers' => ['anglefeature', 'sam', 'prontype', 'gender', 'person', 'case'], | ||
| 607 | 'prop' => ['anglefeature', 'alt', 'gender', 'number'], | ||
| 608 | 'prp' => ['sam', 'transcat', 'co', 'alt'], | ||
| 609 | 'v-fin' => ['anglefeature', 'transcat', 'alt', 'tense', 'person', 'mood'], | ||
| 610 | 'v-ger' => ['anglefeature', 'alt'], | ||
| 611 | 'v-inf' => ['anglefeature', 'transcat', 'alt', 'person'], | ||
| 612 | 'v-pcp' => ['anglefeature', 'transcat', 'alt', 'gender', 'number'] | ||
| 613 | ); | ||
| 614 | return \%features; | ||
| 615 | } | ||
| 616 | |||
| 617 | |||
| 618 | |||
| 619 | #------------------------------------------------------------------------------ | ||
| 620 | # Decodes a physical tag (string) and returns the corresponding feature | ||
| 621 | # structure. | ||
| 622 | #------------------------------------------------------------------------------ | ||
| 623 | sub decode | ||
| 624 | { | ||
| 625 | my $self = shift; | ||
| 626 | my $tag = shift; | ||
| 627 | # Preprocess the tag. Processing of some features depends on processing of some other features. | ||
| 628 | # For adverbs, <dem> almost always comes together with <quant>. | ||
| 629 | # There was one occurrence of <dem> without <quant> (an error?) and it also came with the word "tão". | ||
| 630 | $tag =~ s/(adv\s+<dem>)\|<quant>/$1/; | ||
| 631 | $tag =~ s/<rel>\|<quant>/<relquant>/; | ||
| 632 | $tag =~ s/<interr>\|<quant>/<intquant>/; | ||
| 633 | $tag =~ s/<poss\|([123](S|P|S\/P))>/<poss$1>/; | ||
| 634 | my $fs = Lingua::Interset::FeatureStructure->new(); | ||
| 635 | $fs->set_tagset('pt::conll'); | ||
| 636 | my $atoms = $self->atoms(); | ||
| 637 | # Three components, and the first two are identical: pos, pos, features. | ||
| 638 | # example: N\tN\tsoort|ev|neut | ||
| 639 | my ($pos, $subpos, $features) = split(/\s+/, $tag); | ||
| 640 | # The underscore character is used if there are no features. | ||
| 641 | $features = '' if($features eq '_'); | ||
| 642 | my @features = split(/\|/, $features); | ||
| 643 | $atoms->{pos}->decode_and_merge_hard($subpos, $fs); | ||
| 644 | foreach my $feature (@features) | ||
| 645 | { | ||
| 646 | $atoms->{feature}->decode_and_merge_hard($feature, $fs); | ||
| 647 | } | ||
| 648 | return $fs; | ||
| 649 | } | ||
| 650 | |||
| 651 | |||
| 652 | |||
| 653 | #------------------------------------------------------------------------------ | ||
| 654 | # Takes feature structure and returns the corresponding physical tag (string). | ||
| 655 | #------------------------------------------------------------------------------ | ||
| 656 | sub encode | ||
| 657 | { | ||
| 658 | my $self = shift; | ||
| 659 | my $fs = shift; # Lingua::Interset::FeatureStructure | ||
| 660 | my $atoms = $self->atoms(); | ||
| 661 | my $subpos = $atoms->{pos}->encode($fs); | ||
| 662 | my $pos = $subpos; | ||
| 663 | $pos =~ s/-.*//; | ||
| 664 | my $fpos = $subpos; | ||
| 665 | my $feature_names = $self->get_feature_names($fpos); | ||
| 666 | my $value_only = 1; | ||
| 667 | my $tag = $self->encode_conll($fs, $pos, $subpos, $feature_names, $value_only); | ||
| 668 | # Postprocess the tag. Processing of some features depends on processing of some other features. | ||
| 669 | # For adverbs, <dem> almost always comes together with <quant>. | ||
| 670 | # There was one occurrence of <dem> without <quant> (an error?) and it also came with the word "tão". | ||
| 671 | $tag =~ s/<poss([123](S|P|S\/P))>/<poss|$1>/; | ||
| 672 | $tag =~ s/<intquant>/<interr>|<quant>/; | ||
| 673 | $tag =~ s/<relquant>/<rel>|<quant>/; | ||
| 674 | $tag =~ s/(adv\s+<dem>)/$1|<quant>/; | ||
| 675 | return $tag; | ||
| 676 | } | ||
| 677 | |||
| 678 | |||
| 679 | |||
| 680 | #------------------------------------------------------------------------------ | ||
| 681 | # Returns reference to list of known tags. | ||
| 682 | # Tags were collected from the corpus, 671 distinct tags found. | ||
| 683 | # Cleaned up suspicious combinations of features that were hard to replicate. | ||
| 684 | # 564 tags survived. | ||
| 685 | #------------------------------------------------------------------------------ | ||
| 686 | sub list | ||
| 687 | { | ||
| 688 | my $self = shift; | ||
| 689 | my $list = <<end_of_list | ||
| 690 | ? ? _ | ||
| 691 | adj adj <ALT>|<SUP>|M|S | ||
| 692 | adj adj <ALT>|F|P | ||
| 693 | adj adj <ALT>|F|S | ||
| 694 | adj adj <ALT>|M|S | ||
| 695 | adj adj <DERP>|<n>|M|P | ||
| 696 | adj adj <DERP>|F|P | ||
| 697 | adj adj <DERP>|F|S | ||
| 698 | adj adj <DERP>|M|P | ||
| 699 | adj adj <DERP>|M|S | ||
| 700 | adj adj <DERS>|<n>|M|P | ||
| 701 | adj adj <DERS>|F|P | ||
| 702 | adj adj <DERS>|F|S | ||
| 703 | adj adj <DERS>|M|P | ||
| 704 | adj adj <DERS>|M|S | ||
| 705 | adj adj <KOMP>|F|P | ||
| 706 | adj adj <KOMP>|F|S | ||
| 707 | adj adj <KOMP>|M/F|S | ||
| 708 | adj adj <KOMP>|M|P | ||
| 709 | adj adj <KOMP>|M|S | ||
| 710 | adj adj <NUM-ord>|F|P | ||
| 711 | adj adj <NUM-ord>|F|S | ||
| 712 | adj adj <NUM-ord>|M/F|S | ||
| 713 | adj adj <NUM-ord>|M|P | ||
| 714 | adj adj <NUM-ord>|M|S | ||
| 715 | adj adj <SUP>|F|P | ||
| 716 | adj adj <SUP>|F|S | ||
| 717 | adj adj <SUP>|M|P | ||
| 718 | adj adj <SUP>|M|S | ||
| 719 | adj adj <hyfen>|F|P | ||
| 720 | adj adj <n>|<KOMP>|F|P | ||
| 721 | adj adj <n>|<KOMP>|F|S | ||
| 722 | adj adj <n>|<KOMP>|M|P | ||
| 723 | adj adj <n>|<KOMP>|M|S | ||
| 724 | adj adj <n>|<NUM-ord>|F|P | ||
| 725 | adj adj <n>|<NUM-ord>|F|S | ||
| 726 | adj adj <n>|<NUM-ord>|M|P | ||
| 727 | adj adj <n>|<NUM-ord>|M|S | ||
| 728 | adj adj <n>|<SUP>|F|P | ||
| 729 | adj adj <n>|<SUP>|F|S | ||
| 730 | adj adj <n>|<SUP>|M|P | ||
| 731 | adj adj <n>|<SUP>|M|S | ||
| 732 | adj adj <n>|F|P | ||
| 733 | adj adj <n>|F|S | ||
| 734 | adj adj <n>|M/F|P | ||
| 735 | adj adj <n>|M/F|S | ||
| 736 | adj adj <n>|M|P | ||
| 737 | adj adj <n>|M|S | ||
| 738 | adj adj <prop>|<NUM-ord>|M|S | ||
| 739 | adj adj <prop>|F|P | ||
| 740 | adj adj <prop>|F|S | ||
| 741 | adj adj <prop>|M/F|S | ||
| 742 | adj adj <prop>|M|P | ||
| 743 | adj adj <prop>|M|S | ||
| 744 | adj adj F|P | ||
| 745 | adj adj F|S | ||
| 746 | adj adj M/F|P | ||
| 747 | adj adj M/F|S | ||
| 748 | adj adj M/F|S/P | ||
| 749 | adj adj M|P | ||
| 750 | adj adj M|S | ||
| 751 | adv adv <-sam> | ||
| 752 | adv adv <ALT> | ||
| 753 | adv adv <DERS> | ||
| 754 | adv adv <KOMP> | ||
| 755 | adv adv <SUP> | ||
| 756 | adv adv <co-acc> | ||
| 757 | adv adv <co-advl> | ||
| 758 | adv adv <co-prparg> | ||
| 759 | adv adv <co-sc> | ||
| 760 | adv adv <dem>|<quant> | ||
| 761 | adv adv <dem>|<quant>|<KOMP> | ||
| 762 | adv adv <foc> | ||
| 763 | adv adv <interr> | ||
| 764 | adv adv <interr>|<ks> | ||
| 765 | adv adv <kc> | ||
| 766 | adv adv <kc>|<-sam> | ||
| 767 | adv adv <kc>|<KOMP> | ||
| 768 | adv adv <kc>|<co-acc> | ||
| 769 | adv adv <kc>|<co-advl> | ||
| 770 | adv adv <kc>|<co-pass> | ||
| 771 | adv adv <kc>|<co-piv> | ||
| 772 | adv adv <kc>|<foc> | ||
| 773 | adv adv <ks> | ||
| 774 | adv adv <n>|<KOMP> | ||
| 775 | adv adv <prp> | ||
| 776 | adv adv <quant> | ||
| 777 | adv adv <quant>|<KOMP> | ||
| 778 | adv adv <quant>|<det> | ||
| 779 | adv adv <rel> | ||
| 780 | adv adv <rel>|<ks> | ||
| 781 | adv adv <rel>|<prp> | ||
| 782 | adv adv <rel>|<prp>|<co-advl> | ||
| 783 | adv adv <rel>|<quant> | ||
| 784 | adv adv <sam-> | ||
| 785 | adv adv _ | ||
| 786 | art art <-sam>|<artd>|F|P | ||
| 787 | art art <-sam>|<artd>|F|S | ||
| 788 | art art <-sam>|<artd>|M|P | ||
| 789 | art art <-sam>|<artd>|M|S | ||
| 790 | art art <-sam>|<arti>|F|S | ||
| 791 | art art <-sam>|<arti>|M|S | ||
| 792 | art art <-sam>|F|P | ||
| 793 | art art <-sam>|F|S | ||
| 794 | art art <-sam>|M|S | ||
| 795 | art art <ALT>|<artd>|F|S | ||
| 796 | art art <ALT>|F|S | ||
| 797 | art art <artd>|F|P | ||
| 798 | art art <artd>|F|S | ||
| 799 | art art <artd>|M|P | ||
| 800 | art art <artd>|M|S | ||
| 801 | art art <arti>|F|S | ||
| 802 | art art <arti>|M|S | ||
| 803 | art art F|P | ||
| 804 | art art F|S | ||
| 805 | art art M|P | ||
| 806 | art art M|S | ||
| 807 | conj conj-c <co-acc> | ||
| 808 | conj conj-c <co-advl> | ||
| 809 | conj conj-c <co-advo> | ||
| 810 | conj conj-c <co-advs> | ||
| 811 | conj conj-c <co-app> | ||
| 812 | conj conj-c <co-fmc> | ||
| 813 | conj conj-c <co-ger> | ||
| 814 | conj conj-c <co-inf> | ||
| 815 | conj conj-c <co-oc> | ||
| 816 | conj conj-c <co-pass> | ||
| 817 | conj conj-c <co-pcv> | ||
| 818 | conj conj-c <co-piv> | ||
| 819 | conj conj-c <co-postad> | ||
| 820 | conj conj-c <co-postnom> | ||
| 821 | conj conj-c <co-pred> | ||
| 822 | conj conj-c <co-prenom> | ||
| 823 | conj conj-c <co-prparg> | ||
| 824 | conj conj-c <co-sc> | ||
| 825 | conj conj-c <co-subj> | ||
| 826 | conj conj-c <co-vfin> | ||
| 827 | conj conj-c _ | ||
| 828 | conj conj-s <prp> | ||
| 829 | conj conj-s _ | ||
| 830 | ec ec _ | ||
| 831 | in in _ | ||
| 832 | n n <ALT>|F|S | ||
| 833 | n n <ALT>|M|P | ||
| 834 | n n <ALT>|M|S | ||
| 835 | n n <DERP>|F|P | ||
| 836 | n n <DERP>|F|S | ||
| 837 | n n <DERP>|M|P | ||
| 838 | n n <DERP>|M|S | ||
| 839 | n n <DERS>|F|P | ||
| 840 | n n <DERS>|F|S | ||
| 841 | n n <DERS>|M|P | ||
| 842 | n n <DERS>|M|S | ||
| 843 | n n <hyfen>|F|S | ||
| 844 | n n <hyfen>|M|P | ||
| 845 | n n <hyfen>|M|S | ||
| 846 | n n <prop>|F|P | ||
| 847 | n n <prop>|F|S | ||
| 848 | n n <prop>|M/F|S | ||
| 849 | n n <prop>|M|P | ||
| 850 | n n <prop>|M|S | ||
| 851 | n n F|P | ||
| 852 | n n F|S | ||
| 853 | n n F|S/P | ||
| 854 | n n M/F|P | ||
| 855 | n n M/F|S | ||
| 856 | n n M|P | ||
| 857 | n n M|S | ||
| 858 | n n M|S/P | ||
| 859 | num num <-sam>|<card>|M|S | ||
| 860 | num num <-sam>|M|S | ||
| 861 | num num <ALT>|<card>|M|P | ||
| 862 | num num <card>|F|P | ||
| 863 | num num <card>|F|S | ||
| 864 | num num <card>|M/F|P | ||
| 865 | num num <card>|M/F|S | ||
| 866 | num num <card>|M|P | ||
| 867 | num num <card>|M|S | ||
| 868 | num num <card>|M|S/P | ||
| 869 | num num <n>|<card>|M|P | ||
| 870 | num num <n>|<card>|M|S | ||
| 871 | num num <n>|M|P | ||
| 872 | num num <prop>|<card>|F|P | ||
| 873 | num num <prop>|<card>|M|P | ||
| 874 | num num F|P | ||
| 875 | num num M/F|P | ||
| 876 | num num M|P | ||
| 877 | num num M|S | ||
| 878 | pp pp <sam-> | ||
| 879 | pp pp _ | ||
| 880 | pron pron-det <-sam>|<dem>|F|P | ||
| 881 | pron pron-det <-sam>|<dem>|F|S | ||
| 882 | pron pron-det <-sam>|<dem>|M|P | ||
| 883 | pron pron-det <-sam>|<dem>|M|S | ||
| 884 | pron pron-det <-sam>|<diff>|F|P | ||
| 885 | pron pron-det <-sam>|<diff>|F|S | ||
| 886 | pron pron-det <-sam>|<diff>|M|P | ||
| 887 | pron pron-det <-sam>|<diff>|M|S | ||
| 888 | pron pron-det <-sam>|<quant>|F|P | ||
| 889 | pron pron-det <-sam>|<quant>|M|P | ||
| 890 | pron pron-det <dem>|<KOMP>|F|P | ||
| 891 | pron pron-det <dem>|<KOMP>|M|P | ||
| 892 | pron pron-det <dem>|F|P | ||
| 893 | pron pron-det <dem>|F|S | ||
| 894 | pron pron-det <dem>|M|P | ||
| 895 | pron pron-det <dem>|M|S | ||
| 896 | pron pron-det <diff>|F|P | ||
| 897 | pron pron-det <diff>|F|S | ||
| 898 | pron pron-det <diff>|M/F|S | ||
| 899 | pron pron-det <diff>|M|P | ||
| 900 | pron pron-det <diff>|M|S | ||
| 901 | pron pron-det <ident>|F|P | ||
| 902 | pron pron-det <ident>|F|S | ||
| 903 | pron pron-det <ident>|M|P | ||
| 904 | pron pron-det <ident>|M|S | ||
| 905 | pron pron-det <interr>|<quant>|F|P | ||
| 906 | pron pron-det <interr>|<quant>|M|P | ||
| 907 | pron pron-det <interr>|<quant>|M|S | ||
| 908 | pron pron-det <interr>|F|P | ||
| 909 | pron pron-det <interr>|F|S | ||
| 910 | pron pron-det <interr>|M/F|S | ||
| 911 | pron pron-det <interr>|M/F|S/P | ||
| 912 | pron pron-det <interr>|M|P | ||
| 913 | pron pron-det <interr>|M|S | ||
| 914 | pron pron-det <n>|<dem>|M|S | ||
| 915 | pron pron-det <poss|1P>|F|P | ||
| 916 | pron pron-det <poss|1P>|F|S | ||
| 917 | pron pron-det <poss|1P>|M|P | ||
| 918 | pron pron-det <poss|1P>|M|S | ||
| 919 | pron pron-det <poss|1S>|F|P | ||
| 920 | pron pron-det <poss|1S>|F|S | ||
| 921 | pron pron-det <poss|1S>|M|P | ||
| 922 | pron pron-det <poss|1S>|M|S | ||
| 923 | pron pron-det <poss|2P>|F|S | ||
| 924 | pron pron-det <poss|2P>|M|S | ||
| 925 | pron pron-det <poss|2S>|M|S | ||
| 926 | pron pron-det <poss|3P>|<si>|F|P | ||
| 927 | pron pron-det <poss|3P>|<si>|F|S | ||
| 928 | pron pron-det <poss|3P>|<si>|M|P | ||
| 929 | pron pron-det <poss|3P>|<si>|M|S | ||
| 930 | pron pron-det <poss|3P>|F|S | ||
| 931 | pron pron-det <poss|3P>|M|P | ||
| 932 | pron pron-det <poss|3P>|M|S | ||
| 933 | pron pron-det <poss|3S/P>|<si>|F|S | ||
| 934 | pron pron-det <poss|3S/P>|<si>|M|S | ||
| 935 | pron pron-det <poss|3S/P>|F|S | ||
| 936 | pron pron-det <poss|3S/P>|M|P | ||
| 937 | pron pron-det <poss|3S>|<si>|F|P | ||
| 938 | pron pron-det <poss|3S>|<si>|F|S | ||
| 939 | pron pron-det <poss|3S>|<si>|M|P | ||
| 940 | pron pron-det <poss|3S>|<si>|M|S | ||
| 941 | pron pron-det <poss|3S>|F|P | ||
| 942 | pron pron-det <poss|3S>|F|S | ||
| 943 | pron pron-det <poss|3S>|M|P | ||
| 944 | pron pron-det <poss|3S>|M|S | ||
| 945 | pron pron-det <quant>|<KOMP>|F|P | ||
| 946 | pron pron-det <quant>|<KOMP>|F|S | ||
| 947 | pron pron-det <quant>|<KOMP>|M/F|S/P | ||
| 948 | pron pron-det <quant>|<KOMP>|M|P | ||
| 949 | pron pron-det <quant>|<KOMP>|M|S | ||
| 950 | pron pron-det <quant>|<SUP>|M|S | ||
| 951 | pron pron-det <quant>|F|P | ||
| 952 | pron pron-det <quant>|F|S | ||
| 953 | pron pron-det <quant>|M/F|P | ||
| 954 | pron pron-det <quant>|M/F|S | ||
| 955 | pron pron-det <quant>|M/F|S/P | ||
| 956 | pron pron-det <quant>|M|P | ||
| 957 | pron pron-det <quant>|M|S | ||
| 958 | pron pron-det <rel>|F|P | ||
| 959 | pron pron-det <rel>|F|S | ||
| 960 | pron pron-det <rel>|M|P | ||
| 961 | pron pron-det <rel>|M|S | ||
| 962 | pron pron-det F|P | ||
| 963 | pron pron-det F|S | ||
| 964 | pron pron-det M/F|S | ||
| 965 | pron pron-det M|P | ||
| 966 | pron pron-det M|S | ||
| 967 | pron pron-det M|S/P | ||
| 968 | pron pron-indp <-sam>|<dem>|M|S | ||
| 969 | pron pron-indp <-sam>|<rel>|F|P | ||
| 970 | pron pron-indp <-sam>|<rel>|F|S | ||
| 971 | pron pron-indp <-sam>|<rel>|M|P | ||
| 972 | pron pron-indp <-sam>|<rel>|M|S | ||
| 973 | pron pron-indp <ALT>|<rel>|F|S | ||
| 974 | pron pron-indp <dem>|M/F|S/P | ||
| 975 | pron pron-indp <dem>|M|S | ||
| 976 | pron pron-indp <diff>|M|S | ||
| 977 | pron pron-indp <interr>|F|P | ||
| 978 | pron pron-indp <interr>|F|S | ||
| 979 | pron pron-indp <interr>|M/F|P | ||
| 980 | pron pron-indp <interr>|M/F|S | ||
| 981 | pron pron-indp <interr>|M/F|S/P | ||
| 982 | pron pron-indp <interr>|M|P | ||
| 983 | pron pron-indp <interr>|M|S | ||
| 984 | pron pron-indp <quant>|M/F|S | ||
| 985 | pron pron-indp <quant>|M|S | ||
| 986 | pron pron-indp <rel>|F|P | ||
| 987 | pron pron-indp <rel>|F|S | ||
| 988 | pron pron-indp <rel>|M/F|P | ||
| 989 | pron pron-indp <rel>|M/F|S | ||
| 990 | pron pron-indp <rel>|M/F|S/P | ||
| 991 | pron pron-indp <rel>|M|P | ||
| 992 | pron pron-indp <rel>|M|S | ||
| 993 | pron pron-indp F|S | ||
| 994 | pron pron-indp M/F|S | ||
| 995 | pron pron-indp M/F|S/P | ||
| 996 | pron pron-indp M|P | ||
| 997 | pron pron-indp M|S | ||
| 998 | pron pron-indp M|S/P | ||
| 999 | pron pron-pers <-sam>|<refl>|F|3S|PIV | ||
| 1000 | pron pron-pers <-sam>|<refl>|M|3S|PIV | ||
| 1001 | pron pron-pers <-sam>|F|1P|PIV | ||
| 1002 | pron pron-pers <-sam>|F|1S|PIV | ||
| 1003 | pron pron-pers <-sam>|F|3P|NOM | ||
| 1004 | pron pron-pers <-sam>|F|3P|NOM/PIV | ||
| 1005 | pron pron-pers <-sam>|F|3P|PIV | ||
| 1006 | pron pron-pers <-sam>|F|3S|ACC | ||
| 1007 | pron pron-pers <-sam>|F|3S|NOM/PIV | ||
| 1008 | pron pron-pers <-sam>|F|3S|PIV | ||
| 1009 | pron pron-pers <-sam>|M/F|2P|PIV | ||
| 1010 | pron pron-pers <-sam>|M|3P|NOM | ||
| 1011 | pron pron-pers <-sam>|M|3P|NOM/PIV | ||
| 1012 | pron pron-pers <-sam>|M|3P|PIV | ||
| 1013 | pron pron-pers <-sam>|M|3S|ACC | ||
| 1014 | pron pron-pers <-sam>|M|3S|NOM | ||
| 1015 | pron pron-pers <-sam>|M|3S|NOM/PIV | ||
| 1016 | pron pron-pers <-sam>|M|3S|PIV | ||
| 1017 | pron pron-pers <hyfen>|<refl>|F|3S|ACC | ||
| 1018 | pron pron-pers <hyfen>|<refl>|M/F|1S|DAT | ||
| 1019 | pron pron-pers <hyfen>|F|3S|ACC | ||
| 1020 | pron pron-pers <hyfen>|M/F|3S/P|ACC | ||
| 1021 | pron pron-pers <hyfen>|M|3S|ACC | ||
| 1022 | pron pron-pers <hyfen>|M|3S|DAT | ||
| 1023 | pron pron-pers <reci>|F|3P|ACC | ||
| 1024 | pron pron-pers <reci>|M|3P|ACC | ||
| 1025 | pron pron-pers <refl>|<coll>|F|3P|ACC | ||
| 1026 | pron pron-pers <refl>|<coll>|M/F|3P|ACC | ||
| 1027 | pron pron-pers <refl>|<coll>|M|3P|ACC | ||
| 1028 | pron pron-pers <refl>|<coll>|M|3S|ACC | ||
| 1029 | pron pron-pers <refl>|F|1S|ACC | ||
| 1030 | pron pron-pers <refl>|F|1S|DAT | ||
| 1031 | pron pron-pers <refl>|F|3P|ACC | ||
| 1032 | pron pron-pers <refl>|F|3S|ACC | ||
| 1033 | pron pron-pers <refl>|F|3S|DAT | ||
| 1034 | pron pron-pers <refl>|F|3S|PIV | ||
| 1035 | pron pron-pers <refl>|M/F|1P|ACC | ||
| 1036 | pron pron-pers <refl>|M/F|1P|ACC/DAT | ||
| 1037 | pron pron-pers <refl>|M/F|1P|DAT | ||
| 1038 | pron pron-pers <refl>|M/F|1S|ACC | ||
| 1039 | pron pron-pers <refl>|M/F|1S|DAT | ||
| 1040 | pron pron-pers <refl>|M/F|2P|DAT | ||
| 1041 | pron pron-pers <refl>|M/F|3P|ACC | ||
| 1042 | pron pron-pers <refl>|M/F|3S/P|ACC | ||
| 1043 | pron pron-pers <refl>|M/F|3S/P|ACC/DAT | ||
| 1044 | pron pron-pers <refl>|M/F|3S/P|DAT | ||
| 1045 | pron pron-pers <refl>|M/F|3S/P|PIV | ||
| 1046 | pron pron-pers <refl>|M/F|3S|ACC | ||
| 1047 | pron pron-pers <refl>|M/F|3S|PIV | ||
| 1048 | pron pron-pers <refl>|M|1P|ACC | ||
| 1049 | pron pron-pers <refl>|M|1P|DAT | ||
| 1050 | pron pron-pers <refl>|M|1S|ACC | ||
| 1051 | pron pron-pers <refl>|M|1S|DAT | ||
| 1052 | pron pron-pers <refl>|M|2S|ACC | ||
| 1053 | pron pron-pers <refl>|M|3P|ACC | ||
| 1054 | pron pron-pers <refl>|M|3P|DAT | ||
| 1055 | pron pron-pers <refl>|M|3P|PIV | ||
| 1056 | pron pron-pers <refl>|M|3S/P|ACC | ||
| 1057 | pron pron-pers <refl>|M|3S|ACC | ||
| 1058 | pron pron-pers <refl>|M|3S|DAT | ||
| 1059 | pron pron-pers <refl>|M|3S|PIV | ||
| 1060 | pron pron-pers <sam->|M/F|3S|DAT | ||
| 1061 | pron pron-pers F|1P|NOM/PIV | ||
| 1062 | pron pron-pers F|1P|PIV | ||
| 1063 | pron pron-pers F|1S|ACC | ||
| 1064 | pron pron-pers F|1S|NOM | ||
| 1065 | pron pron-pers F|1S|PIV | ||
| 1066 | pron pron-pers F|3P|ACC | ||
| 1067 | pron pron-pers F|3P|DAT | ||
| 1068 | pron pron-pers F|3P|NOM | ||
| 1069 | pron pron-pers F|3P|NOM/PIV | ||
| 1070 | pron pron-pers F|3P|PIV | ||
| 1071 | pron pron-pers F|3S/P|ACC | ||
| 1072 | pron pron-pers F|3S|ACC | ||
| 1073 | pron pron-pers F|3S|DAT | ||
| 1074 | pron pron-pers F|3S|NOM | ||
| 1075 | pron pron-pers F|3S|NOM/PIV | ||
| 1076 | pron pron-pers F|3S|PIV | ||
| 1077 | pron pron-pers M/F|1P|ACC | ||
| 1078 | pron pron-pers M/F|1P|DAT | ||
| 1079 | pron pron-pers M/F|1P|NOM | ||
| 1080 | pron pron-pers M/F|1P|NOM/PIV | ||
| 1081 | pron pron-pers M/F|1P|PIV | ||
| 1082 | pron pron-pers M/F|1S|ACC | ||
| 1083 | pron pron-pers M/F|1S|DAT | ||
| 1084 | pron pron-pers M/F|1S|NOM | ||
| 1085 | pron pron-pers M/F|1S|PIV | ||
| 1086 | pron pron-pers M/F|2P|ACC | ||
| 1087 | pron pron-pers M/F|2P|NOM | ||
| 1088 | pron pron-pers M/F|2P|PIV | ||
| 1089 | pron pron-pers M/F|3P|ACC | ||
| 1090 | pron pron-pers M/F|3P|DAT | ||
| 1091 | pron pron-pers M/F|3P|NOM | ||
| 1092 | pron pron-pers M/F|3S/P|ACC | ||
| 1093 | pron pron-pers M/F|3S|ACC | ||
| 1094 | pron pron-pers M/F|3S|DAT | ||
| 1095 | pron pron-pers M/F|3S|NOM | ||
| 1096 | pron pron-pers M/F|3S|NOM/PIV | ||
| 1097 | pron pron-pers M|1P|ACC | ||
| 1098 | pron pron-pers M|1P|DAT | ||
| 1099 | pron pron-pers M|1P|NOM | ||
| 1100 | pron pron-pers M|1P|NOM/PIV | ||
| 1101 | pron pron-pers M|1S|ACC | ||
| 1102 | pron pron-pers M|1S|DAT | ||
| 1103 | pron pron-pers M|1S|NOM | ||
| 1104 | pron pron-pers M|1S|PIV | ||
| 1105 | pron pron-pers M|2S|ACC | ||
| 1106 | pron pron-pers M|2S|PIV | ||
| 1107 | pron pron-pers M|3P|ACC | ||
| 1108 | pron pron-pers M|3P|DAT | ||
| 1109 | pron pron-pers M|3P|NOM | ||
| 1110 | pron pron-pers M|3P|NOM/PIV | ||
| 1111 | pron pron-pers M|3P|PIV | ||
| 1112 | pron pron-pers M|3S | ||
| 1113 | pron pron-pers M|3S/P|ACC | ||
| 1114 | pron pron-pers M|3S|ACC | ||
| 1115 | pron pron-pers M|3S|DAT | ||
| 1116 | pron pron-pers M|3S|NOM | ||
| 1117 | pron pron-pers M|3S|NOM/PIV | ||
| 1118 | pron pron-pers M|3S|PIV | ||
| 1119 | prop prop <ALT>|F|S | ||
| 1120 | prop prop <ALT>|M|S | ||
| 1121 | prop prop <DERS>|M|S | ||
| 1122 | prop prop <hyfen>|F|P | ||
| 1123 | prop prop <hyfen>|F|S | ||
| 1124 | prop prop <hyfen>|M|S | ||
| 1125 | prop prop F|P | ||
| 1126 | prop prop F|S | ||
| 1127 | prop prop M/F|P | ||
| 1128 | prop prop M/F|S | ||
| 1129 | prop prop M/F|S/P | ||
| 1130 | prop prop M|P | ||
| 1131 | prop prop M|S | ||
| 1132 | prp prp <ALT> | ||
| 1133 | prp prp <kc> | ||
| 1134 | prp prp <kc>|<co-acc> | ||
| 1135 | prp prp <kc>|<co-prparg> | ||
| 1136 | prp prp <ks> | ||
| 1137 | prp prp <sam-> | ||
| 1138 | prp prp <sam->|<co-acc> | ||
| 1139 | prp prp <sam->|<kc> | ||
| 1140 | prp prp _ | ||
| 1141 | punc punc _ | ||
| 1142 | v v-fin <ALT>|IMPF|3S|IND | ||
| 1143 | v v-fin <ALT>|IMPF|3S|SUBJ | ||
| 1144 | v v-fin <ALT>|PR|3S|IND | ||
| 1145 | v v-fin <ALT>|PS|3S|IND | ||
| 1146 | v v-fin <ALT>|PS|3S|SUBJ | ||
| 1147 | v v-fin <DERP>|PR|1S|IND | ||
| 1148 | v v-fin <DERP>|PR|3P|IND | ||
| 1149 | v v-fin <DERP>|PR|3S|IND | ||
| 1150 | v v-fin <DERP>|PS|3S|IND | ||
| 1151 | v v-fin <hyfen>|COND|1S | ||
| 1152 | v v-fin <hyfen>|COND|3S | ||
| 1153 | v v-fin <hyfen>|FUT|3S|IND | ||
| 1154 | v v-fin <hyfen>|IMPF|1S|IND | ||
| 1155 | v v-fin <hyfen>|IMPF|3P|IND | ||
| 1156 | v v-fin <hyfen>|IMPF|3S|IND | ||
| 1157 | v v-fin <hyfen>|MQP|1/3S|IND | ||
| 1158 | v v-fin <hyfen>|MQP|3S|IND | ||
| 1159 | v v-fin <hyfen>|PR|1/3S|SUBJ | ||
| 1160 | v v-fin <hyfen>|PR|1P|IND | ||
| 1161 | v v-fin <hyfen>|PR|1S|IND | ||
| 1162 | v v-fin <hyfen>|PR|3P|IND | ||
| 1163 | v v-fin <hyfen>|PR|3P|SUBJ | ||
| 1164 | v v-fin <hyfen>|PR|3S|IND | ||
| 1165 | v v-fin <hyfen>|PR|3S|SUBJ | ||
| 1166 | v v-fin <hyfen>|PS/MQP|3P|IND | ||
| 1167 | v v-fin <hyfen>|PS|1S|IND | ||
| 1168 | v v-fin <hyfen>|PS|2S|IND | ||
| 1169 | v v-fin <hyfen>|PS|3P|IND | ||
| 1170 | v v-fin <hyfen>|PS|3S|IND | ||
| 1171 | v v-fin <n>|PR|3S|IND | ||
| 1172 | v v-fin COND|1/3S | ||
| 1173 | v v-fin COND|1P | ||
| 1174 | v v-fin COND|1S | ||
| 1175 | v v-fin COND|3P | ||
| 1176 | v v-fin COND|3S | ||
| 1177 | v v-fin FUT|1/3S|SUBJ | ||
| 1178 | v v-fin FUT|1P|IND | ||
| 1179 | v v-fin FUT|1P|SUBJ | ||
| 1180 | v v-fin FUT|1S|IND | ||
| 1181 | v v-fin FUT|1S|SUBJ | ||
| 1182 | v v-fin FUT|2S|IND | ||
| 1183 | v v-fin FUT|3P|IND | ||
| 1184 | v v-fin FUT|3P|SUBJ | ||
| 1185 | v v-fin FUT|3S|IND | ||
| 1186 | v v-fin FUT|3S|SUBJ | ||
| 1187 | v v-fin IMPF|1/3S|IND | ||
| 1188 | v v-fin IMPF|1/3S|SUBJ | ||
| 1189 | v v-fin IMPF|1P|IND | ||
| 1190 | v v-fin IMPF|1P|SUBJ | ||
| 1191 | v v-fin IMPF|1S|IND | ||
| 1192 | v v-fin IMPF|1S|SUBJ | ||
| 1193 | v v-fin IMPF|3P|IND | ||
| 1194 | v v-fin IMPF|3P|SUBJ | ||
| 1195 | v v-fin IMPF|3S|IND | ||
| 1196 | v v-fin IMPF|3S|SUBJ | ||
| 1197 | v v-fin IMP|2S | ||
| 1198 | v v-fin MQP|1/3S|IND | ||
| 1199 | v v-fin MQP|1S|IND | ||
| 1200 | v v-fin MQP|3P|IND | ||
| 1201 | v v-fin MQP|3S|IND | ||
| 1202 | v v-fin PR/PS|1P|IND | ||
| 1203 | v v-fin PR|1/3S|SUBJ | ||
| 1204 | v v-fin PR|1P|IND | ||
| 1205 | v v-fin PR|1P|SUBJ | ||
| 1206 | v v-fin PR|1S|IND | ||
| 1207 | v v-fin PR|1S|SUBJ | ||
| 1208 | v v-fin PR|2P|IND | ||
| 1209 | v v-fin PR|2S|IND | ||
| 1210 | v v-fin PR|2S|SUBJ | ||
| 1211 | v v-fin PR|3P|IND | ||
| 1212 | v v-fin PR|3P|SUBJ | ||
| 1213 | v v-fin PR|3S | ||
| 1214 | v v-fin PR|3S|IND | ||
| 1215 | v v-fin PR|3S|SUBJ | ||
| 1216 | v v-fin PS/MQP|3P|IND | ||
| 1217 | v v-fin PS|1/3S|IND | ||
| 1218 | v v-fin PS|1P|IND | ||
| 1219 | v v-fin PS|1S|IND | ||
| 1220 | v v-fin PS|2S|IND | ||
| 1221 | v v-fin PS|3P|IND | ||
| 1222 | v v-fin PS|3S|IND | ||
| 1223 | v v-ger <ALT> | ||
| 1224 | v v-ger <hyfen> | ||
| 1225 | v v-ger _ | ||
| 1226 | v v-inf 1/3S | ||
| 1227 | v v-inf 1P | ||
| 1228 | v v-inf 1S | ||
| 1229 | v v-inf 3P | ||
| 1230 | v v-inf 3S | ||
| 1231 | v v-inf <DERP> | ||
| 1232 | v v-inf <DERS> | ||
| 1233 | v v-inf <hyfen> | ||
| 1234 | v v-inf <hyfen>|1S | ||
| 1235 | v v-inf <hyfen>|3P | ||
| 1236 | v v-inf <hyfen>|3S | ||
| 1237 | v v-inf <n> | ||
| 1238 | v v-inf <n>|3S | ||
| 1239 | v v-inf _ | ||
| 1240 | v v-pcp <ALT>|F|S | ||
| 1241 | v v-pcp <DERP>|M|P | ||
| 1242 | v v-pcp <DERS>|F|P | ||
| 1243 | v v-pcp <DERS>|M|S | ||
| 1244 | v v-pcp <n>|F|P | ||
| 1245 | v v-pcp <n>|F|S | ||
| 1246 | v v-pcp <n>|M|P | ||
| 1247 | v v-pcp <n>|M|S | ||
| 1248 | v v-pcp <prop>|F|S | ||
| 1249 | v v-pcp <prop>|M|P | ||
| 1250 | v v-pcp F|P | ||
| 1251 | v v-pcp F|S | ||
| 1252 | v v-pcp M|P | ||
| 1253 | v v-pcp M|S | ||
| 1254 | end_of_list | ||
| 1255 | ; | ||
| 1256 | # Protect from editors that replace tabs by spaces. | ||
| 1257 | $list =~ s/ \s+/\t/sg; | ||
| 1258 | my @list = split(/\r?\n/, $list); | ||
| 1259 | return \@list; | ||
| 1260 | } | ||
| 1261 | |||
| 1262 | |||
| 1263 | |||
| 1264 | 1; | ||
| 1265 | |||
| 1266 | __END__ | ||
| 1267 | |||
| 1268 | =pod | ||
| 1269 | |||
| 1270 | =encoding UTF-8 | ||
| 1271 | |||
| 1272 | =head1 NAME | ||
| 1273 | |||
| 1274 | Lingua::Interset::Tagset::PT::Conll - Driver for the Portuguese tagset of the CoNLL 2006 Shared Task (derived from the Bosque / Floresta sintá(c)tica treebank). | ||
| 1275 | |||
| 1276 | =head1 VERSION | ||
| 1277 | |||
| 1278 | version 3.015 | ||
| 1279 | |||
| 1280 | =head1 SYNOPSIS | ||
| 1281 | |||
| 1282 | use Lingua::Interset::Tagset::PT::Conll; | ||
| 1283 | my $driver = Lingua::Interset::Tagset::PT::Conll->new(); | ||
| 1284 | my $fs = $driver->decode("n\tn\tM|S"); | ||
| 1285 | |||
| 1286 | or | ||
| 1287 | |||
| 1288 | use Lingua::Interset qw(decode); | ||
| 1289 | my $fs = decode('pt::conll', "n\tn\tM|S"); | ||
| 1290 | |||
| 1291 | =head1 DESCRIPTION | ||
| 1292 | |||
| 1293 | Interset driver for the Portuguese tagset of the CoNLL 2006 Shared Task. | ||
| 1294 | CoNLL tagsets in Interset are traditionally three values separated by tabs. | ||
| 1295 | The values come from the CoNLL columns CPOS, POS and FEAT. For Portuguese, | ||
| 1296 | these values are derived from the tagset of the Bosque treebank (part of Floresta sintá(c)tica). | ||
| 1297 | |||
| 1298 | =head1 SEE ALSO | ||
| 1299 | |||
| 1300 | L<Lingua::Interset>, | ||
| 1301 | L<Lingua::Interset::Tagset>, | ||
| 1302 | L<Lingua::Interset::Tagset::Conll>, | ||
| 1303 | L<Lingua::Interset::FeatureStructure> | ||
| 1304 | |||
| 1305 | =head1 AUTHOR | ||
| 1306 | |||
| 1307 | Dan Zeman <zeman@ufal.mff.cuni.cz> | ||
| 1308 | |||
| 1309 | =head1 COPYRIGHT AND LICENSE | ||
| 1310 | |||
| 1311 | This software is copyright (c) 2019 by Univerzita Karlova (Charles University). | ||
| 1312 | |||
| 1313 | This is free software; you can redistribute it and/or modify it under | ||
| 1314 | the same terms as the Perl 5 programming language system itself. | ||
| 1315 | |||
| 1316 | =cut |