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")
 
 
(One intermediate revision by the same user not shown)
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>

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







Latest revision as of 17:56, 2 July 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>

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



See also[edit]