Skip to content

Commit

Permalink
[ca] new rule DEU_NI_DO
Browse files Browse the repository at this point in the history
  • Loading branch information
jaumeortola committed Jan 5, 2021
1 parent 1bff711 commit 41cb5d0
Showing 1 changed file with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25586,6 +25586,32 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
<example correction="Pearl Harbor">L'atac a <marker>pearl harbor</marker>.</example>
<example>Pearl Harbor</example>
</rule>
<rule id="DEU_NI_DO" name="Déu n'hi do">
<antipattern case_sensitive="yes">
<token>Déu</token>
<token>n'</token>
<token spacebefore="no">hi</token>
<token>do</token>
</antipattern>
<pattern>
<token regexp="yes">déu|deu</token>
<token min="0">-</token>
<token regexp="yes">-n|ni|n'hi|n'</token>
<token min="0" regexp="yes">'?hi</token>
<token min="0">-</token>
<token>do</token>
</pattern>
<message>¿Volíeu dir <suggestion>déu-n'hi-do</suggestion>?</message>
<suggestion>Déu n'hi do</suggestion>
<example correction="déu-n'hi-do|Déu n'hi do">Doncs <marker>deu ni do</marker>?</example>
<example correction="déu-n'hi-do|Déu n'hi do">Doncs <marker>deu-n'hi-do</marker>?</example>
<example correction="déu-n'hi-do|Déu n'hi do">Doncs <marker>déu n'hi-do</marker>?</example>
<example correction="déu-n'hi-do|Déu n'hi do">Doncs <marker>déu-n'hi do</marker>?</example>
<example correction="déu-n'hi-do|Déu n'hi do">Doncs <marker>déu n'hi do</marker>?</example>
<example correction="déu-n'hi-do|Déu n'hi do">Doncs <marker>deu n'hi do</marker>?</example>
<example correction="déu-n'hi-do|Déu n'hi do">Doncs <marker>deu-ni-do</marker>?</example>
<example correction="déu-n'hi-do|Déu n'hi do">Doncs <marker>deu ni-do</marker>?</example>
</rule>
<rule id="DEJA_VU" name="déjà-vu">
<pattern>
<token regexp="yes">d[eèé]j[aàá]</token>
Expand Down

0 comments on commit 41cb5d0

Please sign in to comment.