Monodix

From Apertium
Revision as of 10:42, 24 March 2012 by Bech (talk | contribs) (Category:Documentation in English)
Jump to navigation Jump to search

Monodix (from monolingual dictionary, plural: monodices) is a French-sounding term invented by Youssefsan (Youssef Oualmakran)] to refer to an Apertium monolingual dictionary in .dix format.

Notes

Postgenerator alarms

Many monodixes handle postgenerator alarms <a/> explicitly in each entry. As a result, left-to-right entries have to be separated from right-to-left entries. However, it could be much easier to write a paradigm like

<pardef n="wiggle">
    <e r="LR">
       <i/>
    </e>
    <e r="RL">
        <l><a/></l>
        <r></r>
    </e>
</pardef>

and then invoke it in entries as follows

<e lm="a">
   <par n="wiggle"/>
   <i>a</i>
   </par n="a__pr"/>
</e>

This suggests that perhaps it would be even easier to change the meaning of <a/> so that it only works right to left, or perhaps endow it with the r attribute as follows: <a r="RL"/>.

See also