Paradigm mapping

From Apertium
Revision as of 16:18, 17 April 2011 by Jimregan (talk | contribs) (brief explanation)
Jump to navigation Jump to search

A paradigm mapping provides a way to give a list of bilingual entries to map to a set of paradigms.

Only fundamental direction restrictions should be added to the mappings - usually, where one of the "special" symbols ND, GD, or CD is used.

<mappings>
  <mapping>
    <left>
      <paradigm n="house__n"/>
      <paradigm n="bab/y__n"/>
    </left>
    <right>
      <paradigm n="alb/atros__n"/>
      <paradigm n="t/oner__n"/>
      <paradigm n="m/áster__n"/>
    </right>
    <entries>
      <e><p><l><s n="n"/></l><r><s n="n"/><s n="m"/></r></p></e>
    </entries>
  </mapping>
  <mapping>
    <left>
      <paradigm n="house__n"/>
      <paradigm n="bab/y__n"/>
    </left>
    <right>
      <paradigm n="abeja__n"/>
    </right>
    <entries>
      <e><p><l><s n="n"/></l><r><s n="n"/><s n="f"/></r></p></e>
    </entries>
  </mapping>
</mappings>