Difference between revisions of "Paradigm mapping"

From Apertium
Jump to navigation Jump to search
m (brief explanation)
 
Line 1: Line 1:
A paradigm mapping is used by [[Apertium-dixtools]] for something or other. (Crossdix maybe?)
A paradigm mapping provides a way to give a list of bilingual entries to map to a set of paradigms.

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.
Only fundamental direction restrictions should be added to the mappings - usually, where one of the "special" symbols ND, GD, or CD is used.
Line 33: Line 35:
</mappings>
</mappings>
</pre>
</pre>


[[Category:Dixtools]]
[[Category:Documentation in English]]

Latest revision as of 07:28, 29 October 2012

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>