CompLin / nheengatu

Tools and resources for the computational processing of Nheengatu (Modern Tupi)
7 stars 1 forks source link

lema espúrio "irũmu" em `Alencar2021:0:0:56` #536

Closed leoalenc closed 2 months ago

leoalenc commented 2 months ago

Atualmente, temos no glossário:

irumu (posp. / sconj.) - com irũmu (posp. / sconj.) - var. irumu [...] irũ (posp. / sconj.) - var. irumu

leoalenc commented 2 months ago

Avila (2021):

irumu (var. irũ) 1) (posp.) com [...]

leoalenc commented 2 months ago
>>> sents=Yauti.extractConlluSents(Yauti.TREEBANK_PATH)
>>> for sent in sents:
    w='irũmu'
    irumu=sent.filter(lemma=w) or sent.filter(form=w)
    if irumu:
        print(sent.metadata['sent_id'])

Alencar2021:0:0:19
Navarro2016:2:2:47
Navarro2016:0:0:58
Navarro2016:3:1:90
Navarro2016:0:0:123
Navarro2016:4:6:173
Navarro2016:4:8:175
Navarro2016:4:10:177
>>> issue536(sents)
>>> for sent in sents:
    w='irũmu'
    irumu=sent.filter(lemma=w) or sent.filter(form=w)
    if irumu:
        print(sent.metadata['sent_id'])

>>>