Apertium has moved from SourceForge to GitHub.
If you have any questions, please come and talk to us on #apertium on irc.freenode.net or contact the GitHub migration team.

Marathi-Hindi Developer Documentation

From Apertium
Revision as of 05:14, 28 January 2018 by Shardulc (Talk | contribs)

Jump to: navigation, search

This is documentation of significant changes made to apertium-mar-hin (and the individual language modules apertium-mar and apertium-hin) since 20171128.

Contents

apertium-mar

Genitives

Consider the Marathi phrases:

  • त्याचा घोडा (tyacha ghoda) = his horse
  • त्याची गाय (tyachi gaay) = his cow
  • तिचा घोडा (ticha ghoda) = her horse
  • तिची गाय (tichi gaay) = her cow

The possessive determiners are affected by the gender of the possessor—'his' versus 'her'—and also the gender of the possessed—घोडा (ghoda) is grammatically masculine and गाय (gaay) is feminine. So the analysis of the determiners must have separate lemmas for the possessor part and the possessed part, so that both genders can be specified. Thus these are analyzed as

  • ^त्याचा/तो<det><dist><m><sg><obl>+च<gen><m><sg><nom>$ ^घोडा/घोडा<n><m><sg><nom>$
  • ^त्याची/तो<det><dist><m><sg><obl>+च<gen><f><sg><nom>$ ^गाय/गाय<n><f><sg><nom>$
  • ^तिचा/तो<det><dist><f><sg><obl>+च<gen><m><sg><nom>$ ^घोडा/घोडा<n><m><sg><nom>$
  • ^तिची/तो<det><dist><f><sg><obl>+च<gen><f><sg><nom>$ ^गाय/गाय<n><f><sg><nom>$

The reason for the <obl> is explained in a section below.

Note: The च<gen> lemma is the genitive marker for almost all words which can take a genitive: determiners like those above, nouns, postpositions, etc. The only exceptions are some determiners such as माझा (my (masc. sg.)), आपला (our (incl., masc. sg.)), etc. These are nevertheless analyzed as ^माझा/मी<det><p1><mf><sg><obl>+च<gen><m><sg><nom>$ etc. using the same lemma.

Another note: Marathi has three grammatical genders and two grammatical numbers, all of which have the above phenomenon.

Analysis of pronouns and determiners

Clitics

Constraint Grammar rules

apertium-mar-hin

Gender and number agreement

Personal tools