Paradigm mapping

From Apertium
Jump to navigation Jump to search

A paradigm mapping is used by Apertium-dixtools for something or other. (Crossdix maybe?)

It 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>