Orthographic variation in Apertium

From Apertium
Jump to navigation Jump to search

Weights, XML, no regex, append tags

Ideas:

  <alphabet></alphabet>
  <rules>
    <rule weight="0.1" append="err_orth">
      <a/>r<p><l>u</l><r>o</r></p>
    </rule> <!-- [ ?* | [ ?* r [ u -> o ] .#. ]::0.0 -->
  </rules>

Things can be external to the dictionary and internal to the dictionary.



See also[edit]