Difference between revisions of "Paradigm mapping"

From Apertium
Jump to navigation Jump to search
m (sample mapping xml file - nothing to see here, yet)
 
m (brief explanation)
Line 1: Line 1:
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.

<pre>
<pre>
<mappings>
<mappings>

Revision as of 16:18, 17 April 2011

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>