Northern Sámi and Norwegian/anaphora

From Apertium
< Northern Sámi and Norwegian
Revision as of 13:01, 14 July 2010 by Unhammer (talk | contribs) (Created page with 'There is some simple anaphora resolution in apertium-sme-nob. Most of this happens in t2x (the first interchunk stage). A subject (or habitive) will set the variable "ana_gen" t…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

There is some simple anaphora resolution in apertium-sme-nob. Most of this happens in t2x (the first interchunk stage).

A subject (or habitive) will set the variable "ana_gen" to its gender, and additionally, if it is masc or fem, set the variable "ana_m_f" to its gender. Any other adj, noun or verb chunk tagged GD (or having no gender tag) will use the "ana_gen" gender. If it is tagged "GD_pers", "ana_m_f" is used -- this is useful for words which are definitely animate, like son.

TODO

Nickel gives this example:

Anne muitalii, ahte son lea leamaš Norggas.

here son == Anne, thus feminine

Anne jearai, ahte mii dan namma lei?

here dan != Anne

We _could_ keep a second-to-last subject, but this might quickly get too complex. TODO: get more examples.