Difference between revisions of "Monodix"
Jump to navigation
Jump to search
(Category:Documentation in English) |
(move to lttoolbox) |
||
Line 1: | Line 1: | ||
'''Monodix''' (from '''mono'''lingual '''dict'''ionary, plural: ''monodices'') is a French-sounding term invented by [[User:Youssefsan|Youssefsan]] (Youssef Oualmakran)] to refer to an Apertium monolingual dictionary in .dix format. |
'''Monodix''' (from '''mono'''lingual '''dict'''ionary, plural: ''monodices'') is a French-sounding term invented by [[User:Youssefsan|Youssefsan]] (Youssef Oualmakran)] to refer to an Apertium monolingual dictionary in .dix format. |
||
==Notes== |
|||
; Postgenerator alarms |
|||
Many monodixes handle postgenerator alarms <code><a/></code> 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 |
|||
<pre> |
|||
<pardef n="wiggle"> |
|||
<e r="LR"> |
|||
<i/> |
|||
</e> |
|||
<e r="RL"> |
|||
<l><a/></l> |
|||
<r></r> |
|||
</e> |
|||
</pardef> |
|||
</pre> |
|||
and then invoke it in entries as follows |
|||
<pre> |
|||
<e lm="a"> |
|||
<par n="wiggle"/> |
|||
<i>a</i> |
|||
</par n="a__pr"/> |
|||
</e> |
|||
</pre> |
|||
This suggests that perhaps it would be even easier to change the meaning of <code><a/></code> so that it only works right to left, or perhaps endow it with the <code>r</code> attribute as follows: <code><a r="RL"/></code>. |
|||
==See also== |
==See also== |
Revision as of 13:59, 10 March 2014
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.