Difference between revisions of "Orthographic variation in Apertium"

From Apertium
Jump to navigation Jump to search
(Created page with " Weights, XML, no regex <pre> <rule weight="0.0"> <w/>r<eq l="u" r="o"/> </rule> <!-- [ ?* | [ ?* r [ u -> o ] .#. ]::0.0 --> </pre> == See also == * ACX")
 
Line 1: Line 1:


Weights, XML, no regex
Weights, XML, no regex, append tags


Ideas:
<pre>
<rule weight="0.0">
<w/>r<eq l="u" r="o"/>
</rule> <!-- [ ?* | [ ?* r [ u -> o ] .#. ]::0.0 -->


<pre>
<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>
</pre>
</pre>



Revision as of 23:54, 30 June 2020

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>


See also