<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../../../../../../../../../languagetool-core/src/main/resources/org/languagetool/rules/print.xsl" ?>
<?xml-stylesheet type="text/css" href="../../../../../../../../../languagetool-core/src/main/resources/org/languagetool/rules/rules.css"
    title="Easy editing stylesheet" ?>
<!--
Breton Grammar and Typo Rules for LanguageTool
Copyright (C) 2011-2014 Dominique Pellé <dominique.pelle@gmail.com>
http://www.languagetool.org/br

With suggestions and corrections from:
  Fulup Jakez <fulup.jakez@ofis-bzh.org>
  Joseph Monfort <joseph.monfort@wanado.fr>
  Denis Arnaud <denisarnuad@yahoo.fr>
  Philippe Basciano-Le Gall <philippe.basciano-legall@orange.fr>

Some grammatical resources used:

* [CHALM] La grammaire bretonne pour tous (Eugène CHALM).
* [HEMON] Gramaire bretonne (Roparz HEMON).
* [KERVE] Yezhadur bras ar brezhoneg (Frañsez KERVELLA).
* [MKKER] Le guide du bretonnant (Mark KERRAIN).

Useful links:
* https://br.wikipedia.org/wiki/Wikipedia:Fazio%C3%B9_stanka%C3%B1
* http://www.kervarker.org/tmp/NEVEZVREZHONEGERIEN.htm

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
-->
<rules lang="br" xsi:noNamespaceSchemaLocation="../../../../../../../../../languagetool-core/src/main/resources/org/languagetool/rules/rules.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <category id="RUMM_KEMMADUR" name="Kemmadur">
    <rulegroup id="KEMM_DRE_C_HWEZHADENNIN_AR" name="kemmadur dre c’hwezhadenniñ en anv goude ar ger-mell.">
      <rule>
        <pattern>
          <token regexp="yes">[aeu]r</token>
          <marker>
            <token regexp="yes" postag="N m s.*|N f p.*" postag_regexp="yes">k.*
              <exception postag="N f s.*|N m p t.*" postag_regexp="yes"/>
              <exception>kg</exception>
            </token>
          </marker>
        </pattern>
        <message>Goude ar ger-mell «\1» e tlefe bezañ ur c’hemmadur dre c’hwezhadenniñ en anv «\2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="c’h"/></suggestion>?</message>
        <example correction="c’harr">Ur <marker>karr</marker> nevez am eus prenet.</example>
        <example correction="c’hadorioù">Ar <marker>kadorioù</marker></example>
        <example>Ur kg.</example>
      </rule>
    </rulegroup>
    <rulegroup id="KEMM_DRE_VLOTAAT_AR" name="kemmadur dre vlotaat en anv goude ar ger-mell.">
      <rule>
        <pattern>
          <token regexp="yes">[aeu]r</token>
          <marker>
            <token regexp="yes" postag="N f s.*|N m p t.*" postag_regexp="yes">k.*
              <exception postag="N m s.*" postag_regexp="yes"/>
            </token>
          </marker>
        </pattern>
        <message>Goude ar ger-mell «\1» e tlefe bezañ ur c’hemmadur dre vlotaat en anv «\2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="g"/></suggestion>?</message>
        <example correction="gador">Ar <marker>kador</marker> a zo war an daol.</example>
        <example correction="gelennerien">Ar <marker>kelennerien</marker></example>
        <example correction="gambr">Er <marker>kambr</marker> emañ.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[aeu]r</token>
          <marker>
            <token regexp="yes" postag="N f s.*|N m p t.*" postag_regexp="yes">p.*
              <exception regexp="yes">plac’h(ig)?(-(mañ|se|hont))?|psi.*</exception>
              <exception postag="N m s.*" postag_regexp="yes"/>
            </token>
          </marker>
        </pattern>
        <message>Goude ar ger-mell «\1» e tlefe bezañ ur c’hemmadur dre vlotaat en anv «\2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="b"/></suggestion>?</message>
        <example correction="baner">Ur <marker>paner</marker> bras eo.</example>
        <example>Ur plac’h koant eo.</example>
        <example correction="besketaerien">Ar <marker>pesketaerien</marker></example>
        <example>Ar psikologourien</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[au]n</token>
          <marker>
            <token regexp="yes" postag="N f s.*|N m p t.*" postag_regexp="yes">t.*
              <exception postag="N m s.*" postag_regexp="yes"/>
            </token>
          </marker>
        </pattern>
        <message>Goude ar ger-mell «\1» e tlefe bezañ ur c’hemmadur dre vlotaat en anv «\2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="d"/></suggestion>?</message>
        <example correction="dartezenn">Debret em eus un <marker>tartezenn</marker>.</example>
        <example>Klevet em eus un taol fuzuilh.</example>
        <example correction="douristed">An <marker>touristed</marker></example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[aeu]r</token>
          <marker>
            <token regexp="yes" postag="N f s.*|N m p t.*" postag_regexp="yes">g(?!ou[ei])[^w].*
              <exception regexp="yes" inflected="yes">k.*</exception>
              <exception regexp="yes">(gar|gavotenn|greg)(ig)?(-(mañ|se|hont))?</exception>
              <exception postag="N m s.*" postag_regexp="yes"/>
            </token>
          </marker>
        </pattern>
        <message>Goude ar ger-mell «\1» e tlefe bezañ ur c’hemmadur dre vlotaat en anv «\2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="c’h"/></suggestion>?</message>
        <example correction="c’hodell">Sell ouzh ar <marker>godell</marker>.</example>
        <example>Ur grampouezhenn am bo.</example>
        <example>Kanet o deus ur gavotenn.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[aeu]r</token>
          <marker>
            <token regexp="yes" postag="N f s.*|N m p t.*" postag_regexp="yes">gou[ei].*
              <exception regexp="yes" inflected="yes">kou[ei].*</exception>
              <exception postag="N m s.*" postag_regexp="yes"/>
            </token>
          </marker>
        </pattern>
        <message>Goude ar ger-mell «\1» e tlefe bezañ ur c’hemmadur dre vlotaat en anv «\2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace=""/></suggestion>?</message>
        <example correction="ouiziegezh">Ar <marker>gouiziegezh</marker></example>
        <example>Ar <marker>gouent</marker></example>
        <example>Ar <marker>gouerien</marker></example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[aeu]r</token>
          <marker>
            <token regexp="yes" postag="N f s.*|N m p t.*" postag_regexp="yes">gw.*
              <exception postag="N m s.*" postag_regexp="yes"/>
            </token>
          </marker>
        </pattern>
        <message>Goude ar ger-mell «\1» e tlefe bezañ ur c’hemmadur dre vlotaat en anv «\2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace=""/></suggestion>?</message>
        <example correction="werenn">Kemerit ar <marker>gwerenn</marker>.</example>
        <example correction="werzherien">Ar <marker>gwerzherien</marker></example>
        <example correction="wastell-mañ">Ar <marker>gwastell-mañ</marker></example>
        <example correction="WASTELL-MAÑ">AR <marker>GWASTELL-MAÑ</marker></example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[aeu]r</token>
          <marker>
            <token regexp="yes" postag="N f s.*|N m p t.*" postag_regexp="yes">b.*
              <exception regexp="yes" inflected="yes">p.*</exception>
              <exception postag="N m s.*" postag_regexp="yes"/>
            </token>
          </marker>
        </pattern>
        <message>Goude ar ger-mell «\1» e tlefe bezañ ur c’hemmadur dre vlotaat en anv «\2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="v"/></suggestion>?</message>
        <example correction="vag">Pelec’h emañ ar <marker>bag</marker>?</example>
        <example>Pelec’h emañ ar voutailh?</example>
        <example>Pelec’h emañ ar baner?</example>
        <example correction="veleien">Ar <marker>beleien</marker></example>
        <example correction="vugaligoù">Ar <marker>bugaligoù</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[aeu]r</token>
          <marker>
            <token regexp="yes" postag="N f s.*|N m p t.*" postag_regexp="yes">m.*
              <exception postag="N m s.*" postag_regexp="yes"/>
            </token>
          </marker>
        </pattern>
        <message>Goude ar ger-mell «\1» e tlefe bezañ ur c’hemmadur dre vlotaat en anv «\2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="v"/></suggestion>?</message>
        <example correction="valizenn">Pounner eo ar <marker>malizenn</marker>.</example>
        <example>Pounner eo ar valizenn.</example>
        <example correction="varc’hadourien">Ar <marker>marc’hadourien</marker></example>
        <example>Ar varc’hadourien</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[au]n</token>
          <marker>
            <token regexp="yes">dor(-.*)?</token>
          </marker>
        </pattern>
        <message>Direizh eo kemmadur ar ger «\2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="n"/></suggestion>? (CHALM B3.1.1.1, CHALM B3.5)</message>
        <example correction="nor">Serr an <marker>dor</marker> ’ta.</example>
        <example>Serr an nor ’ta.</example>
        <example correction="nor-dal">Serr an <marker>dor-dal</marker> ’ta.</example>
        <example>Serr an nor-dal ’ta.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[au]n</token>
          <marker>
            <token regexp="yes">norioù(-.*)?</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="d"/></suggestion>? (CHALM B3.5)</message>
        <example correction="dorioù">Serr an <marker>norioù</marker> ’ta.</example>
        <example>Serr an dorioù ’ta.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">div|dre</token>
          <marker><token>nor</token></marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>zor</suggestion>? (CHALM B3.5)</message>
        <example correction="zor">Div <marker>nor</marker>.</example>
        <example>Div zor.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[au]n</token>
          <marker>
            <token regexp="yes">tra(ig)?(-(mañ|se|hont))?</token>
          </marker>
        </pattern>
        <message>Kemmañ a ra ar ger «\2» evel pa vije benel. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="d"/></suggestion>? (CHALM B3.1.1.1)</message>
        <example correction="dra">Un <marker>tra</marker></example>
        <example>Un dra</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[aeu]r</token>
          <marker>
            <token regexp="yes">brud(-(mañ|se|hont))?</token>
          </marker>
        </pattern>
        <message>Kemmañ a ra ar ger «\2» evel pa vije benel. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="v"/></suggestion>? (CHALM B3.1.1.1)</message>
        <example correction="vrud">Ur <marker>brud</marker></example>
        <example>Ur vrud</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[aeu]r</token>
          <marker>
            <token regexp="yes">[fb]lac’h(ig)?(-(mañ|se|hont))?</token>
          </marker>
        </pattern>
        <message>Ar ger benel «\2» a chom digemm war-lerc’h ar ger-mell. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="p"/></suggestion>? (CHALM B3.1.1.1)</message>
        <example correction="plac’hig-se">Fur eo ar <marker>blac’hig-se</marker>.</example>
        <example>Fur eo ar plac’hig-se.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[aeu]r</token>
          <marker>
            <token regexp="yes">(c’havotenn|c’hreg|c’haletezenn)(ig)?(-(mañ|se|hont))?</token>
          </marker>
        </pattern>
        <message>Ar ger benel «\2» a chom digemm war-lerc’h ar ger-mell. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^..." regexp_replace="g"/></suggestion>? (CHALM B3.1.1.1)</message>
        <example correction="gavotenn">Ar <marker>c’havotenn</marker>.</example>
      </rule>
    </rulegroup>
    <rule id="AR_K" name="ar + k-word">
      <pattern>
        <token regexp="yes">[aeu]r</token>
        <marker>
          <token regexp="yes" postag="UNKNOWN">k.*<exception regexp="yes">k[gm]|kPa|kHz</exception></token>
        </marker>
      </pattern>
      <message>Ne c’hall ket bezañ un anv a grog gant «k» goude ar ger-mell «\1». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="c’h" case_conversion="preserve"/></suggestion> pe <suggestion><match no="2" regexp_match="^." regexp_replace="g" case_conversion="preserve"/></suggestion>?</message>
      <example correction="C’hab-Sizun|Gab-Sizun">Brav eo ar <marker>Kab-Sizun</marker>.</example>
      <example>Brav eo ar <marker>C’hab-Sizun</marker>.</example>
      <example>Ur km, ur kg.</example>
    </rule>
    <rulegroup id="KEMM_DRE_VLOTAAT_GER" name="kemmadur dre vlotaat goude gerioù zo.">
      <rule>
        <pattern>
          <token regexp="yes">2|[ae]|aba|da|[dtz]aou|div|dre|endra|gwall|na|ne|pa|pe|ra|re|seul
            <exception postag="P.*|L e|X DA_LAVARET_EO" postag_regexp="yes">e</exception>
            <exception postag="L n" negate_pos="yes">na</exception>
            <exception postag="C coor">pe</exception>
            <exception postag="V.*" postag_regexp="yes" regexp="yes">r?a</exception>
          </token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">k.*|marc’h
                <exception postag="Z.*" postag_regexp="yes"/>
                <exception regexp="yes">k[gm]|kPa|kHz</exception>
              </token>
              <token regexp="yes">k.*<exception>kant</exception></token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude ar ger «\1». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="g"/></suggestion>?</message>
        <example correction="gozh">Gwall <marker>kozh</marker> eo da garr.</example>
        <example>Gwall gozh eo da garr.</example>
        <example>N’a ket mat en-dro an urzhiataer.</example>
        <example>Daou km</example>
        <example>Daou kg</example>
        <example correction="gezeg">Da <marker>kezeg</marker></example>
        <example>Da gezeg</example>
        <example correction="gomzit">Na <marker>komzit</marker> ket.</example>
        <example>Na gomzit ket.</example>
        <example correction="garout">E <marker>karout</marker> a ran.</example>
        <example>Chomomp hep ober re ganti.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">2|[ae]|aba|da|[dtz]aou|div|dre|endra|gwall|na|ne|p[ae]|ra|re|seul
            <exception postag="P|L e|X DA_LAVARET_EO" postag_regexp="yes">e</exception>
            <exception postag="L n" negate_pos="yes">na</exception>
            <exception postag="C coor">pe</exception>
            <exception postag="V.*" postag_regexp="yes" regexp="yes">r?a</exception>
          </token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">t.*|den</token>
              <token regexp="yes">[tz].*
                <exception postag="Z.*" postag_regexp="yes"/>
                <exception regexp="yes" inflected="yes">(?!den$)d.*</exception>
                <exception regexp="yes">te|zo|tsar</exception>
                <exception regexp="yes" inflected="yes">z.*</exception>
              </token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude ar ger «\1». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="d"/></suggestion>?</message>
        <example correction="dad">Da <marker>tad</marker> zo er gêr.</example>
        <example correction="dad">Da <marker>zad</marker> zo er gêr.</example>
        <example>Da dad zo er gêr.</example>
        <example correction="dad">Gant e <marker>tad</marker></example>
        <example correction="dad">Gant e <marker>zad</marker></example>
        <example>Gant e dad</example>
        <example>Dre te ez a ouzhin.</example>
        <example>Petra a zo c’hoarvezet?</example>
        <example>Da dour</example>
        <example>Daou zoo</example>
        <example correction="dud">Kalz a <marker>tud</marker></example>
        <example correction="dud">Kalz a <marker>zud</marker></example>
        <example>Kalz a dud</example>
        <example>Pa’z a tud war o leve</example>
        <example correction="dorrfe">Diwallit na <marker>torrfe</marker> ar gwer.</example>
        <example correction="dorrfe">Diwallit na <marker>zorrfe</marker> ar gwer.</example>
        <!-- <example type="incorrect">E <marker>zad</marker> zo kozh.</example> -->
        <!-- <example type="incorrect">E <marker>tad</marker> zo kozh.</example> -->
        <example>E dad zo kozh.</example>
        <example correction="dad">E <marker>zad</marker> ’zo kozh.</example>
        <example correction="dad">E <marker>tad</marker> ’zo kozh.</example>
        <example>E dad ’zo kozh.</example>
        <example correction="dad">E <marker>zad</marker> a zo kozh.</example>
        <example correction="dad">E <marker>tad</marker> a zo kozh.</example>
        <example>E dad a zo kozh.</example>
        <example correction="dud">Pegement a <marker>tud</marker> a zo amañ?</example>
        <example correction="dud">Pegement a <marker>zud</marker> a zo amañ?</example>
        <example>Pegement a dud a zo amañ?</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">2|[ae]|aba|da|[dtz]aou|div|dre|endra|gwall|na|ne|pa|pe|ra|re|seul
            <exception postag="P|L e|X DA_LAVARET_EO" postag_regexp="yes">e</exception>
            <exception postag="L n" negate_pos="yes">na</exception>
            <exception scope="previous">ez</exception>
            <exception postag="C coor">pe</exception>
            <exception postag="V.*" postag_regexp="yes" regexp="yes">r?a</exception>
          </token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">p.*</token>
              <token regexp="yes">[pf].*
                <exception postag="Z.*" postag_regexp="yes"/>
                <exception>pe</exception>
                <exception regexp="yes" inflected="yes">f.*</exception>
              </token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude ar ger «\1». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="b"/></suggestion>?</message>
        <example correction="blij">Ne <marker>plij</marker> ket din komz nederlandeg.</example>
        <example correction="blij">Ne <marker>flij</marker> ket din komz nederlandeg.</example>
        <example>Ne blij ket din komz nederlandeg.</example>
        <example>Gwelet em eus anezhañ div pe deir gwech marteze.</example>
        <example>Da fazioù</example>
        <example>Re vuan ez a pep tra.</example>
        <example correction="blijont">An traoù ha na <marker>plijont</marker> ket din.</example>
        <example correction="blijont">An traoù ha na <marker>flijont</marker> ket din.</example>
        <example correction="baotr">Da zaou <marker>paotr</marker>.</example>
        <example correction="baotr">Da zaou <marker>faotr</marker>.</example>
        <example>Da zaou baotr.</example>
        <example correction="blij">Un den hag a <marker>flij</marker> dezhañ ar sportoù.</example>
        <example correction="blij">Un den hag a <marker>plij</marker> dezhañ ar sportoù.</example>
        <example correction="baotr">Ur bihan a <marker>paotr</marker>.</example>
        <example correction="baotr">Ur bihan a <marker>faotr</marker>.</example>
        <example>Ur bihan a baotr.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">2|[ae]|aba|da|[dtz]aou|div|dre|endra|gwall|na|ne|pa|pe|ra|re|seul
            <exception postag="P|L e|X DA_LAVARET_EO" postag_regexp="yes">e</exception>
            <exception postag="L n" negate_pos="yes">na</exception>
            <exception postag="C coor">pe</exception>
            <exception postag="V.*" postag_regexp="yes" regexp="yes">r?a</exception>
          </token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes" postag="[^Z].*" postag_regexp="yes">gw.*</token>
              <token regexp="yes">[gk]w.*</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude ar ger «\1». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^.." regexp_replace="w"/></suggestion>?</message>
        <example correction="wele">Da <marker>gwele</marker> zo ken bras.</example>
        <example correction="wele">Da <marker>kwele</marker> zo ken bras.</example>
        <example>Da wele zo ken bras.</example>
        <example correction="welet">Abred eo aet d’e <marker>gwelet</marker>.</example>
        <example>Abred eo aet d’e welet.</example>
        <example correction="welout">E <marker>gwelout</marker> a ran.</example>
        <example correction="welout">E <marker>kwelout</marker> a ran.</example>
        <example>E welout a ran.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">2|[ae]|aba|da|[dtz]aou|div|dre|endra|gwall|na|ne|pa|pe|ra|re|seul
            <exception postag="P|L e|X DA_LAVARET_EO" postag_regexp="yes">e</exception>
            <exception postag="L n" negate_pos="yes">na</exception>
            <exception postag="C coor">pe</exception>
            <exception postag="V.*" postag_regexp="yes" regexp="yes">r?a</exception>
          </token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">g(?!ou[ie])[^w].*
                <exception inflected="yes" regexp="yes">k.*</exception>
                <exception postag="UNKNOWN|[PZ].*" postag_regexp="yes"/>
              </token>
              <token regexp="yes">[gk].*<exception>get</exception></token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude ar ger «\1». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="c’h"/></suggestion>?</message>
        <example correction="c’houlennas">Pa <marker>goulennas</marker></example>
        <example correction="c’houlennas">Pa <marker>koulennas</marker></example>
        <example>Pa c’houlennas</example>
        <example>Da get buan a-walc’h</example>
        <example>Paouez da grenañ</example>
        <example>Chomomp hep ober re ganti.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">2|[ae]|aba|da|[dtz]aou|div|dre|endra|gwall|na|ne|pa|pe|ra|re|seul
            <exception postag="P|L e|X DA_LAVARET_EO" postag_regexp="yes">e</exception>
            <exception postag="L n" negate_pos="yes">na</exception>
            <exception postag="C coor">pe</exception>
            <exception postag="V.*" postag_regexp="yes" regexp="yes">r?a</exception>
          </token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">gou[ie].*
                <exception inflected="yes" regexp="yes">k.*</exception>
                <exception postag="UNKNOWN|Z.*" postag_regexp="yes"/>
              </token>
              <token regexp="yes">[gk].*</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude ar ger «\1». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace=""/></suggestion>?</message>
        <example correction="ouelañ">Dirollañ da <marker>gouelañ</marker></example>
        <example correction="ouelit">Na <marker>gouelit</marker> ket.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">2|[ae]|aba|da|[dtz]aou|div|dre|endra|gwall|na|ne|pa|pe|ra|re|seul
            <exception postag="P|L e|X DA_LAVARET_EO" postag_regexp="yes">e</exception>
            <exception postag="L n" negate_pos="yes">na</exception>
            <exception postag="C coor">pe</exception>
            <exception postag="V.*" postag_regexp="yes" regexp="yes">r?a</exception>
          </token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes" postag="UNKNOWN|Z.*" negate_pos="yes" postag_regexp="yes">d.*
                <exception inflected="yes">da</exception>
                <exception regexp="yes" inflected="yes">t.*|dirak|dindan|diouzh</exception>
                <exception regexp="yes">[dt]ud(-(mañ|se|hont))?|dre(-gant)?</exception>
              </token>
              <!-- La mutation est faculative dans le verbe dleout d’après
                   Hentenn Oulpan 3, Kentel 2 p.17 -->
              <token regexp="yes">d.*<exception inflected="yes">dleout</exception></token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude ar ger «\1». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="z"/></suggestion>?</message>
        <example correction="ziwezhat">Re <marker>diwezhat</marker> e oan.</example>
        <example>Re ziwezhat e oan.</example>
        <example>Penaos emañ kont gant da dad-kozh?</example>
        <example>Dre da faot</example>
        <example>Muioc’h a dud</example>
        <example correction="zeuio">Pa <marker>deuio</marker></example>
        <example>An ti a <marker>dle</marker> bezañ amañ.</example>
        <example>An ti a <marker>zle</marker> bezañ amañ.</example>
        <example correction="zeiz">Pe <marker>deiz</marker> e teuy?</example>
        <example>Pe zeiz e teuy?</example>
        <example>Adsavit ar frazennoù-mañ en ur lakaat re <marker>dirak</marker> an anvioù-gwan.</example>
        <example>An eil re diouzh ar re all.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">2|[ae]|aba|da|[dtz]aou|div|dre|endra|gwall|na|ne|pa|pe|ra|re|seul
            <exception postag="P|L e|X DA_LAVARET_EO" postag_regexp="yes">e</exception>
            <exception postag="L n" negate_pos="yes">na</exception>
            <exception postag="C coor">pe</exception>
            <exception postag="V.*" postag_regexp="yes" regexp="yes">r?a</exception>
          </token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes" postag="UNKNOWN|Z.*" postag_regexp="yes" negate_pos="yes">d.*
                <exception inflected="yes">da</exception>
                <exception regexp="yes" inflected="yes">t.*</exception>
                <exception regexp="yes">[dt]ud(-(mañ|se|hont))?</exception>
              </token>
              <token regexp="yes">t.*</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude ar ger «\1». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="z"/></suggestion>?</message>
        <example correction="ziwezhat">Re <marker>tiwezhat</marker> e oan.</example>
        <example>Re ziwezhat e oan.</example>
        <example>Penaos emañ kont gant da dad-kozh?</example>
        <example>Dre da faot</example>
        <example>Muioc’h a dud</example>
        <example correction="zeuio">Pa <marker>teuio</marker></example>
        <example correction="zle">An ti a <marker>tle</marker> bezañ amañ.</example>
        <example>An ti a <marker>dle</marker> bezañ amañ.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">2|[ae]|aba|da|[dtz]aou|div|dre|endra|gwall|na|ne|pa|pe|ra|re|seul
            <exception postag="P|L e|X DA_LAVARET_EO" postag_regexp="yes">e</exception>
            <exception postag="L n" negate_pos="yes">na</exception>
            <exception scope="previous" regexp="yes">e?z|ned</exception>
            <exception postag="C coor">pe</exception>
            <exception postag="V.*" postag_regexp="yes" regexp="yes">r?a</exception>
          </token>
          <marker>
            <and>
              <token regexp="yes">b.*
                <exception regexp="yes">bennak(et)?</exception>
                <exception inflected="yes" regexp="yes">p.*</exception>
                <exception postag="UNKNOWN|Z.*" postag_regexp="yes"/>
              </token>
              <token regexp="yes" inflected="yes">b.*</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude ar ger «\1». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="v"/></suggestion>?</message>
        <example correction="vag">Gant e <marker>bag</marker></example>
        <example>Gant e vag</example>
        <example correction="vras">Re <marker>bras</marker> eo.</example>
        <example>Re vras eo.</example>
        <example>Re bell e oa.</example>
        <example>War gresk ez a <marker>bepred</marker> ar youl</example>
        <example>Ur re bennak.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">2|[ae]|aba|da|[dtz]aou|div|dre|endra|gwall|na|ne|pa|pe|ra|re|seul
            <exception postag="P|L e|X DA_LAVARET_EO" postag_regexp="yes">e</exception>
            <exception postag="L n" negate_pos="yes">na</exception>
            <exception postag="C coor">pe</exception>
            <exception postag="V.*" postag_regexp="yes" regexp="yes">r?a</exception>
          </token>
          <marker>
            <token regexp="yes">m.*
              <exception postag="Z.*" postag_regexp="yes"/>
              <exception regexp="yes" inflected="yes">[mp][ae]|ma’|meur|mHz|mm</exception>
            </token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude ar ger «\1». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="v"/></suggestion>?</message>
        <example correction="vamm">Amañ emañ da <marker>mamm</marker>.</example>
        <example>Amañ emañ da vamm.</example>
        <example>Dre ma faot.</example>
        <example>Ne gomprenit dre ma’z oc’h sot.</example>
        <example>Abalamour da meur a abeg.</example>
        <example><marker>Pe marteze</marker> n’en doa ket komprenet.</example>
        <example correction="vagañ">E <marker>magañ</marker> a rin.</example>
        <example>E vagañ a rin.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">2|[ae]|aba|da|[dtz]aou|div|dre|endra|gwall|na|ne|pa|pe|ra|re|seul
            <exception postag="P|L e|X DA_LAVARET_EO" postag_regexp="yes">e</exception>
            <exception postag="L n" negate_pos="yes">na</exception>
            <exception postag="C coor">pe</exception>
            <exception postag="V.*" postag_regexp="yes" regexp="yes">r?a</exception>
          </token>
          <marker>
            <and>
              <token regexp="yes">c’h.*
                <exception inflected="yes" regexp="yes">(g|c’h).*</exception>
                <exception>c’hant</exception>
              </token>
              <token regexp="yes" inflected="yes">k.*|marc’h</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude ar ger «\1». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^..." regexp_replace="g"/></suggestion>?</message>
        <example correction="gentelioù-noz">Niver a <marker>c’hentelioù-noz</marker></example>
        <example>Niver a gentelioù-noz</example>
        <example>C’hoant en deus da c’hoari.</example>
        <example>Ne c’hell ket bezañ.</example>
        <example>Ne c’hall ket bezañ.</example>
        <example>Daou c’hant</example>
        <example correction="gezeg">Da <marker>c’hezeg</marker></example>
        <example correction="garout">E <marker>c’harout</marker> a raen.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">2|[ae]|aba|da|[dtz]aou|div|dre|endra|gwall|na|ne|pa|pe|ra|re|seul
            <exception postag="P|L e|X DA_LAVARET_EO" postag_regexp="yes">e</exception>
            <exception postag="L n" negate_pos="yes">na</exception>
            <exception postag="C coor">pe</exception>
            <exception postag="V.*" postag_regexp="yes" regexp="yes">r?a</exception>
          </token>
          <marker>
            <and>
              <token regexp="yes">z.*
                <exception regexp="yes">zo|(?-i)z[A-Z].*</exception>
                <exception inflected="yes" regexp="yes">[dz].*</exception>
              </token>
              <token regexp="yes" inflected="yes">t.*</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude «\1». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="d"/></suggestion>?</message>
        <example correction="deñval">Re <marker>zeñval</marker> eo evit lenn.</example>
        <example>Re deñval eo evit lenn.</example>
        <example>Ar marc’had a zo bras.</example>
        <example>Daou zoo</example>
        <example>N’ouzon ket eme zTony.</example>
        <example>N’ouzon ket eme Tony.</example>
      </rule>
    </rulegroup>

    <rulegroup id="KEMM_WAR_VLOTAAT" name="Kemmadur dre vlotaat goude ar ger war">
      <rule>
        <pattern>
          <token>war</token>
          <marker>
            <and>
              <token postag="V inf.*" postag_regexp="yes" regexp="yes">(k|c’h).*aat<exception postag="V inf M:1:.*" postag_regexp="yes"/></token>
              <token postag="V inf.*" postag_regexp="yes" regexp="yes" inflected="yes">k.*aat</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ er verb «\2» goude ar ger «war». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^(k|c’h)" regexp_replace="g"/></suggestion>?</message>
        <example correction="goshaat">War <marker>koshaat</marker> az da dud.</example>
        <example correction="goshaat">War <marker>c’hoshaat</marker> az da dud.</example>
      </rule>
      <rule>
        <pattern>
          <token>war</token>
          <marker>
            <and>
              <token postag="V inf.*" postag_regexp="yes" regexp="yes">[gk]w.*aat<exception postag="V inf M:1:.*" postag_regexp="yes"/></token>
              <token postag="V inf.*" postag_regexp="yes" regexp="yes" inflected="yes">gw.*aat</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ er verb «\2» goude ar ger «war». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace=""/></suggestion>?</message>
        <example correction="wellaat">N’a ket an amzer war <marker>gwellaat</marker>.</example>
        <example correction="wellaat">N’a ket an amzer war <marker>kwellaat</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token>war</token>
          <marker>
            <and>
              <token postag="V inf.*" postag_regexp="yes" regexp="yes">[bp].*aat<exception postag="V inf M:1:.*" postag_regexp="yes"/></token>
              <token postag="V inf.*" postag_regexp="yes" regexp="yes" inflected="yes">b.*aat</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ er verb «\2» goude ar ger «war». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="v"/></suggestion>?</message>
        <example correction="vihanaat">War <marker>bihanaat</marker> az da vamm.</example>
        <example correction="vihanaat">War <marker>pihanaat</marker> az da vamm.</example>
      </rule>
      <rule>
        <pattern>
          <token>war</token>
          <marker>
            <and>
              <token postag="V inf.*" postag_regexp="yes" regexp="yes">[tz].*aat<exception postag="V inf M:1:.*" postag_regexp="yes"/></token>
              <token postag="V inf.*" postag_regexp="yes" regexp="yes" inflected="yes">t.*aat</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ er verb «\2» goude ar ger «war». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="d"/></suggestion>?</message>
        <example correction="deñvalaat">War <marker>teñvalaat</marker> az an amzer.</example>
        <example correction="deñvalaat">War <marker>zeñvalaat</marker> az an amzer.</example>
      </rule>
      <rule>
        <pattern>
          <token>war</token>
          <marker>
            <and>
              <token postag="V inf.*" postag_regexp="yes" regexp="yes">[dt].*aat</token>
              <token postag="V inf.*" postag_regexp="yes" regexp="yes" inflected="yes">d.*aat</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ er verb «\2» goude ar ger «war». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="z"/></suggestion>?</message>
        <example correction="zisheñvelaat">War <marker>disheñvelaat</marker> ez a rannyezhoù.</example>
        <example correction="zisheñvelaat">War <marker>tisheñvelaat</marker> ez a rannyezhoù.</example>
      </rule>
      <rule>
        <pattern>
          <token>war</token>
          <marker>
            <and>
              <token postag="V inf.*" postag_regexp="yes" regexp="yes">[pf].*aat</token>
              <token postag="V inf.*" postag_regexp="yes" regexp="yes" inflected="yes">p.*aat</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ er verb «\2» goude ar ger «war». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="b"/></suggestion>?</message>
        <example correction="bounneraat">E-doug ur bloaz eo aet pouez o yalc’hadoù war <marker>pounneraat</marker> eus 107 miliard.</example>
        <example correction="bounneraat">E-doug ur bloaz eo aet pouez o yalc’hadoù war <marker>founneraat</marker> eus 107 miliard.</example>
      </rule>
      <rule>
        <pattern>
          <token>war</token>
          <marker>
            <token postag="V inf" regexp="yes">m.*aat</token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ er verb «\2» goude ar ger «war». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="v"/></suggestion>?</message>
        <example correction="vicherelaat">War <marker>micherelaat</marker> eo aet an embann e brezhoneg.</example>
      </rule>
    </rulegroup>

    <rulegroup id="KEMM_DA_ANV_DIVOUTIN" name="da Brest → da vBrest">
      <rule>
        <pattern>
          <token>da</token>
          <marker>
            <token postag="Z [^M]*" postag_regexp="yes" regexp="yes">(?-i)K.*</token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude ar ger «\1» gant an anv divoutin. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" case_conversion="startlower" regexp_match="^" regexp_replace="g"/></suggestion> pe <suggestion><match no="2" regexp_match="^." regexp_replace="G"/></suggestion>?</message>
        <example correction="gKemper|Gemper">Mont a reas da <marker>Kemper</marker>.</example>
        <example>Mont a reas da <marker>gKemper</marker>.</example>
        <example>Mont a reas da <marker>Gemper</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token>da</token>
          <marker>
            <token postag="Z [^M]*" postag_regexp="yes" regexp="yes">(?-i)[MB].*</token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude ar ger «\1» gant an anv divoutin. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" case_conversion="startlower" regexp_match="^" regexp_replace="v"/></suggestion> pe <suggestion><match no="2" regexp_match="^." regexp_replace="V"/></suggestion>?</message>
        <example correction="vBrest|Vrest">Mont a reas da <marker>Brest</marker>.</example>
        <example>Mont a reas da <marker>Vrest</marker>.</example>
        <example>Mont a reas da <marker>vBrest</marker>.</example>
        <example correction="vMontroulez|Vontroulez">Mont a reas da <marker>Montroulez</marker>.</example>
        <example>Mont a reas da <marker>Vontroulez</marker>.</example>
        <example>Mont a reas da <marker>vMontroulez</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token>da</token>
          <marker>
            <token postag="Z [^M]*" postag_regexp="yes" regexp="yes">(?-i)P.*</token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude ar ger «\1» gant an anv divoutin. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" case_conversion="startlower" regexp_match="^" regexp_replace="b"/></suggestion> pe <suggestion><match no="2" regexp_match="^." regexp_replace="B"/></suggestion>?</message>
        <example correction="bPerroz-Gireg|Berroz-Gireg">Mont a reas da <marker>Perroz-Gireg</marker>.</example>
        <example>Mont a reas da <marker>Berroz-Gireg</marker>.</example>
        <example>Mont a reas da <marker>bPerroz-Gireg</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token>da</token>
          <marker>
            <token postag="Z [^M]*" postag_regexp="yes" regexp="yes">(?-i)D.*</token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude ar ger «\1» gant an anv divoutin. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" case_conversion="startlower" regexp_match="^" regexp_replace="z"/></suggestion> pe <suggestion><match no="2" regexp_match="^." regexp_replace="Z"/></suggestion>?</message>
        <example correction="zDaoulaz|Zaoulaz">Mont a reas da <marker>Daoulaz</marker>.</example>
        <example>Mont a reas da <marker>Zaoulaz</marker>.</example>
        <example>Mont a reas da <marker>zDaoulaz</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token>da</token>
          <marker>
            <token postag="Z [^M]*" postag_regexp="yes" regexp="yes">(?-i)T.*</token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude ar ger «\1» gant an anv divoutin. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" case_conversion="startlower" regexp_match="^" regexp_replace="d"/></suggestion> pe <suggestion><match no="2" regexp_match="^." regexp_replace="D"/></suggestion>?</message>
        <example correction="dTrebeurden|Drebeurden">Mont a reas da <marker>Trebeurden</marker>.</example>
        <example>Mont a reas da <marker>Drebeurden</marker>.</example>
        <example>Mont a reas da <marker>dTrebeurden</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token>da</token>
          <marker>
            <token postag="Z [^M]*" postag_regexp="yes" regexp="yes">(?-i)G(?i)w.*</token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude ar ger «\1» gant an anv divoutin. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^.." regexp_replace="W"/></suggestion>?</message>
        <example correction="Wipavaz">Mont a reas da <marker>Gwipavaz</marker>.</example>
      </rule>
    </rulegroup>

    <rulegroup id="KEMM_EN_EM_VLOTAAT" name="kemmadur dre vlotaat goude gerioù zo.">
      <rule>
        <pattern>
          <token>en</token>
          <token regexp="yes">em|ur<exception postag="D e sp">ur</exception></token>
          <marker>
            <and>
              <token postag="V.*" postag_regexp="yes" regexp="yes" inflected="yes">k.*
                <exception postag="V.*" postag_regexp="yes" regexp="yes" inflected="yes">c’h.*</exception>
              </token>
              <token postag="V.*" postag_regexp="yes" regexp="yes">(k|c’h).*</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude «\1 \2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^(k|c’h)" regexp_replace="g"/></suggestion>?</message>
        <example correction="gavout">En em <marker>kavout</marker> a raimp dirak an iliz.</example>
        <example>En em gavout a raimp dirak an iliz.</example>
        <example>En ur c’hoari.</example>
      </rule>
      <rule>
        <pattern>
          <token>en</token>
          <token regexp="yes">em|ur<exception postag="D e sp">ur</exception></token>
          <marker>
            <and>
              <token postag="V.*" postag_regexp="yes" regexp="yes" inflected="yes">t.*</token>
              <token postag="V.*" postag_regexp="yes" regexp="yes">[tz].*</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude «\1 \2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^." regexp_replace="d"/></suggestion>?</message>
        <example correction="dreiñ">En em <marker>treiñ</marker> a rae etrezek ennon</example>
        <example correction="dreiñ">En em <marker>zreiñ</marker> a rae etrezek ennon</example>
        <example correction="dreuziñ">En ur <marker>treuziñ</marker></example>
        <example correction="dreuziñ">En ur <marker>zreuziñ</marker></example>
      </rule>
      <rule>
        <pattern>
          <token>en</token>
          <token regexp="yes">em|ur<exception postag="D e sp">ur</exception></token>
          <marker>
            <and>
              <token postag="V.*" postag_regexp="yes" regexp="yes" inflected="yes">p.*</token>
              <token postag="V.*" postag_regexp="yes" regexp="yes">[pf].*</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude «\1 \2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^." regexp_replace="b"/></suggestion>?</message>
        <example correction="bignat">En ur <marker>pignat</marker></example>
        <example correction="bignat">En ur <marker>fignat</marker></example>
      </rule>
      <rule>
        <pattern>
          <token>en</token>
          <token regexp="yes">em|ur<exception postag="D e sp">ur</exception></token>
          <marker>
            <and>
              <token postag="V.*" postag_regexp="yes" regexp="yes" inflected="yes">gw.*</token>
              <token postag="V.*" postag_regexp="yes" regexp="yes">[gk]w.*</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude «\1 \2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^." regexp_replace=""/></suggestion>?</message>
        <example correction="welet">En em <marker>gwelet</marker> a raen.</example>
        <example correction="welet">En em <marker>kwelet</marker> a raen.</example>
        <example>En em welet a raen.</example>
      </rule>
      <rule>
        <pattern>
          <token>en</token>
          <token regexp="yes">em|ur<exception postag="D e sp">ur</exception></token>
          <marker>
            <and>
              <token postag="V.*" postag_regexp="yes" regexp="yes" inflected="yes">g(?!ou[ei])[^w].*</token>
              <token postag="V.*" postag_regexp="yes" regexp="yes">[gk].*</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude «\1 \2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^." regexp_replace="c’h"/></suggestion>?</message>
        <example correction="c’houlenn">En em <marker>goulenn</marker> a ran</example>
        <example correction="c’houlenn">En em <marker>koulenn</marker> a ran</example>
        <example>En em c’houlenn a ran</example>
      </rule>
      <rule>
        <pattern>
          <token>en</token>
          <token regexp="yes">em|ur<exception postag="D e sp">ur</exception></token>
          <marker>
            <and>
              <token postag="V.*" postag_regexp="yes" regexp="yes" inflected="yes">gou[ei].*</token>
              <token postag="V.*" postag_regexp="yes" regexp="yes">[gk].*</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude «\1 \2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^." regexp_replace=""/></suggestion>?</message>
        <example correction="ouestlañ">En ur <marker>gouestlañ</marker></example>
        <example>En ur ouestlañ</example>
      </rule>
      <rule>
        <pattern>
          <token>en</token>
          <token regexp="yes">em|ur<exception postag="D e sp">ur</exception></token>
          <marker>
            <and>
              <token postag="V.*" postag_regexp="yes" regexp="yes" inflected="yes">d.*</token>
              <token postag="V.*" postag_regexp="yes" regexp="yes">[dt].*</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude «\1 \2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^." regexp_replace="z"/></suggestion>?</message>
        <example correction="zibab">En em <marker>dibab</marker> a reont o-unan.</example>
        <example correction="zibab">En em <marker>tibab</marker> a reont o-unan.</example>
      </rule>
      <rule>
        <pattern>
          <token>en</token>
          <token regexp="yes">em|ur<exception postag="D e sp">ur</exception></token>
          <marker>
            <and>
              <token postag="V.*" postag_regexp="yes" regexp="yes" inflected="yes">b.*</token>
              <token postag="V.*" postag_regexp="yes" regexp="yes">[bp].*</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude «\1 \2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^." regexp_replace="v"/></suggestion>?</message>
        <example correction="vageal">En ur <marker>bageal</marker></example>
        <example correction="vageal">En ur <marker>pageal</marker></example>
      </rule>
      <rule>
        <pattern>
          <token>en</token>
          <token regexp="yes">em|ur<exception postag="D e sp">ur</exception></token>
          <marker>
            <and>
              <token postag="V.*" postag_regexp="yes" regexp="yes" inflected="yes">m.*</token>
              <token postag="V.*" postag_regexp="yes" regexp="yes">m.*</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude «\1 \2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^." regexp_replace="v"/></suggestion>?</message>
        <example correction="vagañ">En em <marker>magañ</marker> a ra e-unan.</example>
      </rule>
    </rulegroup>
    <rulegroup id="UR_ADJ_A_ANV" name="ur bras a blac’h → ur vras a blac’h">
      <rule>
        <pattern>
          <token regexp="yes">u[rn]</token>
          <marker><token postag="J.*" postag_regexp="yes" regexp="yes" inflected="yes">[ktpgdbm].*<exception postag="J M:1:.*|N.*" postag_regexp="yes"/></token></marker>
          <token>a</token>
          <token postag="N f s.*" postag_regexp="yes"><exception postag="N [em] s.*|V.*" postag_regexp="yes"/></token>
        </pattern>
        <message>Ur c’hammadur dre vlotaat a zlefe bezañ gant an anv-gwan «\2» rak benel eo an anv «\4». (CHALM S5)</message>
        <example correction="">Ur <marker>bihan</marker> a blac’h.</example>
        <example>Ur <marker>vihan</marker> a blac’h.</example>
        <example>Ur <marker>bihan</marker> a baotr.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">u[rn]</token>
          <marker><token postag="J.*M:1:.*" postag_regexp="yes"><exception postag="J|N.*" postag_regexp="yes"/></token></marker>
          <token>a</token>
          <token postag="N m s.*" postag_regexp="yes"><exception postag="N [ef] s.*|V.*" postag_regexp="yes"/></token>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hammadur dre vlotaat a zlefe bezañ gant an anv-gwan «\2» rak gourel eo an anv «\4». (CHALM S5)</message>
        <example correction="">Ur <marker>vihan</marker> a baotr.</example>
        <example>Ur <marker>bihan</marker> a baotr.</example>
        <example>Ur <marker>vihan</marker> a blac’h.</example>
      </rule>
    </rulegroup>
    <rulegroup id="KLANV_PE_GLANVOCH" name="klañv pe klañvoc’h → klañv pe glañvoc’h">
      <rule>
        <pattern>
          <token postag="J" regexp="yes">k.*</token>
          <token>pe</token>
          <marker><token postag="J cmp.*" postag_regexp="yes" regexp="yes"><match no="0" regexp_match="^.(.*)" regexp_replace="(k|c’h)$1oc’h"/></token></marker>
        </pattern>
        <message>Ur c’hemmadur de vlotaat a zlefe bezañ goude «pe». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^(?i)(k|c’h)" regexp_replace="g"/></suggestion>? (CHALM Sb 1.4)</message>
        <example correction="glañvoc’h">Klañv pe <marker>klañvoc’h</marker>.</example>
        <example correction="glañvoc’h">Klañv pe <marker>c’hlañvoc’h</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="J" regexp="yes">t.*</token>
          <token>pe</token>
          <marker><token postag="J cmp.*" postag_regexp="yes" regexp="yes"><match no="0" regexp_match=".(.*)" regexp_replace="[tz]$1oc’h"/></token></marker>
        </pattern>
        <message>Ur c’hemmadur de vlotaat a zlefe bezañ goude «pe». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^(?i)[tz]" regexp_replace="d"/></suggestion>? (CHALM Sb 1.4)</message>
        <example correction="devoc’h">Tev pe <marker>tevoc’h</marker>.</example>
        <example correction="devoc’h">Tev pe <marker>zevoc’h</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="J" regexp="yes">p.*</token>
          <token>pe</token>
          <marker><token postag="J cmp.*" postag_regexp="yes" regexp="yes"><match no="0" regexp_match=".(.*)" regexp_replace="[pf]$1oc’h"/></token></marker>
        </pattern>
        <message>Ur c’hemmadur de vlotaat a zlefe bezañ goude «pe». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^." regexp_replace="b"/></suggestion>? (CHALM Sb 1.4)</message>
        <example correction="bounneroc’h">Pounner pe <marker>pounneroc’h</marker>.</example>
        <example correction="bounneroc’h">Pounner pe <marker>founneroc’h</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="J" regexp="yes">g[^w].*</token>
          <token>pe</token>
          <marker><token postag="J cmp.*" postag_regexp="yes" regexp="yes"><match no="0" regexp_match=".(.*)" regexp_replace="[gk]$1oc’h"/></token></marker>
        </pattern>
        <message>Ur c’hemmadur de vlotaat a zlefe bezañ goude «pe». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^(?i)." regexp_replace="c’h"/></suggestion>? (CHALM Sb 1.4)</message>
        <example correction="c’helloc’h">Gell pe <marker>gelloc’h</marker>.</example>
        <example correction="c’helloc’h">Gell pe <marker>kelloc’h</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="J" regexp="yes">gw.*</token>
          <token>pe</token>
          <marker><token postag="J cmp.*" postag_regexp="yes" regexp="yes"><match no="0" regexp_match=".(.*)" regexp_replace="[gk]$1oc’h"/></token></marker>
        </pattern>
        <message>Ur c’hemmadur de vlotaat a zlefe bezañ goude «pe». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^(?i)." regexp_replace=""/></suggestion>? (CHALM Sb 1.4)</message>
        <example correction="welloc’h">Gwell pe <marker>gwelloc’h</marker>.</example>
        <example correction="welloc’h">Gwell pe <marker>kwelloc’h</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="J" regexp="yes">d.*</token>
          <token>pe</token>
          <marker><token postag="J cmp.*" postag_regexp="yes" regexp="yes"><match no="0" regexp_match=".(.*)" regexp_replace="[dt]$1oc’h"/></token></marker>
        </pattern>
        <message>Ur c’hemmadur de vlotaat a zlefe bezañ goude «pe». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^." regexp_replace="z"/></suggestion>? (CHALM Sb 1.4)</message>
        <example correction="zrochoc’h">Droch pe <marker>drochoc’h</marker>.</example>
        <example correction="zrochoc’h">Droch pe <marker>trochoc’h</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="J" regexp="yes">b.*</token>
          <token>pe</token>
          <marker><token postag="J cmp.*" postag_regexp="yes" regexp="yes"><match no="0" regexp_match=".(.*)" regexp_replace="[bp]$1oc’h"/></token></marker>
        </pattern>
        <message>Ur c’hemmadur de vlotaat a zlefe bezañ goude «pe». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^." regexp_replace="v"/></suggestion>? (CHALM Sb 1.4)</message>
        <example correction="vravoc’h">Brav pe <marker>bravoc’h</marker>.</example>
        <example correction="vravoc’h">Brav pe <marker>pravoc’h</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="J" regexp="yes">m.*</token>
          <token>pe</token>
          <marker><token postag="J cmp.*" postag_regexp="yes"><match no="0" regexp_match="$" regexp_replace="oc’h"/></token></marker>
        </pattern>
        <message>Ur c’hemmadur de vlotaat a zlefe bezañ goude «pe». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^." regexp_replace="v"/></suggestion>? (CHALM Sb 1.4)</message>
        <example correction="velenoc’h">Melen pe <marker>melenoc’h</marker>.</example>
      </rule>
    </rulegroup>
    <rulegroup id="KEMM_HEMAN_VLOTAAT" name="kemmadur dre vlotaat goude hemañ.">
      <rule>
        <pattern>
          <token regexp="yes">h[eo]mañ|re-se|re-mañ</token>
          <marker>
            <token postag="J.*" postag_regexp="yes" inflected="yes" regexp="yes">[ktpgdbm].*
              <exception postag="J[^M]*M.*:1:.*" postag_regexp="yes"/>
              <exception>pe</exception>
            </token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ gant an anv-gwan «\2» goude «\1». (CHALM B3.1.2.4)</message>
        <example correction="">Hemañ <marker>treut</marker></example>
        <example correction="">Hemañ <marker>zreut</marker></example>
        <example>Hemañ dreut</example>
        <example correction="">Homañ <marker>plijus</marker></example>
        <example correction="">Homañ <marker>flijus</marker></example>
        <example>Homañ blijus</example>
        <example>Gant homañ just a-walc’h</example>
        <example>Hemañ pe homañ.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">h[eo]nnezh|h[eo]nhont|re-hont</token>
          <marker>
            <token inflected="yes" postag="J.*" postag_regexp="yes" regexp="yes">[gdbm].*
              <exception postag="J[^M]*M.*:1b:.*" postag_regexp="yes"/>
            </token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat diglok a zlefe bezañ gant an anv-gwan «\2» goude «\1». (CHALM B3.1.2.3)</message>
        <example correction="">Hennezh <marker>bihan</marker></example>
        <example correction="">Hennezh <marker>pihan</marker></example>
        <example>Hennezh vihan</example>
        <example correction="">Ar re-hont <marker>glas</marker></example>
        <example>Ar re-hont c’hlas</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">h[eo]nnezh|h[eo]nhont|re-hont</token>
          <marker>
            <token inflected="yes" postag="J[^M]*M.*" postag_regexp="yes" regexp="yes">[ktp].*</token>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur en anv-gwan «\2» goude «\1».</message>
        <example correction="">Honnezh <marker>gozh</marker></example>
        <example correction="">Honnezh <marker>c’hozh</marker></example>
        <example>Honnezh kozh</example>
      </rule>
    </rulegroup>
    <rulegroup id="KEMM_DRE_VLOTAAT_DEIZ" name="Kemmadur dre vlotaat gant an deiziad">
      <rule>
        <pattern>
          <token regexp="yes">a[rn]</token>
          <marker><token regexp="yes">[zt]ri(zek|wec’h)?|[zt]regont</token></marker>
          <token>eus</token>
          <token>ar</token>
          <token>miz</token>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="d"/></suggestion>? (CHALM P6)</message>
        <example correction="driwec’h">D’an <marker>triwec’h</marker> eus ar miz.</example>
        <example correction="driwec’h">D’ar <marker>zriwec’h</marker> eus ar miz.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">a[rn]</token>
          <marker><token regexp="yes">[zt]ri(zek|wec’h)?|[zt]regont</token></marker>
          <token>a</token>
          <token>viz</token>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="d"/></suggestion>? (CHALM P6)</message>
        <example correction="driwec’h">D’an <marker>triwec’h</marker> a viz.</example>
        <example correction="driwec’h">D’ar <marker>zriwec’h</marker> a viz.</example>
        <example>D’an <marker>driwec’h</marker> eus a viz.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">a[rn]</token>
          <marker><token regexp="yes">[zd]rede|[zd]ri(wec’h)vet|[zd]regontvet</token></marker>
          <token>eus</token>
          <token>ar</token>
          <token>miz</token>
        </pattern>
        <message>Ne vez ket graet ar c’hemmadur gant an niveroù pegementiñ en deiziad. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="t"/></suggestion>? (CHALM P6)</message>
        <example correction="trede">D’an <marker>drede</marker> eus ar miz.</example>
        <example correction="trede">D’ar <marker>zrede</marker> eus ar miz.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">a[rn]</token>
          <marker><token regexp="yes">[zd]rede|[zd]ri(wec’h)vet|[zd]regontvet</token></marker>
          <token>a</token>
          <token>viz</token>
        </pattern>
        <message>Ne vez ket graet ar c’hemmadur gant an niveroù pegementiñ en deiziad. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="t"/></suggestion>? (CHALM P6)</message>
        <example correction="trede">D’an <marker>drede</marker> a viz.</example>
        <example correction="trede">D’ar <marker>zrede</marker> a viz.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">a[rn]</token>
          <marker><token regexp="yes">[zt]ri</token></marker>
          <token>warn-ugent</token>
          <token>eus</token>
          <token>ar</token>
          <token>miz</token>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="d"/></suggestion>? (CHALM P6)</message>
        <example correction="dri">D’an <marker>tri</marker> warn-ugent eus ar miz.</example>
        <example correction="dri">D’ar <marker>zri</marker> warn-ugent eus ar miz.</example>
        <example>D’an <marker>dri</marker> eus ar miz.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">a[rn]</token>
          <marker><token regexp="yes">[zt]ri</token></marker>
          <token>warn-ugent</token>
          <token>a</token>
          <token>viz</token>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="d"/></suggestion>? (CHALM P6)</message>
        <example correction="dri">D’an <marker>tri</marker> warn-ugent a viz.</example>
        <example correction="dri">D’ar <marker>zri</marker> warn-ugent a viz.</example>
        <example>D’an <marker>dri</marker> a miz.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">a[rn]</token>
          <marker><token regexp="yes">[dz]rede</token></marker>
          <token>warn-ugent</token>
          <token>eus</token>
          <token>ar</token>
          <token>miz</token>
        </pattern>
        <message>Ne vez ket graet ar c’hemmadur gant an niveroù pegementiñ en deiziad. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="t"/></suggestion>? (CHALM P6)</message>
        <example correction="trede">D’an <marker>drede</marker> warn-ugent eus ar miz.</example>
        <example correction="trede">D’ar <marker>zrede</marker> warn-ugent eus ar miz.</example>
        <example>D’an <marker>trede</marker> eus ar miz.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">a[rn]</token>
          <marker><token regexp="yes">[dz]rede</token></marker>
          <token>warn-ugent</token>
          <token>a</token>
          <token>viz</token>
        </pattern>
        <message>Ne vez ket graet ar c’hemmadur gant an niveroù pegementiñ en deiziad. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="t"/></suggestion>? (CHALM P6)</message>
        <example correction="trede">D’an <marker>drede</marker> warn-ugent a viz.</example>
        <example correction="trede">D’ar <marker>zrede</marker> warn-ugent a viz.</example>
        <example>D’an <marker>trede</marker> a miz.</example>
      </rule>
      <rule>
        <pattern>
          <token>ar</token>
          <marker><token regexp="yes">[fp](et|evar|evarzek|emp|emzek)</token></marker>
          <token>eus</token>
          <token>ar</token>
          <token>miz</token>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="b"/></suggestion>? (CHALM P6)</message>
        <example correction="bemzek">D’ar <marker>pemzek</marker> eus ar miz.</example>
        <example correction="bemzek">D’ar <marker>femzek</marker> eus ar miz.</example>
      </rule>
      <rule>
        <pattern>
          <token>ar</token>
          <marker><token regexp="yes">[fp](et|evar|evarzek|emp|emzek)</token></marker>
          <token>a</token>
          <token>viz</token>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="b"/></suggestion>? (CHALM P6)</message>
        <example correction="bemzek">D’ar <marker>pemzek</marker> a viz.</example>
        <example correction="bemzek">D’ar <marker>femzek</marker> a viz.</example>
      </rule>
      <rule>
        <pattern>
          <token>ar</token>
          <marker><token regexp="yes">[bf](etvet|evare|evarvet|evarzekvet|empet|empvet|emzekvet)</token></marker>
          <token>eus</token>
          <token>ar</token>
          <token>miz</token>
        </pattern>
        <message>Ne vez ket graet ar c’hemmadur gant an niveroù pegementiñ en deiziad. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="p"/></suggestion>? (CHALM P6)</message>
        <example correction="pemzekvet">D’ar <marker>bemzekvet</marker> eus ar miz.</example>
        <example correction="pemzekvet">D’ar <marker>femzekvet</marker> eus ar miz.</example>
      </rule>
      <rule>
        <pattern>
          <token>ar</token>
          <marker><token regexp="yes">[bf](etvet|evare|evarvet|evarzekvet|empet|empvet|emzekvet)</token></marker>
          <token>a</token>
          <token>viz</token>
        </pattern>
        <message>Ne vez ket graet ar c’hemmadur gant an niveroù pegementiñ en deiziad. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="p"/></suggestion>? (CHALM P6)</message>
        <example correction="pemzekvet">D’ar <marker>bemzekvet</marker> a viz.</example>
        <example correction="pemzekvet">D’ar <marker>femzekvet</marker> a viz.</example>
      </rule>
      <rule>
        <pattern>
          <token>ar</token>
          <marker><token regexp="yes">[pf](evar|emp)</token></marker>
          <token>warn-ugent</token>
          <token>eus</token>
          <token>ar</token>
          <token>miz</token>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="b"/></suggestion>? (CHALM P6)</message>
        <example correction="bemp">D’ar <marker>pemp</marker> warn-ugent eus ar miz.</example>
        <example correction="bemp">D’ar <marker>femp</marker> warn-ugent eus ar miz.</example>
      </rule>
      <rule>
        <pattern>
          <token>ar</token>
          <marker><token regexp="yes">[pf](evar|emp)</token></marker>
          <token>warn-ugent</token>
          <token>a</token>
          <token>viz</token>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="b"/></suggestion>? (CHALM P6)</message>
        <example correction="bemp">D’ar <marker>pemp</marker> warn-ugent a viz.</example>
        <example correction="bemp">D’ar <marker>femp</marker> warn-ugent a viz.</example>
      </rule>
      <rule>
        <pattern>
          <token>ar</token>
          <marker><token regexp="yes">[bf](evare|evarvet|empv?et)</token></marker>
          <token>warn-ugent</token>
          <token>eus</token>
          <token>ar</token>
          <token>miz</token>
        </pattern>
        <message>Ne vez ket graet ur c’hemmadur gant an niveroù pegementiñ en deiziad. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="p"/></suggestion>? (CHALM P6)</message>
        <example correction="pempvet">D’ar <marker>bempvet</marker> warn-ugent eus ar miz.</example>
        <example correction="pempvet">D’ar <marker>fempvet</marker> warn-ugent eus ar miz.</example>
      </rule>
      <rule>
        <pattern>
          <token>ar</token>
          <marker><token regexp="yes">[bf](evare|evarvet|empv?et)</token></marker>
          <token>warn-ugent</token>
          <token>a</token>
          <token>viz</token>
        </pattern>
        <message>Ne vez ket graet ur c’hemmadur gant an niveroù pegementiñ en deiziad. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="p"/></suggestion>? (CHALM P6)</message>
        <example correction="pempvet">D’ar <marker>bempvet</marker> warn-ugent a viz.</example>
        <example correction="pempvet">D’ar <marker>fempvet</marker> warn-ugent a viz.</example>
      </rule>
      <rule>
        <pattern>
          <token>ar</token>
          <marker><token regexp="yes">[gk]entañ</token></marker>
          <token>eus</token>
          <token>ar</token>
          <token>miz</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="c’h"/></suggestion>?</message>
        <example correction="c’hentañ">D’ar <marker>gentañ</marker> eus ar miz.</example>
      </rule>
      <rule>
        <pattern>
          <token>ar</token>
          <marker><token>pet</token></marker>
          <token regexp="yes">emaomp|eo</token>
          <token>hiziv</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>bet</suggestion>?</message>
        <example correction="bet">Ar <marker>pet</marker> emaomp hiziv?</example>
      </rule>
      <rule>
        <pattern>
          <token>ar</token>
          <marker><token>betvet</token></marker>
          <token regexp="yes">emaomp|eo</token>
          <token>hiziv</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>petvet</suggestion>?</message>
        <example correction="petvet">Ar <marker>betvet</marker> emaomp hiziv?</example>
        <example>Ar petvet emaomp hiziv?</example>
      </rule>
    </rulegroup>

    <rulegroup id="KEMM_KANT" name="daou kant → daou c’hant">
      <rule>
        <pattern>
          <token regexp="yes">[dtz](aou|iv)</token>
          <marker>
            <token>kant</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>c’hant</suggestion>?</message>
        <example correction="c’hant">Daou <marker>kant</marker></example>
        <example>Daou c’hant</example>
      </rule>
    </rulegroup>

    <!-- Mutations renforçantes -->
    <rulegroup id="KEMM_DRE_GALETAAT" name="kemmedur dre galetaat">
      <rule>
        <pattern>
          <token regexp="yes">ho|ez|az</token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">k.*|marc’h</token>
              <token regexp="yes">(g|c’h).*
                <exception postag="[^M]*" postag_regexp="yes" regexp="yes" inflected="yes">c’h.*</exception>
              </token>
            </and>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur goude ar ger «\1» gant ur ger a grog gant «k». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^(g|c’h)" regexp_replace="k"/></suggestion>? (CHALM B3.3)</message>
        <example correction="karr">Ho <marker>c’harr</marker>.</example>
        <example correction="karr">Ho <marker>garr</marker>.</example>
        <example>Ho <marker>c’hoant</marker>.</example>
        <example correction="kezeg">Ho <marker>c’hezeg</marker>.</example>
        <example correction="kezeg">Ho <marker>gezeg</marker>.</example>
        <example>Ho kezeg.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">ho|ez|az</token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">t.*</token>
              <token regexp="yes">[dz].*</token>
            </and>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur goude ar ger «\1» gant ur ger a grog gant «t». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="t"/></suggestion>? (CHALM B3.3)</message>
        <example correction="tad">Ho <marker>dad</marker></example>
        <example correction="tad">Ho <marker>zad</marker></example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">ho|ez|az</token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">p.*</token>
              <token regexp="yes">[bf].*<exception inflected="yes" regexp="yes">[bf].*</exception></token>
            </and>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur goude ar ger «\1» gant ur ger a grog gant «t». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="p"/></suggestion>? (CHALM B3.3)</message>
        <example correction="penn">Ho <marker>benn</marker></example>
        <example correction="penn">Ho <marker>fenn</marker></example>
        <example>Ho <marker>fri</marker></example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">ho|ez|az</token>
          <marker>
            <token regexp="yes">g.*</token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre galetaat a zlefe bezañ goude ar ger «\1». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="k"/></suggestion>? (CHALM B3.3)</message>
        <example correction="kwastell">Mat eo ho <marker>gwastell</marker>.</example>
        <example>Mat eo ho kwastell.</example>
        <example correction="kenoù">Lous eo ho <marker>genoù</marker>.</example>
        <example>Lous eo ho kenoù.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">ho|ez|az</token>
          <marker>
            <token regexp="yes" postag="[^M]*M.*:1:.*" postag_regexp="yes">w.*</token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre galetaat a zlefe bezañ goude ar ger «\1». Ha fellout a rae deoc’h skrivañ <suggestion>k\2</suggestion>? (CHALM B3.3)</message>
        <example correction="kwaz">Ho <marker>waz</marker>.</example>
        <example>Ho kwaz.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">ho|ez|az</token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">d.*</token>
              <token regexp="yes">[dz].*<exception>da</exception></token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre galetaat a zlefe bezañ goude ar ger «\1». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="t"/></suggestion>? (CHALM B3.3)</message>
        <example correction="tilhad">Pegen brav eo ho <marker>dilhad</marker>.</example>
        <example correction="tilhad">Pegen brav eo ho <marker>zilhad</marker>.</example>
        <example>Pegen brav eo ho tilhad.</example>
        <example>Petra ez ez da ijinañ?</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">ho|ez|az</token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">b.*</token>
              <token regexp="yes">[vb].*</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre galetaat a zlefe bezañ goude ar ger «\1». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="p"/></suggestion>? (CHALM B3.3)</message>
        <example correction="preur">Bras eo ho <marker>breur</marker>.</example>
        <example correction="preur">Bras eo ho <marker>vreur</marker>.</example>
        <example>Bras eo ho preur.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">ho|ez|az</token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">g.*</token>
              <token regexp="yes">(c’h|g).*</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre galetaat a zlefe bezañ goude ar ger «\1». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^(c’h|g)(.*)" regexp_replace="k$2"/></suggestion>? (CHALM B3.3)</message>
        <example correction="kenoù">Ho <marker>genoù</marker>.</example>
        <example correction="kenoù">Ho <marker>c’henoù</marker>.</example>
        <example>Ho kenoù.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">ho|ez|az</token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">m.*</token>
              <token regexp="yes">v.*</token>
            </and>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur goude ar ger «\1» gant ur ger a grog gant «m». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="m"/></suggestion>? (CHALM B3.3)</message>
        <example correction="malizenn">Ho <marker>valizenn</marker></example>
      </rule>
      <rule>
        <pattern>
          <token>da’</token>
          <token>z</token>
          <marker>
            <token regexp="yes">b.*</token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre galetaat a zlefe bezañ goude «\1\2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^." regexp_replace="p"/></suggestion>? (CHALM B3.3)</message>
        <example correction="plog">Ret eo dit lakaat un anv da’z <marker>blog</marker>.</example>
        <example>Ret eo dit lakaat un anv da’z plog.</example>
      </rule>
      <rule>
        <pattern>
          <token>da</token>
          <token>’</token>
          <token>z</token>
          <marker>
            <token regexp="yes">b.*</token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre galetaat a zlefe bezañ goude «\1 \2\3». Ha fellout a rae deoc’h skrivañ <suggestion><match no="4" regexp_match="^." regexp_replace="p"/></suggestion>? (CHALM B3.3)</message>
        <example correction="plog">Ret eo dit lakaat un anv da ’z <marker>blog</marker>.</example>
        <example>Ret eo dit lakaat un anv da ’z plog.</example>
      </rule>
      <rule>
        <pattern>
          <token>da’</token>
          <token>z</token>
          <marker>
            <token regexp="yes">d.*</token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre galetaat a zlefe bezañ goude «\1\2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^." regexp_replace="t"/></suggestion>? (CHALM B3.3)</message>
        <example correction="tilhad">Ret eo ober ur c’hempenn da’z <marker>dilhad</marker>.</example>
        <example>Ret eo ober ur c’hempenn da’z tilhad.</example>
      </rule>
      <rule>
        <pattern>
          <token>da</token>
          <token>’</token>
          <token>z</token>
          <marker>
            <token regexp="yes">d.*</token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre galetaat a zlefe bezañ goude «\1 \2\3». Ha fellout a rae deoc’h skrivañ <suggestion><match no="4" regexp_match="^." regexp_replace="t"/></suggestion>? (CHALM B3.3)</message>
        <example correction="tilhad">Ret eo ober ur c’hempenn da ’z <marker>dilhad</marker>.</example>
        <example>Ret eo ober ur c’hempenn da ’z tilhad.</example>
      </rule>
      <rule>
        <pattern>
          <token>da’</token>
          <token>z</token>
          <marker>
            <token regexp="yes">g.*</token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre galetaat a zlefe bezañ goude «\1\2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^." regexp_replace="k"/></suggestion>? (CHALM B3.3)</message>
        <example correction="kwelet">Me zo deuet da’z <marker>gwelet</marker>.</example>
        <example>Me zo deuet da’z kwelet.</example>
      </rule>
      <rule>
        <pattern>
          <token>da</token>
          <token>’</token>
          <token>z</token>
          <marker>
            <token regexp="yes">g.*</token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre galetaat a zlefe bezañ goude «\1\2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="4" regexp_match="^." regexp_replace="k"/></suggestion>? (CHALM B3.3)</message>
        <example correction="kwelet">Me zo deuet da ’z <marker>gwelet</marker>.</example>
        <example>Me zo deuet da ’z kwelet.</example>
      </rule>
    </rulegroup>

    <!-- Mutations spirantes -->
    <rulegroup id="KEMM_DRE_C_HWEZHADENNIN" name="kemmadur dre c’hwezhadenniñ">
      <rule>
        <pattern>
          <token regexp="yes">am|em|he|ma|nav|o|[pbf]eder|[pbf]evar|[tdz]eir|[tdz]ri|va
            <exception postag_regexp="yes" postag="L o|X EN_EM"/>
            <exception postag="C sub">ma</exception>
          </token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">k.*|marc’h
                <exception inflected="yes" regexp="yes" postag="N[^M]*" postag_regexp="yes">g.*</exception>
              </token>
              <token regexp="yes" negate="yes">c’h.*</token>
              <token regexp="yes">[gk].*</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre c’hwezhadenniñ zlefe bezañ goude ar ger «\1». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="c’h"/></suggestion>? (CHALM B3.2.1)</message>
        <example correction="c’harr">Tri <marker>karr</marker> am eus.</example>
        <example correction="c’harr">Tri <marker>garr</marker> am eus.</example>
        <example>Tri c’harr am eus.</example>
        <example>En em gompren a ran.</example>
        <example>He dije</example>
        <example>He ger</example>
        <example>He chas</example>
        <example correction="c’hezeg">Va <marker>kezeg</marker></example>
        <example correction="c’hezeg">Va <marker>gezeg</marker></example>
        <example>Va c’hezeg</example>
        <example correction="c’hi-me">Ma <marker>ki-me</marker>.</example>
        <example>Ma c’hi-me.</example>
        <example correction="c’hlevout">Ma <marker>klevout</marker> a reont.</example>
        <example correction="c’hlevout">Ma <marker>glevout</marker> a reont.</example>
        <example>Ma c’hlevout a reont.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">am|em|he|ma|nav|o|[pbf]eder|[pbf]evar|[tdz]eir|[tdz]ri|va
            <exception postag_regexp="yes" postag="L o|X EN_EM|X KAOUT1"/>
            <exception postag="C sub">ma</exception>
          </token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">t.*
                <exception regexp="yes" inflected="yes" postag="N.*[^M]*" postag_regexp="yes">d.*</exception>
              </token>
              <token regexp="yes">[td].*</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre c’hwezhadenniñ zlefe bezañ goude ar ger «\1». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="z"/></suggestion>? (CHALM B3.2.1)</message>
        <example correction="zad">Va <marker>tad</marker> a gomz brezhoneg.</example>
        <example correction="zad">Va <marker>dad</marker> a gomz brezhoneg.</example>
        <example correction="zad">Ma <marker>tad</marker> a gomz brezhoneg.</example>
        <example correction="zad">Ma <marker>dad</marker> a gomz brezhoneg.</example>
        <example>Va zad a gomz brezhoneg.</example>
        <example>Ma zad a gomz brezhoneg.</example>
        <example>En em dermeniñ a ra evel ur skiantel.</example>
        <example>Laouen e vefen ma teufen.</example>
        <example>Va Doue!</example>
        <example>Ar vugale na sentont ket n’<marker>o do</marker> ket dienn skornet.</example>
        <example correction="zi">Bemdez ez an d’am <marker>ti</marker>.</example>
        <example correction="zi">Bemdez ez an d’am <marker>di</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">am|em|he|ma|nav|o|[pbf]eder|[pbf]evar|[tdz]eir|[tdz]ri|va
            <exception postag_regexp="yes" postag="L o|X EN_EM"/>
            <exception postag="C sub">ma</exception>
          </token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">p.*
                <exception>pe</exception>
                <exception regexp="yes" inflected="yes" postag="[^M]*" postag_regexp="yes">b.*</exception>
              </token>
              <token regexp="yes">[pb].*</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre c’hwezhadenniñ zlefe bezañ goude ar ger «\1». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="f"/></suggestion>? (CHALM B3.2.1)</message>
        <example correction="faotr">Re ziwezhat out va <marker>paotr</marker>!</example>
        <example correction="faotr">Re ziwezhat out va <marker>baotr</marker>!</example>
        <example>Re ziwezhat out va faotr!</example>
        <example>Va beg digor</example>
        <example correction="fatatez">Bras eo o <marker>patatez</marker>.</example>
        <example correction="fatatez">Bras eo o <marker>batatez</marker>.</example>
        <example>Bras eo o fatatez.</example>
        <example correction="foent">Tri <marker>poent</marker>.</example>
        <example>Tri foent.</example>
        <example>Teir <marker>pe</marker> peder nozvezh.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">am|em|he|ma|nav|o|[pbf]eder|[pbf]evar|[tdz]eir|[tdz]ri|va
            <exception postag_regexp="yes" postag="L o|X EN_EM"/>
            <exception postag="C sub">ma</exception>
          </token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">g[^w].*
                <exception regexp="yes" inflected="yes">k.*</exception>
              </token>
              <token regexp="yes">(c’h|[kw]).*</token>
            </and>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur amañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^(c’h|[kw])" regexp_replace="g"/></suggestion>? (CHALM B3.2.1)</message>
        <example correction="gouarnamant">Tri <marker>kouarnamant</marker>.</example>
        <example correction="gouarnamant">Tri <marker>c’houarnamant</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">am|em|he|ma|nav|o|[pbf]eder|[pbf]evar|[tdz]eir|[tdz]ri|va
            <exception postag_regexp="yes" postag="L o|X EN_EM"/>
            <exception postag="C sub">ma</exception>
          </token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">gw.*
                <exception regexp="yes" inflected="yes">k.*</exception>
              </token>
              <token regexp="yes">k?w.*</token>
            </and>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur amañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^k?w" regexp_replace="gw"/></suggestion>? (CHALM B3.2.1)</message>
        <example correction="gwetur">Teir <marker>wetur</marker> en deus.</example>
        <example correction="gwetur">Teir <marker>kwetur</marker> en deus.</example>
        <example>Teir gwetur en deus.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">em|he|ma|nav|o|[pbf]eder|[pbf]evar|[tdz]eir|[tdz]ri|va
            <exception postag_regexp="yes" postag="L o|X EN_EM"/>
            <exception postag="C sub">ma</exception>
          </token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">d.*
                <exception regexp="yes" inflected="yes" postag="[^M]*" postag_regexp="yes">z.*</exception>
                <exception regexp="yes" inflected="yes">t.*</exception>
              </token>
              <token regexp="yes">[tz].*<exception regexp="yes">[tz]ud</exception></token>
            </and>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur amañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="d"/></suggestion>? (CHALM B3.2.1)</message>
        <example correction="dimezell">Teir <marker>timezell</marker></example>
        <example correction="dimezell">Teir <marker>zimezell</marker></example>
        <example>Gant o zud</example>
        <example>Tri zu</example>
        <example correction="desevel">Klask a ran o <marker>tesevel</marker> e brezhoneg.</example>
        <example correction="desevel">Klask a ran o <marker>zesevel</marker> e brezhoneg.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">am|em|he|ma|nav|o|[pbf]eder|[pbf]evar|[tdz]eir|[tdz]ri|va
            <exception postag_regexp="yes" postag="L o|X EN_EM"/>
            <exception postag="C sub">ma</exception>
          </token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">b.*</token>
              <token regexp="yes">[pv].*<exception>pe</exception></token>
            </and>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur amañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="b"/></suggestion>? (CHALM B3.2.1)</message>
        <example correction="bleiz">Tri <marker>vleiz</marker></example>
        <example correction="bleiz">Tri <marker>pleiz</marker></example>
        <example>Gant teir <marker>pe</marker> peder nozvezh</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">am|em|he|ma|nav|o|[pbf]eder|[pbf]evar|[tdz]eir|[tdz]ri|va
            <exception postag_regexp="yes" postag="L o|X EN_EM"/>
            <exception postag="C sub">ma</exception>
          </token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">m.*</token>
              <token regexp="yes">v.*</token>
            </and>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur amañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="m"/></suggestion>? (CHALM B3.2.1)</message>
        <example correction="martolod">Tri <marker>vartolod</marker></example>
      </rule>
      <rule>
        <pattern>
          <token>da’</token>
          <token>m</token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">t.*</token>
              <token regexp="yes">[td].*</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre c’hwezhadenniñ a zlefe bezañ goude «\1\2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^." regexp_replace="z"/></suggestion>? (CHALM B3.2.1)</message>
        <example correction="zad">Da’m <marker>tad</marker></example>
        <example correction="zad">Da’m <marker>dad</marker></example>
        <example>Da’m zad</example>
      </rule>
      <rule>
        <pattern>
          <token>da’</token>
          <token>m</token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">k.*|marc’h</token>
              <token regexp="yes" negate="yes">c’h.*</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre galetaat a zlefe bezañ goude «\1\2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^." regexp_replace="c’h"/></suggestion>? (CHALM B3.2.1)</message>
        <example correction="c’hi">Da’m <marker>ki</marker></example>
        <example correction="c’hi">Da’m <marker>gi</marker></example>
        <example>Da’m c’hi</example>
      </rule>
      <rule>
        <pattern>
          <token>da’</token>
          <token>m</token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">p.*</token>
              <token regexp="yes">[pb].*</token>
            </and>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre galetaat a zlefe bezañ goude «\1\2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="^." regexp_replace="f"/></suggestion>? (CHALM B3.2.1)</message>
        <example correction="faotr">Da’m <marker>paotr</marker></example>
        <example correction="faotr">Da’m <marker>baotr</marker></example>
        <example>Da’m faotr</example>
      </rule>
    </rulegroup>
    <rulegroup id="KEMM_PASK" name="Sul Pask → Sul Fask">
      <rule>
        <pattern>
          <token regexp="yes">Lun|Sul</token>
          <marker>
            <token regexp="yes">[BP]ask</token>
          </marker>
        </pattern>
        <message>Goude ar ger «\1» e tro «Pask» da <suggestion>Fask</suggestion>. (CHALM B3.5.1)</message>
        <example correction="Fask">Sul <marker>Pask</marker></example>
        <example correction="Fask">Sul <marker>Bask</marker></example>
        <example>Sul Fask</example>
      </rule>
      <rule>
        <pattern>
          <token>Yaou</token>
          <marker>
            <token regexp="yes">[FP]ask</token>
          </marker>
        </pattern>
        <message>Goude ar ger «\1» e tro «Pask» da <suggestion>Bask</suggestion>. (CHALM B3.5.1)</message>
        <example correction="Bask">Yaou <marker>Pask</marker></example>
        <example correction="Bask">Yaou <marker>Fask</marker></example>
        <example>Yaou Bask</example>
      </rule>
    </rulegroup>
    <rulegroup id="KEMM_HOR" name="kemmadur goude «hor»">
      <rule>
        <pattern>
          <token>hor</token>
          <marker>
            <token inflected="yes" regexp="yes">k.*|marc’h<exception regexp="yes">c’h.*|marc’h.*</exception></token>
          </marker>
        </pattern>
        <message>Kemmadur direizh. Goude ar ger «\1» e tro «\2» da <suggestion><match no="2" regexp_match="^." regexp_replace="c’h"/></suggestion>.</message>
        <example correction="c’hiez">Hor <marker>kiez</marker></example>
        <example>Hor c’hiez</example>
        <example correction="c’hadorioù">Hor <marker>gadorioù</marker></example>
        <example correction="c’hadorioù">Hor <marker>kadorioù</marker></example>
        <example>Hor c’hadorioù</example>
        <example correction="c’hezeg">Hor <marker>kezeg</marker>.</example>
        <example correction="c’hezeg">Hor <marker>gezeg</marker>.</example>
        <example>Hor c’hezeg.</example>
        <example>Hor marc’h-houarn.</example>
      </rule>
      <rule>
        <pattern>
          <token>hor</token>
          <marker>
            <token postag="[^M]*M:[^0]*" postag_regexp="yes">
              <exception postag="[NJ][^M]*" postag_regexp="yes" inflected="yes" regexp="yes">[^k].*</exception>
              <exception postag="[NJ][^M]*M:0a:.*" postag_regexp="yes"/>
            </token>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur goude «\1».</message>
        <example correction="">Hor <marker>vrec’h</marker></example>
        <example>Hor brec’h</example>
        <example>Hor c’hadorioù</example>
        <example>Hor bed.</example>
        <example>Hor c’houst.</example>
      </rule>
    </rulegroup>
    <rule id="FAZ_KEMM_E" name="kemmadur goude e.">
      <pattern>
        <and>
          <token postag="P">e</token>
          <token postag="L e">e</token>
          <token postag="D m sp">e</token>
        </and>
        <marker>
          <token postag="[^M]+M[^M]*:[23]:.*" postag_regexp="yes">
            <exception postag="[^M]+M[^M]*:[14]:.*" postag_regexp="yes"/>
            <exception postag="[^V][^M]*" postag_regexp="yes"/>
            <exception inflected="yes" regexp="yes" postag="V[^M]*" postag_regexp="yes">[ktp].*</exception>
          </token>
        </marker>
      </pattern>
      <message>Kemmadur fall goude «e».</message>
      <example correction="">E <marker>zad</marker>.</example>
      <example>E dad.</example>
      <example>Pet eur bennak e <marker>c’hell</marker> bezañ bremañ?</example>
      <example>Pegement e koust ur gambr?</example>
      <example>Abalamour e karan ac’hanout.</example>
    </rule>
    <rulegroup id="FAZ_KEMM_DRE_VLOTAAT_AR" name="kemmadur dre vlotaat en anv goude ar ger-mell.">
      <rule>
        <pattern>
          <token regexp="yes">[aeu]r<exception postag="X EN_UR"/></token>
          <marker>
            <and>
              <token postag="N .*" postag_regexp="yes" regexp="yes">[zt].*
                <exception postag="N .*" postag_regexp="yes" regexp="yes" inflected="yes">[zt].*</exception>
              </token>
              <token postag="N .*" postag_regexp="yes" regexp="yes" inflected="yes">d.*</token>
            </and>
          </marker>
        </pattern>
        <message>Ar ger «\2» ne zlefe ket kemmañ anezhañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="d"/></suggestion>?</message>
        <example correction="dimezell">Ar <marker>zimezell</marker></example>
        <example correction="dimezell">Ar <marker>timezell</marker></example>
        <example>An dimezell</example>
        <example>An deiz</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[aeu]r<exception postag="X EN_UR"/></token>
          <marker>
            <and>
              <token postag="N m s.*|N f p.*" postag_regexp="yes" regexp="yes" inflected="yes">p.*
                <exception postag="N f s.*|N m p t.*" postag_regexp="yes" regexp="yes" inflected="yes">p.*</exception>
              </token>
              <token postag="N m s.*|N f p.*" postag_regexp="yes" regexp="yes">[bf].*
                <exception postag="N m s.*|N f p.*" postag_regexp="yes" regexp="yes" inflected="yes">b.*</exception>
                <exception regexp="yes" inflected="yes">f.*</exception>
              </token>
            </and>
          </marker>
        </pattern>
        <message>Ar ger «\2» ne zlefe ket kemmañ anezhañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="p"/></suggestion>?</message>
        <example correction="polis">Ar <marker>bolis</marker></example>
        <example correction="polis">Ar <marker>folis</marker></example>
        <example>Ar polis</example>
        <example>Ur bodad</example>
        <example>En ur broduiñ</example>
        <example correction="pajennoù">Ar <marker>bajennoù</marker></example>
        <example correction="pajennoù">Ar <marker>fajennoù</marker></example>
        <example>Ar pajennoù</example>
        <example>A-benn ar fin</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[au]n</token>
          <marker>
            <and>
              <token postag="N m s.*|N f p.*" postag_regexp="yes" regexp="yes">[dz].*
                <exception regexp="yes">dor|dra(ig)?(-(mañ|se|hont))?</exception>
                <exception postag="N m s.*|N f p.*" postag_regexp="yes" regexp="yes" inflected="yes">[dz].*</exception>
              </token>
              <token postag="N m s.*|N f p.*" postag_regexp="yes" regexp="yes" inflected="yes">t.*
                <exception postag="N f s.*|N m p t.*" postag_regexp="yes" regexp="yes" inflected="yes">t.*</exception>
              </token>
            </and>
          </marker>
        </pattern>
        <message>Ar ger «\2» ne zlefe ket kemmañ anezhañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="t"/></suggestion>?</message>
        <example correction="tigr">An <marker>digr</marker></example>
        <example correction="tigr">An <marker>zigr</marker></example>
        <example>An tigr</example>
        <example>An dour</example>
        <example>An taol</example>
        <example>An daol</example>
        <example>An dra</example>
        <example>An dra-se</example>
        <example correction="tomatez">An <marker>domatez</marker></example>
        <example correction="tomatez">An <marker>zomatez</marker></example>
        <example>An tomatez</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[aeu]r<exception postag="X EN_UR"/></token>
          <marker>
            <and>
              <token regexp="yes" postag="N f s.*|N m p t.*" postag_regexp="yes">z.*</token>
              <token regexp="yes" inflected="yes">t.*
                <exception regexp="yes" inflected="yes">d.*</exception>
              </token>
            </and>
          </marker>
        </pattern>
        <message>Direizh eo kemmadur ar ger «\2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="d"/></suggestion>?</message>
        <example correction="deltenn">Ur <marker>zeltenn</marker></example>
        <example>Un deltenn</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[aeu]r<exception postag="X EN_UR"/></token>
          <marker>
            <token postag="(N m s|N f p) M.*:1:.*" postag_regexp="yes" regexp="yes">g.*
              <exception postag="N m s|N f p" postag_regexp="yes" regexp="yes">g.*</exception>
              <exception postag="(N m p t|N f s) M.*:1:.*" postag_regexp="yes" regexp="yes">g.*</exception>
              <exception>gar</exception>
            </token>
          </marker>
        </pattern>
        <message>Direizh eo ober ur c’hemmadur dre vlotaat er ger «\2». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="c’h"/></suggestion>?</message>
        <example correction="c’hoñfitur">Ar <marker>goñfitur</marker></example>
        <example>Ar c’hoñfitur</example>
        <example>Ar gambr</example>
        <example>Ar genoù</example>
        <example correction="c’hentelioù">Ar <marker>gentelioù</marker></example>
        <example>Ar c’hentelioù</example>
        <example>En ur gas lizhiri</example>
        <example>Ar greun</example>
        <example>Ar gigerien</example>
        <example>Krouin ur gont</example>
        <example correction="c’harr">Er <marker>garr</marker>.</example>
        <example>Ar gar.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[aeu]r<exception postag="X EN_UR"/></token>
          <marker>
            <and>
              <token postag="N m s.*|N f p.*" postag_regexp="yes" regexp="yes">w.*
                <exception postag="N m s.*|N f p.*" postag_regexp="yes" regexp="yes" inflected="yes">w.*</exception>
              </token>
              <token postag="N m s.*|N f p.*" postag_regexp="yes" regexp="yes" inflected="yes">gw.*
                <exception postag="N f s.*|N m p t.*" postag_regexp="yes" regexp="yes" inflected="yes">gw.*</exception>
              </token>
            </and>
          </marker>
        </pattern>
        <message>Direizh eo kemmañ ar ger «\2» amañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^" regexp_replace="g"/></suggestion>?</message>
        <example correction="gwir">Ar <marker>wir</marker></example>
        <example>Ar gwir</example>
        <example>Ar werenn</example>
        <example>Ar web</example>
        <example correction="gwragez">Ar <marker>wragez</marker></example>
        <example>Ar gwragez</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[aeu]r<exception postag="X EN_UR"/></token>
          <marker>
            <and>
              <token postag="N m s.*|N f p.*" postag_regexp="yes" regexp="yes">v.*
                <exception postag="N m s.*|N f p.*" postag_regexp="yes" regexp="yes" inflected="yes">v.*</exception>
                <exception regexp="yes">(?-i)Vouster</exception>
              </token>
              <token postag="N m s.*|N f p.*" postag_regexp="yes" regexp="yes" inflected="yes">m.*
                <exception postag="N f s.*|N m p t.*" postag_regexp="yes" regexp="yes" inflected="yes">[bm].*</exception>
              </token>
            </and>
          </marker>
        </pattern>
        <message>Direizh eo kemmañ ar ger «\2» amañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="m"/></suggestion>?</message>
        <example correction="mammoù">Ar <marker>vammoù</marker></example>
        <example>Ar mammoù</example>
        <example>Ar Vouster</example>
        <example>Ur voul.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[aeu]r<exception postag="X EN_UR"/></token>
          <marker>
            <token postag="N [^M]*M.*" postag_regexp="yes" regexp="yes" inflected="yes">b.*
              <exception postag="(N [ef] s|N m p t) M.*:1a:.*" postag_regexp="yes"/>
              <exception regexp="yes" inflected="yes">[vp].*</exception>
              <exception regexp="yes">vrud(-(mañ|se|hont))?|pez</exception>
            </token>
          </marker>
        </pattern>
        <message>Direizh eo kemmañ ar ger «\2» amañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="b"/></suggestion>?</message>
        <example correction="barr">Ar <marker>varr</marker></example>
        <example correction="barr">Ar <marker>parr</marker></example>
        <example>Ar barr</example>
        <example correction="beajoù">Ar <marker>peajoù</marker></example>
        <example>Ar beajoù</example>
        <example>Ar boulloù</example>
        <example>Ar poulloù</example>
        <example>Ar vrud</example>
        <example correction="brezelioù">Ar <marker>vrezelioù</marker></example>
        <example correction="brezelioù">Ar <marker>prezelioù</marker></example>
        <example>Ar brezelioù</example>
        <example>Ur barzhoneg</example>
        <example>Ur varzhoneg</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[aeu]r</token>
          <marker>
            <and>
              <token postag="N f s M:.*|N m p t M:.*" postag_regexp="yes" regexp="yes">c’h.*
                <exception postag="N f s M:.*|N m p t M:.*" postag_regexp="yes" regexp="yes" inflected="yes">g.*</exception>
                <exception postag="N[^M]*" postag_regexp="yes" regexp="yes" inflected="yes">c’h.*</exception>
              </token>
              <token postag="N f s M:.*|N m p t M:.*" postag_regexp="yes" regexp="yes" inflected="yes">k.*
                <exception postag="N m s.*|N f p.*" postag_regexp="yes" regexp="yes" inflected="yes">k.*</exception>
              </token>
            </and>
          </marker>
        </pattern>
        <message>Direizh eo ober ur c’hemmadur dre vlotaat er ger «\2» amañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^..." regexp_replace="g"/></suggestion>?</message>
        <example correction="gambr">Ar <marker>c’hambr</marker></example>
        <example correction="gambr">Er <marker>c’hambr</marker></example>
        <example>Ar gambr</example>
        <example>Ar c’hangourou</example>
        <example>Ar c’hoar</example>
        <example correction="gamaladed">Ar <marker>c’hamaladed</marker></example>
        <example>Ar gamaladed</example>
        <example>Ar c’had</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[aeu]r</token>
          <marker>
            <token postag="(N m s|N f p) M.*:1:.*" postag_regexp="yes" regexp="yes">c’h.*
              <exception regexp="yes" inflected="yes">c’h.*</exception>
              <exception postag="(N m s|N f p) M.*:0a:.*" postag_regexp="yes" regexp="yes" inflected="yes">k.*</exception>
              <exception postag="(N f s|N m p t) M:.*:1:.*" postag_regexp="yes" regexp="yes" inflected="yes">g.*</exception>
            </token>
          </marker>
        </pattern>
        <message>Direizh eo ober ur c’hemmadur dre vlotaat er ger «\2» amañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^..." regexp_replace="g"/></suggestion>?</message>
        <example correction="gourfenn">Ar <marker>c’hourfenn</marker>.</example>
        <example>Ar <marker>c’harr-tan</marker>.</example>
        <example>Ar <marker>c’hodell</marker>.</example>
        <example>Ar <marker>c’hoarezed</marker>.</example>
        <example>Ar <marker>c’hoar</marker>.</example>
        <example>Ar <marker>c’houst</marker>.</example>
        <example>Ar <marker>goust</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[aeu]r</token>
          <marker>
            <and>
              <token postag="N f p M:.*|N m[^M]+M:.*" postag_regexp="yes" regexp="yes">c’h.*
                <exception postag="N f s.*|N m p t.*" postag_regexp="yes" regexp="yes" inflected="yes">g.*</exception>
                <exception postag="N[^M]*" postag_regexp="yes" regexp="yes" inflected="yes">c’h.*</exception>
                <exception postag="N ([em] s|[ef] p) M:0a.*" postag_regexp="yes" inflected="yes" regexp="yes">k.*</exception>
              </token>
              <token postag="N f p M:.*|N m[^M]+M:.*" postag_regexp="yes" regexp="yes" inflected="yes">g.*</token>
            </and>
          </marker>
        </pattern>
        <message>Direizh eo ober ur c’hemmadur dre vlotaat er ger «\2» amañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^..." regexp_replace="g"/></suggestion>?</message>
        <example correction="gerioù">Ar <marker>c’herioù</marker>.</example>
        <example>Ar <marker>ger</marker>.</example>
        <example correction="gizioù">Ar <marker>c’hizioù</marker>.</example>
        <example>Ar <marker>C’hallaoued</marker>.</example>
        <example>Ar <marker>c’houst</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">a[nr]|er</token>
          <marker>
            <and>
              <token postag="N m p M:.*" postag_regexp="yes" regexp="yes">[dz].*où|[dz]adoù-(kaer|kozh|kuñv)
                <exception postag="N f p" regexp="yes">d.*</exception>
                <exception postag="N m p" inflected="yes" regexp="yes">d.*</exception>
              </token>
              <token postag="N m p.*" postag_regexp="yes" regexp="yes" inflected="yes">t.*</token>
            </and>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur er ger «\2» goude ar ger-mell. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="t"/></suggestion>?</message>
        <example correction="tadoù">An <marker>dadoù</marker></example>
        <example correction="tadoù">Ar <marker>zadoù</marker></example>
        <example>An tadoù</example>
        <example correction="tadoù-kozh">An <marker>dadoù-kozh</marker></example>
        <example correction="tadoù-kozh">Ar <marker>zadoù-kozh</marker></example>
        <example>An tadoù-kozh</example>
        <example>An dorioù</example>
        <example>An dourioù lous.</example>
        <example correction="testoù">An <marker>destoù</marker></example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[ae]r</token>
          <marker>
            <and>
              <token postag="N m p.*" postag_regexp="yes" regexp="yes">[bf].*où
                <exception inflected="yes" regexp="yes">[bf].*</exception>
                <exception postag="N m p t M:1:.*" postag_regexp="yes"/>
              </token>
              <token postag="N m p.*" postag_regexp="yes" regexp="yes" inflected="yes">p.*</token>
            </and>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur er ger «\2» goude ar ger-mell. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="p"/></suggestion>?</message>
        <example correction="privezioù">Ar <marker>brivezioù</marker></example>
        <example correction="privezioù">Ar <marker>frivezioù</marker></example>
        <example>Ar privezioù</example>
        <example>Ar fazioù</example>
        <example>Ar bodadoù</example>
        <example>Ar baotredigoù.</example>
        <example>Ar baotredoù.</example>
        <example correction="priedoù">Ar <marker>briedoù</marker>.</example>
        <example correction="priedoù">Ar <marker>friedoù</marker>.</example>
        <example>Ar priedoù.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[ae]r</token>
          <marker>
            <and>
              <token postag="N m p.*" postag_regexp="yes" regexp="yes">g.*où</token>
              <token postag="N m p.*" postag_regexp="yes" regexp="yes" inflected="yes">k.*</token>
            </and>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur dre vlotaat er ger «\2» goude ar ger-mell. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="c’h"/></suggestion>?</message>
        <example correction="c’hoadoù">Ar <marker>goadoù</marker></example>
        <example>Ar c’hoadoù</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[ea]r</token>
          <marker>
            <and>
              <token postag="N m p.*" postag_regexp="yes" regexp="yes">v.*où</token>
              <token postag="N m p.*" postag_regexp="yes" regexp="yes" inflected="yes">m.*</token>
            </and>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur dre vlotaat gant ar ger «\2» goude ar gar-mell. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="m"/></suggestion>?</message>
        <example correction="melezourioù">Ar <marker>velezourioù</marker></example>
        <example>Ar melezourioù</example>
        <example correction="maerioù">Ar <marker>vaerioù</marker>.</example>
        <example correction="mestroù">Ar <marker>vestroù</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[ae]r</token>
          <marker>
            <and>
              <token postag="N m p.*" postag_regexp="yes" regexp="yes">w.*où</token>
              <token postag="N m p.*" postag_regexp="yes" regexp="yes" inflected="yes">gw.*</token>
            </and>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ a c’hemmadur dre vlotaat gant ar ger «\2» goude ar ger-mell. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^" regexp_replace="g"/></suggestion>?</message>
        <example correction="gweleoù">Ar <marker>weleoù</marker></example>
        <example>Ar gweleoù</example>
      </rule>
    </rulegroup>
    <rulegroup id="FAZ_KEMM" name="kemmadur faziet">
      <rule>
        <pattern>
          <token postag="SENT_START|V.*|X KAOUT2|J sup .*|X DA_LAVARET_EO" postag_regexp="yes">
            <exception>eme</exception>
            <exception negate_pos="yes" postag="SENT_START|V.*|X KAOUT2|J sup .*|X DA_LAVARET_EO" postag_regexp="yes"/>
          </token>
          <marker>
            <token postag="[^M]*M.*" postag_regexp="yes">
              <exception negate_pos="yes" postag="[^M]*M:.*|SENT_END" postag_regexp="yes"/>
              <exception regexp="yes">dal|va[dt]|vloaz|(?-i)Zeus|Dom</exception>
            </token>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur dre vlotaat amañ.</message>
        <example correction=""><marker>Zebriñ</marker> a ran.</example>
        <example><marker>Debriñ</marker> a ran.</example>
        <example correction=""><marker>C’hallout</marker> a ran.</example>
        <example><marker>Gallout</marker> a ran.</example>
        <example>Vad a raio ur c’hafe tomm.</example>
        <example correction="">Gwelet em eus <marker>vagoù</marker>.</example>
        <example correction="">Gwelet en doa <marker>vagoù</marker>.</example>
        <example>Gwelet em eus bagoù.</example>
        <example correction="">N’out ket chomet <marker>bell</marker>.</example>
        <example>N’out ket chomet pell.</example>
        <example correction="">Boutin eo <marker>c’hentelioù-noz</marker></example>
        <example>Boutin eo ar c’hentelioù-noz</example>
        <example>"N’ouzon ket" eme zTony.</example>
        <example>Seitek vloaz.</example>
        <example correction="">Ar wellañ <marker>vaouez</marker>.</example>
        <example>Ar wellañ <marker>maouez</marker>.</example>
        <example>Div, unan vihan, hag unan vras.</example>
        <example><marker>Dal</marker> ma niverenn bellgomz.</example>
        <example>Naig a rae <marker>van</marker> nompas kompren.</example>
        <example correction="">D.l.e <marker>tesket</marker> a-walc’h war ar brezhoneg.</example>
        <example>D.l.e desket a-walc’h war ar brezhoneg.</example>
        <example>Zeus a zo ur roue.</example>
        <example>Emañ Dom Duff o kanañ.</example>
      </rule>
      <rule>
        <antipattern>
          <token>mil</token>
          <marker><token regexp="yes">boan|bres|gozh|c’hast</token></marker>
        </antipattern>
        <pattern>
          <token postag="K . .*" postag_regexp="yes">
            <exception regexp="yes">[dtz]aou|[dtz]iv|[dtz]ri|[tdz]eir|[pbf]evar|[pbf]eder|nav</exception>
          </token>
          <marker>
            <token postag="[^M]*M.*" postag_regexp="yes">
              <exception negate_pos="yes" postag="[^M]*M:.*|SENT_END" postag_regexp="yes"/>
              <exception regexp="yes">va[dt]|vloaz</exception>
              <exception postag="J.*" postag_regexp="yes"/>
            </token>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur dre vlotaat amañ.</message>
        <example correction="">Pemp <marker>c’hi</marker>.</example>
        <example correction="">Pemp <marker>gi</marker>.</example>
        <example>Pemp <marker>ki</marker>.</example>
        <example>Tri <marker>c’hi</marker>.</example>
        <example>Daou <marker>gi</marker>.</example>
        <example>Div, unan <marker>vihan</marker>, hag unan <marker>vras</marker>.</example>
        <example>Ni ivez hon eus mil <marker>boan</marker> war an dachenn-se.</example>
      </rule>
    </rulegroup>
    <rulegroup id="KEMM_MESKET_MA" name="kemmadur mesket goude ar stagell ma">
      <rule>
        <pattern>
          <token postag="C sub">ma<exception negate_pos="yes" postag="C sub"/></token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">k.*</token>
              <token regexp="yes">(g|c’h).*</token>
            </and>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur goude ar stagell «\1» gant ur ger a grog gant «k». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^(g|c’h)" regexp_replace="k"/></suggestion>?</message>
        <example correction="karjen">Ma <marker>garjen</marker></example>
        <example correction="karjen">Ma <marker>c’harjen</marker></example>
      </rule>
      <rule>
        <pattern>
          <token postag="C sub">ma<exception negate_pos="yes" postag="C sub"/></token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">t.*</token>
              <token regexp="yes">[dz].*<exception>zo</exception></token>
            </and>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur goude ar stagell «\1» gant ur ger a grog gant «t». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="t"/></suggestion>?</message>
        <example correction="tremenomp">Ma <marker>dremenomp</marker> dre Gemper.</example>
        <example correction="tremenomp">Ma <marker>zremenomp</marker> dre Gemper.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="C sub">ma<exception negate_pos="yes" postag="C sub"/></token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">p.*</token>
              <token regexp="yes">[bf].*<exception inflected="yes" regexp="yes">[bf].*</exception></token>
            </and>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur goude ar stagell «\1» gant ur ger a grog gant «p». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="p"/></suggestion>?</message>
        <example correction="pellgomzomp">Ma <marker>bellgomzomp</marker> dezhañ</example>
        <example correction="pellgomzomp">Ma <marker>fellgomzomp</marker> dezhañ</example>
        <example>Ma <marker>fell</marker> deoc’h</example>
      </rule>
      <rule>
        <pattern>
          <token postag="C sub">ma<exception negate_pos="yes" postag="C sub"/></token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">g[^w].*</token>
              <token regexp="yes" negate="yes">(c’h|k|o).*</token>
            </and>
          </marker>
        </pattern>
        <message>Goude ar stagell «\1» e tlefe c’hoarvezout ur c’hemmadur mesket. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="c’h"/></suggestion>?</message>
        <example correction="c’hallen">Ma <marker>gallen</marker> mont ez ajen.</example>
        <example>Ma c’hallen mont ez ajen.</example>
        <example>Ma <marker>c’hlevout</marker> a reont.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="C sub">ma<exception negate_pos="yes" postag="C sub"/></token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">gw.*</token>
              <token regexp="yes">[gk].*</token>
            </and>
          </marker>
        </pattern>
        <message>Goude ar stagell «\1» e tlefe c’hoarvezout ur c’hemmadur mesket. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace=""/></suggestion>?</message>
        <example correction="welfes">Ma <marker>gwelfes</marker> anezhañ e komprenfes.</example>
        <example>Ma welfes anezhañ e komprenfes</example>
      </rule>
      <rule>
        <pattern>
          <token postag="C sub">ma<exception negate_pos="yes" postag="C sub"/></token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">d.*</token>
              <token regexp="yes">[dz].*</token>
            </and>
          </marker>
        </pattern>
        <message>Goude ar stagell «\1» e tlefe c’hoarvezout ur c’hemmadur mesket. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="t"/></suggestion>?</message>
        <example correction="teuio">Gourc’hemenn a ran ma <marker>deuio</marker>.</example>
        <example correction="teuio">Gourc’hemenn a ran ma <marker>zeuio</marker>.</example>
        <example>Gourc’hemenn a ran ma teuio.</example>
        <example>Ma digarezit.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="C sub">ma<exception negate_pos="yes" postag="C sub"/></token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">b.*</token>
              <token regexp="yes">[bp].*</token>
            </and>
          </marker>
        </pattern>
        <message>Goude ar stagell «\1» e tlefe c’hoarvezout ur c’hemmadur mesket. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="v"/></suggestion>?</message>
        <example correction="vefen">Ma <marker>befen</marker> amañ e vefen laouen.</example>
        <example correction="vefen">Ma <marker>pefen</marker> amañ e vefen laouen.</example>
        <example>Ma vefen amañ e vefen laouen.</example>
        <example>Mar befen amañ e vefen laouen.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="C sub">ma<exception negate_pos="yes" postag="C sub"/></token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">m.*</token>
              <token regexp="yes">m.*</token>
            </and>
          </marker>
        </pattern>
        <message>Goude ar stagell «\1» e tlefe c’hoarvezout ur c’hemmadur mesket. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="v"/></suggestion>?</message>
        <example correction="varvas">A-raok ma <marker>marvas</marker></example>
        <example>A-raok ma varvas</example>
      </rule>
    </rulegroup>
    <rulegroup id="KEMM_MESKET_RANNIG_E_O" name="kemmadur mesket goude ar rannigoù-verb e pe o">
      <rule>
        <pattern>
          <token postag="L [eo]" postag_regexp="yes">
            <exception negate_pos="yes" postag="L [eo]" postag_regexp="yes"/>
          </token>
          <marker>
            <token regexp="yes" inflected="yes" postag="V[^M]*M:.*" postag_regexp="yes">k.*
              <exception regexp="yes" postag="V[^M]*M:1:1a:1b:4:" postag_regexp="yes">c’h.*</exception>
            </token>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur goude ar rannig-verb «\1» gant ur ger a grog gant «k». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^(g|c’h)" regexp_replace="k"/></suggestion>?</message>
        <example correction="komprenan">Peogwir e <marker>gomprenan</marker>.</example>
        <example correction="komprenan">Peogwir e <marker>c’homprenan</marker>.</example>
        <example>Peogwir e komprenan.</example>
        <example>War lec’hienn an Ofis e c’haller e gavout.</example>
        <example>Diwar e garantez e <marker>c’hanas</marker> daou vugel.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="L [eo]" postag_regexp="yes">
            <exception negate_pos="yes" postag="L [eo]" postag_regexp="yes"/>
          </token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">t.*</token>
              <token regexp="yes">[dz].*</token>
            </and>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur goude ar rannig-verb «\1» gant ur ger a grog gant «t». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="t"/></suggestion>?</message>
        <example correction="tremenemp">Peogwir e <marker>dremenemp</marker> dre Gemper.</example>
        <example correction="tremenemp">Peogwir e <marker>zremenemp</marker> dre Gemper.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="L [eo]" postag_regexp="yes">
            <exception negate_pos="yes" postag="L [eo]" postag_regexp="yes"/>
          </token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">p.*</token>
              <token regexp="yes">[bf].*<exception inflected="yes" regexp="yes">[bf].*</exception></token>
            </and>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur goude ar rannig-verb «\1» gant ur ger a grog gant «p». Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="p"/></suggestion>?</message>
        <example correction="pellgomzin">Peogwir e <marker>bellgomzin</marker> dezhañ</example>
        <example correction="pellgomzin">Peogwir e <marker>fellgomzin</marker> dezhañ</example>
        <example>O welet ar blijadur zo bet e <marker>fell</marker> deomp kinnig abadennoù all.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="L [eo]" postag_regexp="yes">
            <exception negate_pos="yes" postag="L [eo]" postag_regexp="yes"/>
          </token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">g[^w].*
                <exception regexp="yes" inflected="yes">k.*</exception>
              </token>
              <token regexp="yes" negate="yes">(c’h|o).*</token>
            </and>
          </marker>
        </pattern>
        <message>Goude ar rannig-verb «\1» e tlefe c’hoarvezout ur c’hemmadur mesket. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="c’h"/></suggestion>?</message>
        <example correction="c’hortozomp">Alies e <marker>gortozomp</marker> kalz.</example>
        <example correction="c’hortozomp">Alies e <marker>kortozomp</marker> kalz.</example>
        <example>Alies e c’hortozomp kalz.</example>
        <example correction="c’hortoz">Petra emaout o <marker>gortoz</marker>?</example>
        <example correction="c’hortoz">Petra emaout o <marker>kortoz</marker>?</example>
        <example>Petra emaout o c’hortoz?</example>
        <example>Warlene e ouiemp</example>
        <example>Peogwir e selaouomp sonerezh hag e kanomp.</example>
        <example>Me a rankfe chom d’o gortoz.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="L [eo]" postag_regexp="yes">
            <exception negate_pos="yes" postag="L [eo]" postag_regexp="yes"/>
          </token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">gw.*</token>
              <token regexp="yes">[gk].*</token>
            </and>
          </marker>
        </pattern>
        <message>Goude ar rannig-verb «\1» e tlefe c’hoarvezout ur c’hemmadur mesket. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace=""/></suggestion>?</message>
        <example correction="walc’hin">Hiziv e <marker>gwalc’hin</marker> ma c’harr-tan.</example>
        <example correction="walc’hin">Hiziv e <marker>kwalc’hin</marker> ma c’harr-tan.</example>
        <example>Hiziv e walc’hin ma c’harr-tan.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="L [eo]" postag_regexp="yes">
            <exception negate_pos="yes" postag="L [eo]" postag_regexp="yes"/>
          </token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">d.*</token>
              <token regexp="yes">[dz].*</token>
            </and>
          </marker>
        </pattern>
        <message>Goude ar rannig-verb «\1» e tlefe c’hoarvezout ur c’hemmadur mesket. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="t"/></suggestion>?</message>
        <example correction="tebrimp">Pelec’h e <marker>debrimp</marker>?</example>
        <example correction="tebrimp">Pelec’h e <marker>zebrimp</marker>?</example>
        <example>Pelec’h e tebrimp?</example>
        <example>Evit e enoriñ pe e ziduiñ.</example>
        <example>Klask a ran o <marker>desevel</marker> e brezhoneg.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="L [eo]" postag_regexp="yes">
            <exception negate_pos="yes" postag="L [eo]" postag_regexp="yes"/>
          </token>
          <marker>
            <and>
              <token regexp="yes" inflected="yes">b.*</token>
              <token regexp="yes">[bp].*</token>
            </and>
          </marker>
        </pattern>
        <message>Goude ar rannig-verb «\1» e tlefe c’hoarvezout ur c’hemmadur mesket. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="v"/></suggestion>?</message>
        <example correction="vutunan">Alies e <marker>butunan</marker></example>
        <example correction="vutunan">Alies e <marker>putunan</marker></example>
        <example>Alies e vutunan</example>
      </rule>
      <rule>
        <pattern>
          <token postag="L [eo]" postag_regexp="yes">
            <exception negate_pos="yes" postag="L [eo]" postag_regexp="yes"/>
          </token>
          <marker><token postag="[^M]*" postag_regexp="yes" regexp="yes">m.*</token></marker>
        </pattern>
        <message>Goude ar rannig-verb «\1» e tlefe c’hoarvezout ur c’hemmadur mesket. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="v"/></suggestion>?</message>
        <example correction="varvailhan">Alies e <marker>marvailhan</marker> ur pennadig gant an amezeg.</example>
        <example>Alies e <marker>varvailhan</marker> ur pennadig an amezeg.</example>
        <example>E 2005 e oa 13.518.000 a dud o vevañ e <marker>Mali</marker>.</example>
        <example>Arveret e vez e muioc’h eget 24 yezh.</example>
      </rule>
    </rulegroup>

    <rulegroup id="KEMM_BLOAZ" name="kemmadur direizh ar ger bloaz">
      <rule>
        <pattern>
          <token regexp="yes">pet|nouspet</token>
          <marker>
            <token regexp="yes">[bp]loaz</token>
          </marker>
        </pattern>
        <message>Goude ar ger «\1» e tro «\2» da <suggestion>vloaz</suggestion>. (CHALM B3.5)</message>
        <example correction="vloaz">Pet <marker>bloaz</marker> out?</example>
        <example>Pet vloaz out?</example>
      </rule>
      <rule>
        <pattern>
          <token postag="K.*" postag_regexp="yes">
            <exception regexp="yes">[tdz]ri|[bpf]evar|[pbf]emp|nav|[mv]il</exception>
          </token>
          <marker>
            <token regexp="yes">[bp]loaz</token>
          </marker>
        </pattern>
        <message>Ar ger «bloaz» a dro da «vloaz» goude an niveroù nemet goude tri, pevar, pemp, nav, mil. Ha fellout a rae deoc’h skrivañ <suggestion>vloaz</suggestion>? (CHALM B3.5)</message>
        <example correction="vloaz">Daou <marker>bloaz</marker></example>
        <example>Daou vloaz</example>
        <example>Tri bloaz</example>
        <example>Daou vil bloaz</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[tdz]ri|[pbf]evar|[pbf]emp|nav|[mv]il</token>
          <marker>
            <token regexp="yes">[vp]loaz</token>
          </marker>
        </pattern>
        <message>Ar ger «bloaz» a dro da «vloaz» goude an niveroù nemet goude tri, pevar, pemp, nav, mil. Ha fellout a rae deoc’h skrivañ <suggestion>bloaz</suggestion>? (CHALM B3.5)</message>
        <example correction="bloaz">Pemp <marker>vloaz</marker></example>
        <example>Pemp bloaz</example>
        <example correction="bloaz">Daou vil <marker>vloaz</marker></example>
        <example>Daou vil bloaz</example>
        <example correction="bloaz">Ur c’hrouadur a dri <marker>vloaz</marker></example>
        <example>Ur c’hrouadur a dri bloaz</example>
      </rule>
    </rulegroup>
    <rule id="TI_BIV" name="ti piv → ti biv">
      <pattern>
        <token>ti</token>
        <marker>
          <token regexp="yes">[pf]iv</token>
        </marker>
      </pattern>
      <message>Goude ar ger «\1» e tro «\2» da <suggestion>biv</suggestion>. (CHALM B3.5)</message>
      <example correction="biv">Ti <marker>piv</marker> eo?</example>
      <example>Ti biv eo?</example>
    </rule>

    <rulegroup id="LABOUR" name="labour vat, ul labour mat">
      <rule>
        <pattern>
          <token>ul</token>
          <token>labour</token>
          <marker>
            <token postag="[^M]*M:.*" postag_regexp="yes">
              <exception negate_pos="yes" postag="[^M]*M:.*" postag_regexp="yes"/>
            </token>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur goude «\1 \2». (CHALM B3.5)</message>
        <example correction="">Ul labour <marker>vat</marker> en deus graet.</example>
        <example>Ul labour mat en deus graet.</example>
      </rule>
      <rule>
        <pattern>
          <token negate="yes">ul</token>
          <token>labour</token>
          <marker>
            <token>
              <exception negate_pos="yes" postag="[^M]*M.*:1a:.*" postag_regexp="yes"/>
            </token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude «\1 \2». (CHALM B3.5)</message>
        <example correction="">Labour <marker>vat</marker> a ra bepred.</example>
        <example>Labour mat a ra bepred.</example>
        <example>Ul labour mat en deus graet.</example>
      </rule>
    </rulegroup>
    <rulegroup id="EUR_MINTIN" name="eur mintin">
      <rule>
        <pattern>
          <token regexp="yes">eur|hiziv|w?arc’hoazh|dec’h|(di)?(lun|meurzh|merc’her|gwener|sadorn|sul)|diriaou|yaou</token>
          <marker>
            <token>mintin</token>
          </marker>
        </pattern>
        <message>Goude «\1» e tro «\2» da <suggestion>vintin</suggestion>. (CHALM B3.5)</message>
        <example correction="vintin">Dek eur <marker>mintin</marker> eo.</example>
        <example>Dek eur vintin eo.</example>
      </rule>
    </rulegroup>

    <rulegroup id="DEVEZHIOU_MIZ" name="D’ar pemp a viz → D’ar bemp a viz">
      <rule>
        <pattern>
          <token>ar</token>
          <marker>
            <token regexp="yes" skip="1">pevar(zek)?|pemp|pemzek</token>
          </marker>
          <token>a</token>
          <token>viz</token>
        </pattern>
        <message>Evit envel devezhioù ar miz eo e vez graet ur c’hemmadur dre vlotaat gant an niver. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="b"/></suggestion>?</message>
        <example correction="bemp">D’ar <marker>pemp</marker> a viz Gwengolo</example>
        <example>D’ar bemp a viz Gwengolo</example>
        <example correction="bemp">D’ar <marker>pemp</marker> warn-ugent a viz Gwengolo</example>
        <example>D’ar bemp warn-ugent a viz Gwengolo</example>
      </rule>
      <rule>
        <pattern>
          <token>an</token>
          <marker>
            <token regexp="yes" skip="1">tri(wec’h|zek)?(vet)?|tregont</token>
          </marker>
          <token>a</token>
          <token>viz</token>
        </pattern>
        <message>Evit envel devezhioù ar miz eo e vez graet ur c’hemmadur dre vlotaat gant an niver. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="d"/></suggestion>?</message>
        <example correction="dregont">D’an <marker>tregont</marker> a viz Eost</example>
        <example>D’an dregont a viz Eost</example>
        <example correction="dri">D’an <marker>tri</marker> warn-ugent a viz Eost</example>
        <example>D’an dri warn-ugent a viz Eost</example>
      </rule>
    </rulegroup>

    <rulegroup id="GER_KEMM" name="kemmadur ebet goude gerioù">
      <rule>
        <pattern>
          <token regexp="yes">abaoe|ahont|amañ|arabat|aze|a-(benn|berzh|dal|dreñv|dreuz|drugarez|enep|hed|raok|us|walc’h|wechoù|wezhioù|ziwar)|bep|bet|betek|daoust|diouzh|dirak|diwar-(benn|goust)|eget|evel|ent|etre|etrezek|eus|[e’](vel|vit)(-se)?|e-(barzh|giz|keñver|kerz|kichen(ig)?|get|kreiz|lerc’h|mesk|pad|ser|touez)|gant|goude|hag?|hep|hervez|hevelep|[kg]alz(ig)?|[kg]ement|kenetre|ke[nt]|krenn|lies|mard?|mell(ad)?(où)?|me[dts]|nemet|nompa[sz]|manier|memes|mui|na|nebeud(ig)?|nep|ouzh|ouzhpenn|panevet|pas|paourkaezh|pep|pebezh|pegen|peotramant|pere|peseurt|pet|petore|petvet|pezh(iad)?|pezhi(ad)?où|pikol(ioù)?|rak|setu|seurt|war-(bouez|c’horre|dro|du|giz|lerc’h|nes|zu)<exception postag="L n">na</exception><exception postag="X KAOUT2">eus</exception></token>
          <marker>
            <token postag="[^M]*M:.*" postag_regexp="yes">
              <exception negate_pos="yes" postag="[^M]*M:.*" postag_regexp="yes"/>
              <exception regexp="yes">dal|va[nd]|vloaz</exception>
            </token>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur er ger «\2» goude ar ger «\1».</message>
        <example correction="">Mar <marker>vefe</marker> tomm</example>
        <example>Mar befe tomm</example>
        <example>Ma vefe tomm</example>
        <example correction="">Arabat <marker>dreuziñ</marker> an hent!</example>
        <example>Arabat treuziñ an hent!</example>
        <example>Redek a ra vad.</example>
        <example correction="">Ken <marker>vras</marker> eo!</example>
        <example>Ken bras eo!</example>
        <example>Ha vad a ra din bezañ du-hont.</example>
        <example>Ne ra ket van outo.</example>
        <example correction="">Kaset ez eus bet <marker>vleunioù</marker> d’ar vered.</example>
        <example>Kaset ez eus bet <marker>bleunioù</marker> d’ar vered.</example>
        <example correction="">Na <marker>dommat</marker> eo.</example>
        <example correction="">Na <marker>zommat</marker> eo.</example>
        <example>Na <marker>tommat</marker> eo.</example>
        <example correction="">Na <marker>zebriñ</marker> na kousket.</example>
        <example correction="">Na debriñ na <marker>gousket</marker>.</example>
        <example correction="">Na debriñ na <marker>c’housket</marker>.</example>
        <example>Na debriñ na kousket.</example>
        <example correction="">Arabat ober van nompas <marker>gompren</marker>.</example>
        <example>Arabat ober van nompas kompren.</example>
        <example>Tost da gant vloaz.</example>
        <example correction="">Gant <marker>blijadur</marker>.</example>
        <example>Gant <marker>plijadur</marker>.</example>
        <example correction="">N’int na <marker>vat</marker> na fall.</example>
        <example correction="">N’int na <marker>vat</marker>, na fall.</example>
        <example>N’int na mat na fall.</example>
        <example>N’int na mat, na fall.</example>
        <example correction="">Ne oar na <marker>gomz</marker> na tevel.</example>
        <example correction="">Ne oar na <marker>gomz</marker>, na tevel.</example>
        <example correction="">Ne oar na <marker>c’homz</marker> na tevel.</example>
        <example correction="">Ne oar na komz na <marker>devel</marker>.</example>
        <example correction="">Ne oar na komz, na <marker>devel</marker>.</example>
        <example correction="">Ne oar na komz na <marker>zevel</marker>.</example>
        <example>Ne oar na komz na tevel.</example>
        <example>Ne oar na komz, na tevel.</example>
        <example>Ha dal ma hini.</example>
        <example correction="">Ne glevin mui <marker>vouezh</marker> an eostig.</example>
        <example>Ne glevin mui mouezh an eostig.</example>
      </rule>
      <rule>
        <pattern>
          <token inflected="yes" postag="P .*" postag_regexp="yes">da</token>
          <marker>
            <token postag="[^M]*M:.*" postag_regexp="yes">
              <exception negate_pos="yes" postag="[^M]*M:.*" postag_regexp="yes"/>
            </token>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur er ger «\2» goude ar ger «\1».</message>
        <example correction="">Ret eo din <marker>gavout</marker> labour.</example>
        <example correction="">Ret eo din <marker>c’havout</marker> labour.</example>
        <example>Ret eo din kavout labour.</example>
        <example>Diaes eo da gavout.</example>
      </rule>
    </rulegroup>

    <rulegroup id="KEMM_N_J" name="Kemmadur en anv-gwan o tont warlerc’h an anv">
      <rule>
        <pattern>
          <token regexp="yes">aer|amzer|avel|brud|c’hoari|c’hwezh|lann|lur|revr|[dt]ra</token>
          <marker>
            <token postag="J.*" postag_regexp="yes" inflected="yes" regexp="yes">[ktpgbm].*
              <exception postag="J[^M]*M.*:1:.*" postag_regexp="yes"/>
              <exception postag="J.*|K e sp o" postag_regexp="yes" negate_pos="yes"/>
              <exception regexp="yes">bennak(et)?|.*-(kenañ|tre|meurbet)</exception>
            </token>
          </marker>
          <token negate="yes">ha</token>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ en anv-gwan «\2» goude an anv gourel «\1» evel ma vefe un anv benel.</message>
        <example correction="">An avel <marker>kreñv</marker>.</example>
        <example correction="">An avel <marker>c’hreñv</marker>.</example>
        <example>An avel <marker>greñv</marker>.</example>
        <example>Ur skol <marker>divyezhek</marker>.</example>
        <example>Ur skol <marker>zivyezhek</marker>.</example>
        <example correction="">An dra <marker>kentañ</marker>.</example>
        <example>An dra <marker>gentañ</marker>.</example>
        <example>Un dra <marker>bennak</marker>.</example>
        <example>An avel <marker>kreñv-tre</marker>.</example>
        <example>An avel <marker>greñv-tre</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="N f s.*|N m p t.*" postag_regexp="yes">
            <exception postag="N f p.*|N m s.*|N m p|N m p [^t].*|V.*" postag_regexp="yes"/>
          </token>
          <marker>
            <token postag="J.*" postag_regexp="yes" inflected="yes" regexp="yes">[gbm].*
              <exception postag="J[^M]*M.*:1:.*" postag_regexp="yes"/>
              <exception postag="J.*" postag_regexp="yes" negate_pos="yes"/>
              <!-- bennak is marked as an adjective in the diction, it
                   should be an adverb -->
              <exception regexp="yes">bennak(et)?|.*-(kenañ|tre|meurbet)</exception>
            </token>
          </marker>
          <token negate="yes">ha</token>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ en anv-gwan «\2» goude un anv benel unan pe un anv tud gourel lies.</message>
        <example correction="">Ur vag <marker>bras</marker>.</example>
        <example>Ur vag vras.</example>
        <example correction="">Ur chapel <marker>bihan</marker>.</example>
        <example>Ur chapel vihan.</example>
        <example>Ur chapel bihan ha brav.</example>
        <example>Trugarez memes tra.</example>
        <example correction="">Al lodenn <marker>brasañ</marker>.</example>
        <example>Al lodenn vrasañ.</example>
        <example correction="">Ur gevredigezh <marker>gouiziek</marker>.</example>
        <example>Ur gevredigezh ouiziek.</example>
        <example>Ur gouel bras.</example>
        <example>Gwelet em eus <marker>paot-mat</marker> a dud eno.</example>
        <example>Ur stêr vras-tre.</example>
        <example>Ur stêr bras-tre.</example>
        <example>Tud drouk.</example>
        <example>Ur vrozh zu.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="N f s.*|N m p t.*" postag_regexp="yes" regexp="yes">.*[lmnrvaeiouwy]
            <exception postag="N f p.*|N m s.*|N m p|N m p [^t].*|V.*" postag_regexp="yes"/>
          </token>
          <marker>
            <token postag="J.*" postag_regexp="yes" inflected="yes" regexp="yes">[ktp].*
              <exception postag="J[^M]*M.*:1:.*" postag_regexp="yes"/>
              <exception postag="J.*|K e sp o" postag_regexp="yes" negate_pos="yes"/>
              <exception regexp="yes">bennak(et)?</exception>
            </token>
          </marker>
          <token negate="yes">ha</token>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat diglok a zlefe bezañ en anv-gwan «\2» goude un anv benel unan pe un anv tud gourel lies.</message>
        <example correction="">Kendirvi <marker>pinvidik</marker>.</example>
        <example>Kendirvi binvidik.</example>
        <example>Tud kozh.</example>
        <example>Paotred pinvidik.</example>
        <example correction="">An dro <marker>kentañ</marker>.</example>
        <example>An dro gentañ.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="N f s.*|N m p t.*" postag_regexp="yes">
            <exception postag="N f p.*|N m s.*|N m p|N m p [^t].*" postag_regexp="yes"/>
            <exception regexp="yes">.*([lnmrvaeiouù]|lh)</exception>
            <exception>gwall</exception>
          </token>
          <marker>
            <and>
              <token postag="J.*" postag_regexp="yes">
                <exception negate_pos="yes" postag="SENT_END|J[^M]*M.*:1:.*" postag_regexp="yes"/>
              </token>
              <token regexp="yes">[gdb].*</token>
            </and>
          </marker>
        </pattern>
        <message>Diglok e vez ar c’hemmadur dre vlotaat en anv-gwan benel unan pe anv tud gourel lies goude an anv hervez al lizherenn a echu an anv ganto. Ne zlefe ket neuze bezañ ur c’hemmadur en anv-gwan «\2» goude an anv «\1».</message>
        <example correction="">Tud <marker>gozh</marker></example>
        <example>Tud kozh</example>
        <example>Studierien gozh</example>
        <example correction="">Paotred <marker>binvidik</marker></example>
        <example>Paotred pinvidik</example>
        <example>Ur var vras</example>
        <example>Ur verc’h vat</example>
        <example correction="">Ur vuoc’h <marker>gozh</marker></example>
        <example>Ur vuoc’h kozh</example>
        <example>Ur gannerez trouzus</example>
        <example>Ur plac’h vras</example>
        <example>Gwall gozh eo da garr.</example>
        <example>Ul levr a gont bemdez istor</example>
      </rule>
      <rule>
        <pattern>
          <token postag="N f p.*|N m s.*" postag_regexp="yes">
            <exception postag="[NZ] f s.*|N m p t.*" postag_regexp="yes"/>
            <exception regexp="yes" inflected="yes">.|re|aer|avel|brud|c’hoari|c’hwezh|gwall|lur|revr|seul|tra|war</exception>
          </token>
          <marker>
            <token postag="J[^M]*M:.*" postag_regexp="yes">
              <exception negate_pos="yes" postag="J[^M]*M.*:1:.*|SENT_END" postag_regexp="yes"/>
            </token>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur en anv-gwan «\2» goude an anv gourel unan pe benel lies «\1».</message>
        <example correction="">Plac’hed <marker>vras</marker></example>
        <example>Ur plac’h vras</example>
        <example>Ur plac’h vras.</example>
        <example>Paotred vras</example>
        <example>Hanter zigor</example>
        <example>Re yaouank ha re gozh</example>
        <example>Un dra vat</example>
        <example>An amzer gaer</example>
        <example>Mari gozh</example>
        <example>Azen <marker>gornek</marker> ma’z out!</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[au][nr]|er</token>
          <marker>
            <and>
              <token postag="N m [^M]*" postag_regexp="yes" inflected="yes" regexp="yes">[tpgdbm].*</token>
              <token postag="N f [^M]*" postag_regexp="yes" inflected="yes" regexp="yes">[tpgdbm].*</token>
            </and>
            <token postag="J[^M]*M.*:1:.*" postag_regexp="yes" inflected="yes" regexp="yes">[ktpgbm].*
              <exception postag="J[^M]*" postag_regexp="yes"/>
            </token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ en anv «\2» pe ne zlefe ket bezañ ur c’hemmadur en anv-gwan «\3».</message>
        <example correction="">Ur <marker>gouel vras</marker>.</example>
        <example>Ur <marker>gouel bras</marker>.</example>
        <example>Ur <marker>ouel vras</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[au][nr]|er</token>
          <marker>
            <and>
              <token postag="N m [^M]*M.*:(1|0a):.*" postag_regexp="yes"/>
              <token postag="N f [^M]*M.*:(1|0a):.*" postag_regexp="yes"/>
            </and>
            <token postag="J[^M]*" postag_regexp="yes" regexp="yes" inflected="yes">[ktpgbm].*
              <exception postag="J[^M]*M.*:1:.*" postag_regexp="yes"/>
              <exception postag="J[^M]*" postag_regexp="yes" inflected="yes" regexp="yes">[^ktpgdbm].*</exception>
            </token>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur en anv «\2» pe e tlefe bezañ ur c’hemmadur en anv-gwan «\3».</message>
        <example correction="">Ur <marker>ouel bras</marker>.</example>
        <example>Ur <marker>ouel vras</marker>.</example>
        <example>Ur <marker>gouel bras</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[au][nr]|er</token>
          <marker>
            <token postag="N e [^M]*" postag_regexp="yes" inflected="yes" regexp="yes">[tpgdbm].*</token>
            <token postag="J[^M]*M.*:1:.*" postag_regexp="yes" inflected="yes" regexp="yes">[ktpgbm].*
              <exception postag="J[^M]*" postag_regexp="yes"/>
            </token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ en anv «\2» pe ne zlefe ket bezañ ur c’hemmadur en anv-gwan «\3».</message>
        <example correction="">Un <marker>trubuilh vras</marker>.</example>
        <example>Un trubuilh bras.</example>
        <example>Un drubuilh vras.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[au][nr]|er</token>
          <marker>
            <token postag="N e[^M]*M.*:(1|0a):.*" postag_regexp="yes"/>
            <token postag="J[^M]*" postag_regexp="yes" regexp="yes" inflected="yes">[ktpgbm].*
              <exception postag="J[^M]*M.*:1:.*" postag_regexp="yes"/>
              <exception postag="J[^M]*" postag_regexp="yes" inflected="yes" regexp="yes">[^ktpgbm].*</exception>
            </token>
          </marker>
          <token negate="yes">ha</token>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur en anv «\2» pe e tlefe bezañ ur c’hemmadur en anv-gwan «\3».</message>
        <example correction="">Un <marker>drubuilh bras</marker>.</example>
        <example>Un drubuilh vras.</example>
        <example>Un trubuilh bras.</example>
        <example>Un <marker>drubuilh bras</marker> ha grevus.</example>
      </rule>
    </rulegroup>

    <rulegroup id="AR_PAOURKAEZH" name="Ar baourkaezh den → ar paourkaezh den">
      <rule>
        <pattern>
          <token>ar</token>
          <marker>
            <token regexp="yes">[bf]aour-?kaezh</token>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur gant an anv-gwan «\2». Ha fellout a rae deoc’h skrivañ <suggestion>paourkaezh</suggestion>?</message>
        <example correction="paourkaezh">Ar <marker>baourkaezh</marker> den.</example>
        <example correction="paourkaezh">Ar <marker>faourkaezh</marker> den.</example>
      </rule>
      <rule>
        <pattern>
          <token>ar</token>
          <marker>
            <token regexp="yes">[bf]aour</token>
            <token>kaezh</token>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur gant an anv-gwan «\2 \3». Ha fellout a rae deoc’h skrivañ <suggestion>paourkaezh</suggestion>?</message>
        <example correction="paourkaezh">Ar <marker>baour kaezh</marker> den.</example>
        <example correction="paourkaezh">Ar <marker>faour kaezh</marker> den.</example>
      </rule>
    </rulegroup>
    <rule id="DISTER_DRA" name="Un dister tra → un dister dra">
      <pattern>
        <token postag_regexp="yes" postag="D .*"/>
        <token>dister</token>
        <marker>
          <token regexp="yes">[tz]ra</token>
        </marker>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion>dra</suggestion>? (CHALM S1.1)</message>
      <example correction="dra">Un dister <marker>tra</marker>.</example>
    </rule>
    <rule id="BERR_GOMZOU" name="e berr komzoù → e berr gomzoù">
      <pattern>
        <token>e</token>
        <token>berr</token>
        <marker>
          <token regexp="yes">(k|c’h)omzoù</token>
        </marker>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion>gomzoù</suggestion>? (CHALM S1.1)</message>
      <example correction="gomzoù">E berr <marker>komzoù</marker>.</example>
    </rule>
    <rule id="GWIR_ANV" name="Gwir Bretoned → Gwir Vretoned">
      <pattern>
        <token postag="[CD].*|SENT_START" postag_regexp="yes"/>
        <token>gwir</token>
        <marker>
          <token postag="N.*" postag_regexp="yes" inflected="yes" regexp="yes">[ktpgdbm].*
            <exception postag="N[^M]*M.*:1:.*" postag_regexp="yes" inflected="yes" regexp="yes">[ktpgdbm].*</exception>
            <exception postag="N[^M]*" postag_regexp="yes" inflected="yes" regexp="yes">[^ktpgdbm].*</exception>
          </token>
        </marker>
      </pattern>
      <message>Ur c’hemmadur klok dre vlotaat a zlefe bezañ goude an anv-gwan «\2». (CHALM S1.1)</message>
      <example correction="">Gwir <marker>Bretoned</marker></example>
      <example>Gwir <marker>Vretoned</marker></example>
      <example correction="">Ur gwir <marker>plijadur</marker></example>
      <example>Ur gwir <marker>blijadur</marker></example>
      <example>Ur gwir <marker>istor</marker></example>
      <example>Ur gwir <marker>fin</marker></example>
    </rule>
    <rulegroup id="CHOZH_ANV" name="Ur c’hozh marc’h → Ur c’hozh varc’h">
      <rule>
        <pattern>
          <token postag="[CD].*|SENT_START" postag_regexp="yes"/>
          <token>c’hozh</token>
          <marker>
            <token postag="N.*" postag_regexp="yes" inflected="yes" regexp="yes">[gdbm].*
              <exception postag="N[^M]*M.*:1b:.*" postag_regexp="yes" inflected="yes" regexp="yes">[gdbm].*</exception>
            </token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat diglok a zlefe bezañ goude an anv-gwan «\2» dirak an anv a grog gant «g, d, b, b». (CHALM S1.1)</message>
        <example correction="">Ur c’hozh <marker>marc’h</marker></example>
        <example>Ur c’hozh <marker>varc’h</marker></example>
        <example>Ur c’hozh <marker>kemener</marker></example>
      </rule>
      <rule>
        <pattern>
          <token postag="[CD].*|SENT_START" postag_regexp="yes"/>
          <token>c’hozh</token>
          <marker>
            <token postag="N[^M]*M:.*" postag_regexp="yes" inflected="yes" regexp="yes">[ktp].*</token>
          </marker>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat diglok a zlefe bezañ goude an anv-gwan «\2» dirak an anv a grog gant «g, d, b, b» hepken. (CHALM S1.1)</message>
        <example correction="">Ur c’hozh <marker>gemener</marker></example>
        <example correction="">Ur c’hozh <marker>c’hemener</marker></example>
        <example>Ur c’hozh <marker>kemener</marker></example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[au]r</token>
          <marker>
            <token regexp="yes">[kg]ozh</token>
          </marker>
          <token postag="N.*" postag_regexp="yes"/>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>c’hozh</suggestion>? (CHALM S1.1)</message>
        <example correction="c’hozh">Ur <marker>kozh</marker> ti.</example>
        <example correction="c’hozh">Ur <marker>gozh</marker> ti.</example>
        <example>Ur c’hozh ti.</example>
        <example correction="c’hozh">Ur <marker>kozh</marker> wetur.</example>
        <example correction="c’hozh">Ur <marker>gozh</marker> wetur.</example>
        <example>Ur c’hozh wetur.</example>
      </rule>
    </rulegroup>
    <rule id="P_E" name="kemmadur ebet gant an araogenn «e»">
      <pattern>
        <token postag="P">e<exception negate_pos="yes" postag="P"/></token>
        <marker>
          <token postag="N [^M]*M:.*" postag_regexp="yes"><exception postag="N [^M]*" postag_regexp="yes"/></token>
        </marker>
      </pattern>
      <message>Ne zlefe ket bezañ ur c’hemmadur goude an araogenn «e».</message>
      <example correction="">Lakaet e <marker>vrezhoneg</marker>.</example>
      <example>Lakaet e brezhoneg.</example>
      <example>Lenn a ra evit gwellaat e vrezhoneg.</example>
    </rule>
    <rulegroup id="KEMM_NEVEZ" name="kemmadur goude nevez">
      <rule>
        <pattern>
          <token>nevez-ganet</token>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude «nevez». Ha fellout a rae deoc’h skrivañ <suggestion>nevez-c’hanet</suggestion>? (CHALM B3.1.2.6)</message>
        <example correction="Nevez-c’hanet"><marker>Nevez-ganet</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">nevez-(bet|marvet)</token>
        </pattern>
        <message>Ur c’hemmadur dre vlotaat a zlefe bezañ goude «nevez». Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="-." regexp_replace="-v"/></suggestion>? (CHALM B3.1.2.6)</message>
        <example correction="Nevez-vet"><marker>Nevez-bet</marker>.</example>
      </rule>
    </rulegroup>
    <rulegroup id="NA_J" name="Na glañv on! → Na klañv on!">
      <rule>
        <pattern>
          <token postag="SENT_START"/>
          <token>Na</token>
          <marker><token postag="J M.*" postag_regexp="yes"><exception postag="J"/></token></marker>
          <token regexp="yes">on|out|eo|omp|oc’h|int|eur</token>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur er ger «\2». (CHALM G2)</message>
        <example correction="">Na <marker>c’hlañv</marker> on!</example>
        <example correction="">Na <marker>glañv</marker> on!</example>
        <example>Na klañv on!</example>
      </rule>
      <rule>
        <pattern>
          <token postag="SENT_START"/>
          <token>Na</token>
          <marker><token postag="J M.*" postag_regexp="yes"><exception postag="J"/></token></marker>
          <token>e</token>
          <token postag="V.*" postag_regexp="yes"/>
        </pattern>
        <message>Ne zlefe ket bezañ ur c’hemmadur er ger «\2». (CHALM G2)</message>
        <example correction="">Na <marker>c’hlañv</marker> e oan!</example>
        <example correction="">Na <marker>glañv</marker> e oan!</example>
        <example>Na klañv e oan!</example>
      </rule>
    </rulegroup>
  </category>

  <category id="RUMM_GER_MELL" name="Ger-mell">
    <rule id="AL" name="gerioù al, ul, el, hol">
      <pattern>
        <marker>
          <token regexp="yes">[aeu][nr]|hor<exception postag="X EN_UR"/></token>
        </marker>
        <token regexp="yes">l.+<exception regexp="yes" postag="UNKNOWN">L\p{Lu}*</exception></token>
      </pattern>
      <message>Ar ger «\1» a zlefe bezañ <suggestion><match no="1" regexp_match=".$" regexp_replace="l"/></suggestion> dirak ur ger a grog gant ar gensonenn «l».</message>
      <example correction="Ul"><marker>Ur</marker> levr a zo ganin.</example>
      <example correction="Al"><marker>An</marker> levr a zo ganin.</example>
      <example>Ul levr a zo ganin.</example>
      <example>Al levr a zo ganin.</example>
      <example correction="el">Al levr-mañ zo <marker>er</marker> levraoueg.</example>
      <example>Al levr-mañ zo el levraoueg.</example>
      <example correction="hol">Tev eo <marker>hor</marker> levr.</example>
      <example>Tev eo hol levr.</example>
      <example>Kouezhet on en ur lammat.</example>
      <example>An l glebiet</example>
      <example>An LTB</example>
    </rule>
    <rule id="AN" name="gerioù an, un, en, hon">
      <pattern>
        <marker>
          <token regexp="yes">([aeu]|ho)[lr]<exception postag="X EN_UR"/></token>
        </marker>
        <token regexp="yes">[ndthaeiou].*
          <exception inflected="yes" regexp="yes">gou[ei].*</exception>
          <exception regexp="yes">ts.*|tch.*</exception>
          <exception postag="K e sp o"/>
        </token>
      </pattern>
      <message>Ar ger «\1» a zlefe bezañ <suggestion><match no="1" regexp_match=".$" regexp_replace="n"/></suggestion> dirak ur ger a grog gant al lizherennoù «n, d, t, h, a, e, i, o u».</message>
      <example correction="an">Tomm eo <marker>ar</marker> tan.</example>
      <example>Tomm eo an tan.</example>
      <example>Sellet e ra en ur dreuziñ.</example>
      <example>Ur ouiziegezh</example>
      <example>Ur tsunami</example>
      <example>Lec’hiet <marker>er</marker> IVvet kantved goude J.K.</example>
      <example>Ar tcheked a zo ur yezh indezeuropek.</example>
    </rule>
    <rulegroup id="AR" name="ger ar, ur, er, hor">
      <rule>
        <pattern>
          <marker>
            <token regexp="yes">[aeu]l|hol</token>
          </marker>
          <token regexp="yes">[bcfgjkmprsvwyz].*
            <exception regexp="yes">[flmns]|(?-i)Bundy|Capone|Gore|Green|Jazeera|Jolson|McCoy|Pacino|Roker|Rozen|Sapienza|Singer|Smith|Yankovic</exception>
          </token>
        </pattern>
        <message>Ar ger «\1» a zlefe bezañ <suggestion><match no="1" regexp_match=".$" regexp_replace="r"/></suggestion> dirak ur ger na grog ket gant al lizherennoù «n, d, t, h» pe ur vogalenn.</message>
        <example correction="Ar"><marker>Al</marker> vell-droad a blij din.</example>
        <example>Ar vell-droad a blij din.</example>
        <example><marker>Al</marker> Gore a zo ur politikour.</example>
        <example>O deus lavaret din ’n ur dremen da dec’hout kuit diouzhtu.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token regexp="yes">[au]n<exception scope="previous" regexp="yes">e?z|ned</exception></token>
          </marker>
          <token regexp="yes">[bcfgjkmprsvwyz].*
            <exception postag="K .* o.*" postag_regexp="yes"/>
            <exception regexp="yes" postag="UNKNOWN">[FMNRS](\p{Lu}|-)*</exception>
            <exception regexp="yes">[FLMNRS]\d*</exception>
          </token>
        </pattern>
        <message>Ar ger «\1» a zlefe bezañ <suggestion><match no="1" regexp_match=".$" regexp_replace="r"/></suggestion> dirak ur ger na grog ket gant al lizherennoù «n, d, t, h» pe ur vogalenn.</message>
        <example correction="Ar"><marker>An</marker> vell-droad a blij din.</example>
        <example>Ar vell-droad a blij din.</example>
        <example>Etre ar VIIvet hag an XIIvet kantved</example>
        <example>Ned an ket d’ar skol hiziv.</example>
        <example>Ar ouiziegezh</example>
        <example correction="Ar"><marker>AN</marker> FILM A BLIJ DIN</example>
        <example>Gant an FSE</example>
        <example>An SNJ-CGT</example>
        <example>Un S.O.S.</example>
        <example>Gustav ez an war-sav.</example>
      </rule>
    </rulegroup>
    <rule id="AR_OUI" name="ger ar, ur, er, hor + oui">
      <pattern>
        <marker>
          <token regexp="yes">[aeu][ln]|el|hol<exception scope="previous" regexp="yes">e?z|ned</exception></token>
        </marker>
        <token regexp="yes" inflected="yes">gou[ie].*</token>
      </pattern>
      <message>Ar ger «\1» a zlefe bezañ <suggestion><match no="1" regexp_match=".$" regexp_replace="r"/></suggestion> dirak ur ger a grog gant ar c’hemmadur goui → oui pe goue → oue.</message>
      <example correction="Ar"><marker>An</marker> ouiziegezh</example>
      <example correction="Ar"><marker>Al</marker> ouel</example>
      <example>Ar ouiziegezh</example>
    </rule>

    <!-- [CHALM] L-3, page L-118 recommande "ar tsar" mais l’usage en pratique
     est souvent "an tsar". LanguageTool autorise les 2 possibilités. -->
    <rule id="AR_TSAR" name="ar + tsar, tsunami, etc.">
      <pattern>
        <marker>
          <token regexp="yes">[au]l</token>
        </marker>
        <token regexp="yes" inflected="yes">tsunami|tsar|jazz|jean|joniged</token>
      </pattern>
      <message>Ar ger-mell <suggestion><match no="1" regexp_match=".$" regexp_replace="r"/></suggestion> pe <suggestion><match no="1" regexp_match=".$" regexp_replace="n"/></suggestion> a vez implijet gant ar ger estren «\2». (CHALM L3)</message>
      <example correction="Ar|An"><marker>Al</marker> tsunami</example>
      <example>Ar tsunami</example>
      <example>An tsunami</example>
    </rule>
  </category>

  <category id="RUMM_RANNIG_VERB" name="Rannig-verb">
    <rule id="PA_E" name="Pa + rannig-verb">
      <pattern>
        <marker>
          <token regexp="yes">pa|mar?</token>
          <token>e</token>
        </marker>
        <token postag="V.*" postag_regexp="yes"/>
      </pattern>
      <message>Rannig-verb ebet goude «\1». Ha fellout a rae deoc’h skrivañ <suggestion>\1 \3</suggestion>?</message>
      <example correction="Pa oan"><marker>Pa e</marker> oan yaouankoc’h</example>
      <example>Pa oan yaouankoc’h</example>
    </rule>
    <rule id="HAG_HA" name="hag ha → hag a">
      <pattern>
        <token>hag</token>
        <marker>
          <token>ha</token>
        </marker>
        <token postag="V.*" postag_regexp="yes"/>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion>a</suggestion>?</message>
      <example correction="a">Hag <marker>ha</marker> zo</example>
      <example>Hag a zo</example>
    </rule>

    <rulegroup id="PEOGWIR" name="peogwir + e">
      <rule>
        <pattern>
          <marker>
            <token>peogwir</token>
            <token negate="yes" regexp="yes">ez?<exception inflected="yes" regexp="yes">bezañ|ne</exception></token>
          </marker>
          <token negate="yes" inflected="yes" regexp="yes">bezañ|kaout
            <exception regexp="yes">[pd]?eus|[bpd](oa|eze?|efe|ije)</exception>
          </token>
        </pattern>
        <message>Lakaet e vez atav ar verb goude «peogwir» gant ar rannig-verb «e».</message>
        <example correction=""><marker>Peogwir plijout</marker> a ra din.</example>
        <example>Peogwir e plij din.</example>
        <example>Peogwir ez eo deut.</example>
        <example>Peogwir en deus labour.</example>
        <example>Peogwir out trist.</example>
        <example>Peogwir n’hon eus ket arc’hant.</example>
        <example>Peogwir ez ae an dud war-raok.</example>
      </rule>
      <rule>
        <pattern>
          <token>peogwir</token>
          <marker>
            <token regexp="yes">am|az|ac’h</token>
          </marker>
          <token regexp="yes">[pd]?eus|[bpd](oa?|eze?|efe|ije)</token>
        </pattern>
        <message>Lakaet e vez atav ar verb goude «peogwir» gant ar rannig-verb «e». Ha fellout a rae skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="e"/></suggestion>?</message>
        <example correction="em">Peogwir <marker>am</marker> eus amzer a-walc’h.</example>
        <example>Peogwir em eus amzer a-walc’h.</example>
      </rule>
    </rulegroup>
    <rulegroup id="ADV_E" name="adverb + e">
      <rule>
        <pattern>
          <token postag="A"><exception>a-walc’h</exception></token>
          <marker><token regexp="yes" postag="X KAOUT1">a[mz]|ac’h</token></marker>
        </pattern>
        <message>Lakaet e vez a rannig verb «e» goude an adverb. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="e"/></suggestion>?</message>
        <example correction="em">Alies <marker>am</marker> eus debret se.</example>
        <example>Alies em eus debret se.</example>
        <example>Amzer a-walc’h am eus.</example>
      </rule>
    </rulegroup>
    <rulegroup id="ARAOGENN_E" name="araogenn + e">
      <rule>
        <pattern>
          <token postag="SENT_START"/>
          <token postag="P"><exception>kalz</exception></token>
          <token postag="N.*" postag_regexp="yes"/>
          <marker><token regexp="yes" postag="X KAOUT1">a[mz]|ac’h</token></marker>
        </pattern>
        <message>Lakaet e vez a rannig verb «e» goude ar renadenn dieeun. Ha fellout a rae deoc’h skrivañ <suggestion><match no="4" regexp_match="^." regexp_replace="e"/></suggestion>?</message>
        <example correction="em">E Breizh <marker>am</marker> eus kavet se.</example>
        <example>Kalz amzer am eus.</example>
      </rule>
    </rulegroup>
    <rulegroup id="O_OCH" name="o → oc’h">
      <rule>
        <pattern>
          <marker>
            <token>o</token>
            <token>en</token>
            <token>em</token>
          </marker>
          <token postag="V inf.*" postag_regexp="yes"/>
        </pattern>
        <message>Implijit <suggestion>oc’h en em</suggestion> pe <suggestion>oc’h em</suggestion>.</message>
        <example correction="oc’h en em|oc’h em">Kanañ a rae <marker>o en em</marker> walc’hiñ.</example>
        <example>Kanañ a rae oc’h en em walc’hiñ.</example>
      </rule>
      <rule>
        <pattern>
          <token inflected="yes">bezañ</token>
          <marker>
            <token>o</token>
          </marker>
          <token postag="V inf" regexp="yes">[aeiou].*</token>
        </pattern>
        <message>Implijit <suggestion>oc’h</suggestion> dirak ur vogalenn.</message>
        <example correction="oc’h">Emaint <marker>o</marker> ober trouz.</example>
        <example>Emaint oc’h ober trouz.</example>
        <example>Edo o redek.</example>
      </rule>
      <rule>
        <pattern>
          <token inflected="yes" postag="V \S* 3 .*" postag_regexp="yes">bezañ</token>
          <token regexp="yes">a[lnr]</token>
          <token postag="N .*" postag_regexp="yes"/>
          <marker>
            <token>o</token>
          </marker>
          <token postag="V inf" regexp="yes">[aeiou].*</token>
        </pattern>
        <message>Implijit <suggestion>oc’h</suggestion> dirak ur vogalenn.</message>
        <example correction="oc’h">Emañ ar c’hi <marker>o</marker> ober trouz.</example>
        <example>Emañ ar c’hi oc’h ober trouz.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="SENT_START"/>
          <marker>
            <token>o</token>
          </marker>
          <token postag="V inf" regexp="yes" skip="2">[aeiou].*</token>
          <token inflected="yes">bezañ</token>
        </pattern>
        <message>Implijit <suggestion>oc’h</suggestion> dirak ur vogalenn.</message>
        <example correction="Oc’h"><marker>O</marker> ober trouz e oa.</example>
        <example correction="Oc’h"><marker>O</marker> ober trouz emañ.</example>
        <example>Oc’h ober trouz e oa.</example>
        <example>Oc’h ober trouz emañ.</example>
      </rule>
    </rulegroup>
  </category>

  <category id="RUMM_ELISION" name="Elision">
    <rule id="D_AR" name="da’r → d’ar">
      <pattern>
        <token>da’</token>
        <token regexp="yes">[lnr]</token>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="^(.).*" regexp_replace="$1"/>’a\2</suggestion>?</message>
      <example correction="D’ar"><marker>Da’r</marker> mare ma oan o tigeriñ an nor</example>
      <example>D’ar mare ma oan o tigeriñ an nor</example>
    </rule>
    <rule id="MZ_EUS" name="m’eus → ’m eus">
      <pattern>
        <token regexp="yes">[mz]’</token>
        <token>eus</token>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion>’<match no="1" regexp_match="^(.).*" regexp_replace="$1"/> eus</suggestion>?</message>
      <example correction="’m eus">Amzer a-walc’h <marker>m’eus</marker>.</example>
      <example>Amzer a-walc’h ’m eus.</example>
      <example correction="’z eus">Ma <marker>z’eus</marker> ezhomm.</example>
      <example>Ma ’z eus ezhomm.</example>
    </rule>

  </category>

  <category id="RUMM_NIVER" name="Niver">
    <rulegroup id="DAOU" name="daou">
      <rule>
        <pattern>
          <marker>
            <token regexp="yes">[dtz]aou</token>
          </marker>
          <token postag_regexp="yes" postag="N f.*">
            <exception postag_regexp="yes" postag="N [em][^M]*(M:1:.*)?"/>
            <exception>a</exception>
          </token>
        </pattern>
        <message>Implijit <suggestion><match no="1" regexp_match="...$" regexp_replace="iv"/></suggestion> dirak ar ger benel «\2». (CHALM P1.3)</message>
        <example correction="Div"><marker>Daou</marker> blac’h.</example>
        <example>Div blac’h.</example>
        <example correction="Div"><marker>Daou</marker> zor.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token regexp="yes">[dtz]aou</token>
          </marker>
          <token>a</token>
          <token postag_regexp="yes" postag="N f.*">
            <exception postag_regexp="yes" postag="N [em][^M]*(M:1:.*)?"/>
          </token>
        </pattern>
        <message>Implijit <suggestion><match no="1" regexp_match="aou" regexp_replace="iv"/></suggestion> dirak ar ger benel «\3». (CHALM P1.3)</message>
        <example correction="Div"><marker>Daou</marker> a blac’h.</example>
        <example>Div a blac’h.</example>
      </rule>
    </rulegroup>
    <rulegroup id="DIV" name="div">
      <rule>
        <pattern>
          <marker>
            <token regexp="yes">[dzt]iv</token>
          </marker>
          <token postag_regexp="yes" postag="N m.*">
            <exception postag_regexp="yes" postag="N [ef][^M]*(M:1:.*)?"/>
            <exception>a</exception>
          </token>
        </pattern>
        <message>Implijit <suggestion><match no="1" regexp_match="iv" regexp_replace="aou"/></suggestion> dirak ar ger gourel «\2». (CHALM P1.3)</message>
        <example correction="Daou"><marker>Div</marker> paotr.</example>
        <example>Daou baotr.</example>
        <example>Div c’hoar.</example>
        <example>Div zor.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token>div</token>
          </marker>
          <token>a</token>
          <token postag_regexp="yes" postag="N m.*">
            <exception postag_regexp="yes" postag="N [ef][^M]*(M:1:.*)?"/>
            <exception>a</exception>
          </token>
        </pattern>
        <message>Implijit <suggestion><match no="1" regexp_match="iv" regexp_replace="aou"/></suggestion> dirak ar ger gourel «\3». (CHALM P1.3)</message>
        <example correction="Daou"><marker>Div</marker> a paotr.</example>
        <example>Daou a baotr.</example>
        <example>Div a c’hoar.</example>
      </rule>
    </rulegroup>
    <rule id="TRI" name="tri">
      <pattern>
        <marker>
          <token regexp="yes">[tdz]ri</token>
        </marker>
        <token postag_regexp="yes" postag="N f.*">
          <exception postag_regexp="yes" postag="N [em][^M]*(M.*:2:.*)?"/>
        </token>
      </pattern>
      <message>Implijit <suggestion><match no="1" regexp_match="..$" regexp_replace="eir"/></suggestion> dirak ar ger benel «\2». (CHALM P1.3)</message>
      <example correction="Teir"><marker>Tri</marker> flac’h.</example>
      <example>Teir flac’h.</example>
      <example correction="deir">Da <marker>dri</marker> flac’h.</example>
      <example>Da deir flac’h.</example>
    </rule>
    <rule id="TEIR" name="teir">
      <pattern>
        <marker>
          <token>teir</token>
        </marker>
        <token postag_regexp="yes" postag="N m.*">
          <exception postag_regexp="yes" postag="N [ef][^M]*(M.*:2:.*)?"/>
          <exception>a</exception>
        </token>
      </pattern>
      <message>Implijit <suggestion><match no="1" regexp_match="...$" regexp_replace="ri"/></suggestion> dirak ar ger gourel «\2». (CHALM P1.3)</message>
      <example correction="Tri"><marker>Teir</marker> faotr.</example>
      <example>Tri faotr.</example>
      <example>Unan eus an teir a zo en enezenn Breizh-Veur.</example>
    </rule>
    <rule id="PEVAR" name="pevar">
      <pattern>
        <marker>
          <token regexp="yes">[pbf]evar</token>
        </marker>
        <token postag_regexp="yes" postag="N f.*">
          <exception postag_regexp="yes" postag="N [em][^M]*(M.*:2:.*)?"/>
          <exception>amzer</exception>
        </token>
      </pattern>
      <message>Implijit <suggestion><match no="1" regexp_match="var" regexp_replace="der"/></suggestion> dirak ar ger benel «\2». (CHALM P1.3)</message>
      <example correction="Peder"><marker>Pevar</marker> flac’h.</example>
      <example>Peder flac’h.</example>
      <example correction="beder">Da <marker>bevar</marker> flac’h.</example>
      <example>Da beder flac’h.</example>
      <example>Ar pevar amzer.</example>
    </rule>
    <rulegroup id="PEDER" name="peder">
      <rule>
        <pattern>
          <marker>
            <token regexp="yes">[pbf]eder</token>
          </marker>
          <token postag_regexp="yes" postag="N m.*">
            <exception postag_regexp="yes" postag="N [ef][^M]*(M.*:2:.*)?"/>
          </token>
        </pattern>
        <message>Implijit <suggestion><match no="1" regexp_match="...$" regexp_replace="var"/></suggestion> dirak ar ger gourel «\2». (CHALM P1.3)</message>
        <example correction="Pevar"><marker>Peder</marker> faotr.</example>
        <example>Pevar faotr.</example>
        <example correction="fevar">Ma <marker>feder</marker> faotr.</example>
        <example>Ma fevar faotr.</example>
      </rule>
      <rule>
        <pattern>
          <token>peder</token>
          <token>amzer</token>
        </pattern>
        <message>Ret eo skrivañ <suggestion>pevar amzer</suggestion>.</message>
        <url>https://br.wiktionary.org/wiki/amzer</url>
        <example correction="pevar amzer">Ar <marker>peder amzer</marker>.</example>
      </rule>
    </rulegroup>
    <rulegroup id="MILION" name="Milion, miliard, …">
      <rule>
        <pattern>
          <token regexp="yes">milion|miliard|bilion|trilion</token>
          <token postag_regexp="yes" postag="N .*"><exception regexp="yes">[ae]</exception></token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ ha <suggestion>\1 a \2</suggestion>? (CHALM P1.5)</message>
        <example correction="milion a tud">Ur <marker>milion tud</marker>.</example>
        <example>1,7 milion a dud e 1900, 2,2 milion e 1950.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">milion|miliard|bilion|trilion</token>
          <token>a</token>
          <marker>
            <token postag_regexp="yes" postag="N . s.*"/>
          </marker>
        </pattern>
        <message>Un anv lies a zlefe bezañ goude «\1 \2».</message>
        <example correction="">Ur milion a <marker>den</marker>. (CHALM P1.5)</example>
        <example>Ur milion a dud.</example>
      </rule>
    </rulegroup>
    <rulegroup id="UGENT" name="daou ugent → daou-ugent">
      <rule>
        <pattern>
          <token regexp="yes">warn|[dtz]aou|[dtz]ri|[pbf]evar|[pbf]emp|c’hwec’h|seizh|eizh|nav</token>
          <token>ugent</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>\1-\2</suggestion>?</message>
        <example correction="Daou-ugent"><marker>Daou ugent</marker></example>
        <example>Daou-ugent</example>
      </rule>
    </rulegroup>
    <rule id="HANTER_KANT" name="hanter kant → hanter-kant">
      <pattern>
        <token>hanter</token>
        <token>kant</token>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion>\1-\2</suggestion>?</message>
      <example correction="Hanter-kant"><marker>Hanter kant</marker></example>
      <example>Hanter-kant</example>
    </rule>
    <rule id="HUNTERKANTVET" name="hanter-kantvet → hanterkantvet">
      <pattern>
        <token regexp="yes">hanter-kant-?vet|([dtz]aoù|[tdz]ri|[pbf]evar|[bpf]emp|c’hwerc’h|seizh|eizh|nav)-ugent-?vet</token>
      </pattern>
      <message>Ha fellout a rae skrivañ <suggestion><match no="1" regexp_match="-" regexp_replace=""/></suggestion>? (CHALM P2.1)</message>
      <example correction="Triugentvet"><marker>Tri-ugentvet</marker>.</example>
      <example>Triugentvet.</example>
    </rule>
    <rule id="HUNTERKANTVEDENN" name="hanter-kantvedenn → hanterkantvedenn">
      <pattern>
        <token regexp="yes">hanter-kant-?vedenn|([dtz]aoù|[tdz]ri|[pbf]evar|[bpf]emp|c’hwerc’h|seizh|eizh|nav)-ugent-?vedenn</token>
      </pattern>
      <message>Ha fellout a rae skrivañ <suggestion><match no="1" regexp_match="-" regexp_replace=""/></suggestion>? (CHALM P3.2)</message>
      <example correction="Triugentvedenn"><marker>Tri-ugentvedenn</marker>.</example>
      <example>Triugentvedenn.</example>
    </rule>
    <rule id="DOUSENN" name="un dousenn vi → un dousenn vioù">
      <pattern>
        <token regexp="yes">dousenn(ad)?</token>
        <marker>
          <token postag="N . s( t)?" postag_regexp="yes">
            <exception postag="N . .?p" postag_regexp="yes"/>
          </token>
        </marker>
      </pattern>
      <message>Un anv lies a zlefe bezañ goude «\1». (CHALM P1.7)</message>
      <example correction="">Un dousenn <marker>vi</marker>.</example>
      <example>Un dousenn vioù.</example>
    </rule>
  </category>

  <category id="RUMM_VERB" name="Verb">
    <rulegroup id="V_GWAN" name="verb gwan ">
      <rule>
        <pattern>
          <token postag="V ppa.*" postag_regexp="yes" regexp="yes" inflected="yes">degouezhout|dont|mont|kouezhañ|koustañ|padout</token>
          <token regexp="yes">em|ec’h|en|he|ho[nr]?|o</token>
          <token regexp="yes">[pd]?eus|[bpd](oa?|eze?|efe|ije)</token>
        </pattern>
        <message>Implijet e vez ar verb skoazell «bezañ» gant ar verb gwan «\1».</message>
        <example correction=""><marker>Padet en deus</marker> pell.</example>
        <example>Padet eo pell.</example>
        <example>Kouezhet ez eus ur fubuenn e-barzh er werenn.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="V ppa.*" postag_regexp="yes" regexp="yes" inflected="yes">degouezhout|dont|mont|kouezhañ|koustañ|padout</token>
          <token>’</token>
          <token>m</token>
          <token regexp="yes">eus|[bd]oa?|bez[eo]?|befe|bije</token>
        </pattern>
        <message>Implijet e vez ar verb skoazell «bezañ» gant ar verb gwan «\1».</message>
        <example correction=""><marker>Kouezhet ’m eus</marker>.</example>
        <example correction=""><marker>Kouezhet ’m boa</marker>.</example>
        <example>Kouezhet on.</example>
        <example>Kouezhet e oan.</example>
      </rule>
    </rulegroup>
    <rule id="VINF_A_OBER" name="Anv-verb + a + ober">
      <antipattern>
        <token>pep</token>
        <token>unan</token>
        <token>a</token>
      </antipattern>
      <pattern>
        <marker>
          <token postag="V.*" postag_regexp="yes">
            <exception postag="V inf.*" postag_regexp="yes"/>
            <exception postag="[JN].*" postag_regexp="yes"/>
          </token>
        </marker>
        <token>a</token>
        <token inflected="yes">ober</token>
      </pattern>
      <message>Un anv-verb e tlefe bezañ ar ger «\1».</message>
      <example correction=""><marker>Komzan</marker> a ran re.</example>
      <example>Komz a ran re.</example>
      <example>Al labour a ra vad.</example>
      <example>Ur banne aer fresk a raio vad din.</example>
      <example>Pep unan a ra un dra bennak a-feson.</example>
    </rule>
    <rule id="RSUJ_A_V" name="me a gomzan → me a gomz">
      <pattern>
        <token postag="SENT_START" skip="1"/>
        <token postag_regexp="yes" postag="R suj . . ."/>
        <token>a</token>
        <marker>
          <token postag="V.*" postag_regexp="yes">
            <exception postag="V \S* 3 s.*" postag_regexp="yes"/>
          </token>
        </marker>
      </pattern>
      <message>Direizh eo an displegadur er verb «\4».</message>
      <example correction="">Ni a <marker>gomzomp</marker> brezhoneg.</example>
      <example>Ni a gomz brezhoneg.</example>
    </rule>
    <rulegroup id="PAOUEZ" name="paouez da">
      <rule>
        <pattern>
          <token inflected="yes">bezañ</token>
          <token>o</token>
          <token>paouez</token>
          <marker>
            <token>da</token>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ «da» goude «\1 \2 \3».</message>
        <example correction="">Emaon o paouez <marker>da</marker> echuiñ va studioù.</example>
        <example>Emaon o paouez echuiñ va studioù.</example>
      </rule>
    </rulegroup>
    <rule id="EZ_EUS" name="ez eus → bez ez eus">
      <pattern>
        <token postag="SENT_START"/>
        <token>ez</token>
        <token>eus</token>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion>Bez’ ez eus</suggestion>?</message>
      <example correction="Bez’ ez eus"><marker>Ez eus</marker> ur c’hi el liorzh.</example>
      <example>Bez’ ez eus ur c’hi el liorzh.</example>
    </rule>
    <rule id="BEZ_EZ_EUS" name="bez’ eus → bez’ ez eus">
      <pattern>
        <token regexp="yes">bez’?</token>
        <token>eus</token>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="(...).*" regexp_replace="$1’"/> ez eus</suggestion>?</message>
      <example correction="Bez’ ez eus"><marker>Bez’ eus</marker> ur c’hi</example>
      <example correction="Bez’ ez eus"><marker>Bez’eus</marker> ur c’hi</example>
      <example correction="Bez’ ez eus"><marker>Bez eus</marker> ur c’hi</example>
      <example>Bez’ ez eus ur c’hi</example>
    </rule>
    <rule id="EZ_EUS_AR" name="ez eus ar → emañ ar">
      <pattern>
        <marker>
          <token>ez</token>
          <token>eus</token>
        </marker>
        <token regexp="yes">a[rln]</token>
      </pattern>
      <message>«ez eus» a vez implijet gant ur rener amstrizh. Ha fellout a rae deoc’h skrivañ <suggestion>emañ</suggestion>?</message>
      <example correction="emañ">Er stal <marker>ez eus</marker> ar bara.</example>
      <example>Er stal emañ ar bara.</example>
      <example>War an daol ez eus bara.</example>
      <example>War an daol ez eus ur gontell.</example>
    </rule>
    <rule id="N_EO_KET_PPA_UR" name="N’eo ket + vppa + ur → N’eus ket + vppa + ur">
      <pattern>
        <token>N’</token>
        <marker><token>eo</token></marker>
        <token>ket</token>
        <token>bet</token>
        <token postag="V ppa"/>
        <token regexp="yes">u[lnr]</token>
      </pattern>
      <message>Stag eo ar furm «eo» ouzh ar resis (an, ar, al) p’eo stag ar furm «ez eus» ouzh an amresis (un, ur, ul). Ret eo skrivañ <suggestion>eus</suggestion>.</message>
      <example correction="eus">N’<marker>eo</marker> ket bet kavet ur skouer.</example>
      <example>N’eus ket bet kavet ur skouer.</example>
    </rule>
    <rule id="NE_ZO_KET" name="ne zo ket">
      <pattern>
        <token>ne</token>
        <token>zo</token>
        <token>ket</token>
      </pattern>
      <message>Direizh eo ober gant ar stumm-nac’h hag ar verb «zo». (CHALM C7.1.4.4)</message>
      <example correction="">Ar brezhoneg e Wened <marker>ne zo ket</marker> evel e Leon.</example>
      <example>Ar brezhoneg e Wened n’eo ket evel e Leon.</example>
    </rule>
    <rulegroup id="EN_EM_FAZIAN" name="en em faziañ → faziañ">
      <rule>
        <pattern>
          <token regexp="yes">e?n</token>
          <token>em</token>
          <token inflected="yes" regexp="yes">azezañ|dihuniñ|diskuizhañ|ebatal|faziañ|hastañ|klemm|kluchañ|stouiñ|tevel|treiñ|troc’hañ</token>
        </pattern>
        <message>Ne vez ket implijet «en em» gant ar verb «\3». Ha fellout a rae deoc’h skrivañ <suggestion>\3</suggestion>?</message>
        <example correction="Faziañ"><marker>En em faziañ</marker> a rit.</example>
        <example>Faziañ a rit.</example>
        <example>En em gemer a rez re ziwezhat.</example>
        <example correction="zihunan">Pa <marker>en em zihunan</marker> re abred, ne savan ket diouzhtu.</example>
        <example>Pa zihunan re abred, ne savan ket diouzhtu.</example>
        <example>En em savet int ouzh o gwaskerien.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token regexp="yes">e?n</token>
            <token>em</token>
            <token inflected="yes">sevel</token>
          </marker>
          <token regexp="yes">bep|abred|abretoc’h(ik)?|diwezhat(oc’h)|diouzhtu|da</token>
        </pattern>
        <message>Ne vez ket implijet «en em» gant ar verb «\3». Ha fellout a rae deoc’h skrivañ <suggestion>\3</suggestion>?</message>
        <example correction="sevel">Ret eo <marker>en em sevel</marker> abred.</example>
        <example>Ret eo sevel abred.</example>
        <example>En em savet int ouzh o gwaskerien.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token regexp="yes">e?n</token>
            <token>em</token>
            <token>sevel</token>
          </marker>
          <token>a</token>
          <token inflected="yes">ober</token>
          <token regexp="yes">bep|abred|abretoc’h(ik)?|diwezhat(oc’h)?|diouzhtu|da</token>
        </pattern>
        <message>Ne vez ket implijet «en em» gant ar verb «\3». Ha fellout a rae deoc’h skrivañ <suggestion>\3</suggestion>?</message>
        <example correction="Sevel"><marker>En em sevel</marker> a rin diwezhat warc’hoazh.</example>
        <example>Sevel a rin diwezhat warc’hoazh.</example>
        <example correction="Sevel"><marker>En em sevel</marker> a ran da eizh eur.</example>
        <example>Sevel a ran da eizh eur.</example>
      </rule>
    </rulegroup>
    <rule id="EN_DEUS" name="eñ deus/doa → en deus/doa">
      <pattern>
        <marker>
          <token>eñ</token>
        </marker>
        <token regexp="yes">deus|do[ae]?|de[fz]e?|dije|devezet?|devezo|devo[ae]?</token>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="(.)." regexp_replace="$1n"/></suggestion>?</message>
      <example correction="en">Naon <marker>eñ</marker> deus.</example>
      <example>Naon en deus.</example>
    </rule>

    <rulegroup id="AD_DU_ON" name="a-du on → a-du emaon">
      <rule>
        <pattern>
          <token>a-du</token>
          <marker>
            <token inflected="yes" postag="V pres .*" postag_regexp="yes">bezañ<exception>eo</exception></token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>ema\2</suggestion>?</message>
        <example correction="emaout">A-du <marker>out</marker>?</example>
        <example>A-du emaout?</example>
      </rule>
      <rule>
        <pattern>
          <token>a-du</token>
          <marker>
            <token>eo</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>emañ</suggestion>?</message>
        <example correction="emañ">A-du <marker>eo</marker>?</example>
        <example>A-du emañ?</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token inflected="yes" postag="V pres .*" postag_regexp="yes">bezañ<exception>eo</exception></token>
          </marker>
          <token>ket</token>
          <token>a-du</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>ema\1</suggestion>?</message>
        <example correction="emaint">N’<marker>int</marker> ket a-du ganin.</example>
        <example>N’emaint ket a-du ganin.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token>eo</token>
          </marker>
          <token>ket</token>
          <token>a-du</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>emañ</suggestion>?</message>
        <example correction="emañ">N’<marker>eo</marker> ket a-du ganin.</example>
        <example>N’emañ ket a-du ganin.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token inflected="yes">a</token>
            <token>zo</token>
          </marker>
          <token>a-du</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>emañ</suggestion>?</message>
        <example correction="emañ">Ma zad <marker>a zo</marker> a-du ganin.</example>
        <example correction="emañ">Ma zad <marker>’zo</marker> a-du ganin.</example>
        <example>Ma zad emañ a-du ganin.</example>
      </rule>
      <rule>
        <pattern>
          <token negate="yes" inflected="yes">a</token>
          <marker>
            <token>zo</token>
          </marker>
          <token>a-du</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>emañ</suggestion>?</message>
        <example correction="emañ">Ma zad <marker>zo</marker> a-du ganin.</example>
        <example>Ma zad emañ a-du ganin.</example>
      </rule>
    </rulegroup>

    <rulegroup id="AM_EUS_EM_EUS" name="debret am eus → debret em eus">
      <rule>
        <pattern>
          <token postag="V ppa"/>
          <marker><token regexp="yes" postag="X KAOUT1">a[mz]|ac’h</token></marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="e"/></suggestion>?</message>
        <example correction="em">Debret <marker>am</marker> eus.</example>
        <example>Debret em eus.</example>
      </rule>
    </rulegroup>

    <rulegroup id="ZO_EO" name="zo → eo">
      <rule>
        <pattern>
          <token postag="SENT_START"/>
          <token postag="[AJ]|V ppa" postag_regexp="yes">
            <exception postag="[NZ].*" postag_regexp="yes"/>
            <exception>mall</exception>
          </token>
          <marker>
            <token regexp="yes">’?zo</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>eo</suggestion>?</message>
        <example correction="eo">Hir <marker>zo</marker> an hent.</example>
        <example>Alan <marker>’zo</marker> fur.</example>
        <example>Mall ’zo warnon lenn an eil levrenn.</example>
      </rule>
    </rulegroup>

    <rulegroup id="FELLOUT" name="fellout a ran → fellout a ra din">
      <rule>
        <pattern>
          <token regexp="yes">fellout|faotañ</token>
          <token>a</token>
          <token inflected="yes" postag="V (pres|futu|impa|conf|conj) ([12] .|3 p|impers sp)" postag_regexp="yes">ober</token>
        </pattern>
        <message>Ar verb «\1» a vez graet gantañ hepken en trede gour unan. Implijit <suggestion>\1 \2 ra</suggestion> + «din/dit/dezhañ/dezhi/dimp/deoc’h/dezho».</message>
        <example correction="Fellout a ra"><marker>Fellout a reomp</marker> mont kuit.</example>
        <example correction="Fellout a ra"><marker>Fellout a rajen</marker> mont kuit.</example>
        <example>Fellout a ra dimp mont kuit.</example>
        <example>Fellout a raje din mont kuit.</example>
      </rule>
    </rulegroup>
    <rule id="AZ_A" name="a za → az a">
      <pattern>
        <token>a</token>
        <token regexp="yes">zae?</token>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion>az <match no="2" regexp_match=".(.*)" regexp_replace="$1"/></suggestion> pe <suggestion>a y<match no="2" regexp_match=".(.*)" regexp_replace="$1"/></suggestion>?</message>
      <example correction="az a|a ya">Bleud an diaoul <marker>a za</marker> da vrenn.</example>
      <example>Bleud an diaoul az a da vrenn.</example>
      <example>Bleud an diaoul a ya da vrenn.</example>
    </rule>

    <rulegroup id="AM_BOA" name="am poa → am boa">
      <rule>
        <pattern>
          <token regexp="yes">[ae]m|hor</token>
          <marker>
            <token regexp="yes">pez|dez|poa?|doa?</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="b"/></suggestion>?</message>
        <example correction="boa">Amzer am <marker>poa</marker>.</example>
        <example correction="boa">Amzer am <marker>doa</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[ae]z|ho</token>
          <marker>
            <token regexp="yes">[bd]eze?|[bd]o[ae]?|deus</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="p"/></suggestion>?</message>
        <example correction="poa">Amzer az <marker>boa</marker>.</example>
        <example correction="poa">Amzer az <marker>doa</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">en|o</token>
          <marker>
            <token regexp="yes">[bp]e[fz]e?|[bp]o[ae]?|peus|[bp]ije</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="^." regexp_replace="d"/></suggestion>?</message>
        <example correction="doa">Amzer en <marker>boa</marker>.</example>
        <example correction="doa">Amzer en <marker>poa</marker>.</example>
      </rule>
    </rulegroup>

    <rulegroup id="V_PPA_EO_BET_UR" name="digoret eo bet ur skol → digoret ez eus bet ur skol">
      <rule>
        <pattern>
          <token postag="V ppa"/>
          <marker>
            <token regexp="yes">[ez]o</token>
          </marker>
          <token>bet</token>
          <token regexp="yes">u[nrl]</token>
        </pattern>
        <message>Ret eo implijout <suggestion>ez eus</suggestion>.</message>
        <example correction="ez eus">Digoret <marker>eo</marker> bet ur skol nevez.</example>
        <example>Digoret ez eus bet ur skol nevez.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="V ppa"/>
          <marker>
            <token regexp="yes">[ez]o<exception postag="X DA_LAVARET_EO"/></token>
          </marker>
          <token regexp="yes">u[nlr]</token>
        </pattern>
        <message>Ret eo implijout <suggestion>ez eus</suggestion>.</message>
        <example correction="ez eus">Digoret <marker>eo</marker> ur skol nevez.</example>
        <example>Digoret ez eus ur skol nevez.</example>
        <example>Da lavaret eo ur degemer e brezhoneg.</example>
      </rule>
      <rule>
        <pattern>
          <token>erru</token>
          <marker>
            <token regexp="yes">[ez]o</token>
          </marker>
          <token regexp="yes">u[nlr]</token>
        </pattern>
        <message>Ret eo implijout <suggestion>ez eus</suggestion>.</message>
        <example correction="ez eus">Erru <marker>eo</marker> ur paotr.</example>
      </rule>
    </rulegroup>

    <rulegroup id="V_PPA_EZ_EUS_BET_AR" name="digoret ez eus bet ar → digoret eo bet ar">
      <rule>
        <pattern>
          <token postag="V ppa"/>
          <marker>
            <token>ez</token>
            <token>eus</token>
          </marker>
          <token>bet</token>
          <token regexp="yes">a[nrl]</token>
        </pattern>
        <message>Ret eo implijout <suggestion>eo</suggestion>.</message>
        <example correction="eo">Digoret <marker>ez eus</marker> bet ar skol nevez.</example>
        <example>Digoret eo bet ar skol nevez.</example>
      </rule>
    </rulegroup>

    <rule id="HOCH_EUS" name="oc’h eus → hoc’h eus">
      <pattern>
        <token>oc’h<exception scope="previous">distroet</exception></token>
        <token>eus</token>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion>hoc’h eus</suggestion>?</message>
      <example correction="hoc’h eus">Asantet <marker>oc’h eus</marker>.</example>
      <example>Distroet oc’h eus ho vakañsoù.</example>
    </rule>

    <rulegroup id="EZ_EUS_E_VEZ" name="ez eus → e vez">
      <rule>
        <pattern>
          <token>bep</token>
          <token regexp="yes">gwech|gwezh|bloaz|segond|munut|eur|deiz|noz|mintin|beure|enderv|abardae|sizhun|pemzektez|miz|trimiziad|kantved|Lun|Merc’her|Yaou|Gwener|Sadorn|Sul|Genver|C’hwevrer|Meurzh|Ebrel|Mae|Even|Mezheven|Gouere|Gouhere|Eost|Gwengolo|Here|Du|Kerdu|Kerzu</token>
          <marker>
            <token>ez</token>
            <token>eus</token>
          </marker>
        </pattern>
        <message>Stumm boas un droienn a verk ur prantad amzer a zistro ingal. A fellout a rae deoc’h skrivañ <suggestion>e vez</suggestion>?</message>
        <example correction="e vez">Bep sizhun <marker>ez eus</marker> atalieroù komz.</example>
      </rule>
      <rule>
        <pattern>
          <token>bep</token>
          <token regexp="yes">gwech|gwezh|bloaz|segond|munut|eur|deiz|noz|mintin|beure|enderv|abardae|sizhun|pemzektez|miz|trimiziad|kantved|Lun|Merc’her|Yaou|Gwener|Sadorn|Sul|Genver|C’hwevrer|Meurzh|Ebrel|Mae|Even|Mezheven|Gouere|Gouhere|Eost|Gwengolo|Here|Du|Kerdu|Kerzu</token>
          <token>e</token>
          <marker>
            <token>oa</token>
          </marker>
        </pattern>
        <message>Stumm boas un droienn a verk ur prantad amzer a zistro ingal. A fellout a rae deoc’h skrivañ <suggestion>e veze</suggestion>?</message>
        <example correction="e veze">Bep sizhun e <marker>oa</marker> atalieroù komz.</example>
        <example>Bep sizhun e <marker>veze</marker> atalieroù komz.</example>
      </rule>
    </rulegroup>
    <rulegroup id="AM_EUS_AM_BEZ" name="am eus → am bez">
      <rule>
        <pattern>
          <marker>
            <token regexp="yes">[ae]m|hon</token>
            <token postag="X KAOUT2">eus</token>
          </marker>
          <token regexp="yes">alies(-mat)?|atav|a-wechoù|a-wezhioù|bepred|bemdez|bemnoz|dalc’hmat</token>
        </pattern>
        <message>Ret eo skrivañ <suggestion>\1 bez</suggestion> gant ar ger «\3».</message>
        <example correction="am bez">Sec’hed <marker>am eus</marker> atav.</example>
        <example>Sec’hed am bez atav.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token regexp="yes">[ae](z|c’h)</token>
            <token postag="X KAOUT2" regexp="yes">p?eus</token>
          </marker>
          <token regexp="yes">alies(-mat)?|atav|a-wechoù|a-wezhioù|bepred|bemdez|bemnoz|dalc’hmat</token>
        </pattern>
        <message>Ret eo skrivañ <suggestion><match no="1" regexp_match="(.).*" regexp_replace="$1z"/> pez</suggestion> gant ar ger «\3».</message>
        <example correction="az pez">Sec’hed <marker>az peus</marker> atav.</example>
        <example>Sec’hed az pez atav.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token regexp="yes">en|he|o</token>
            <token postag="X KAOUT2">deus</token>
          </marker>
          <token regexp="yes">alies(-mat)?|atav|a-wechoù|a-wezhioù|bepred|bemdez|bemnoz</token>
        </pattern>
        <message>Ret eo skrivañ <suggestion>\1 devez</suggestion> gant ar ger «\3».</message>
        <example correction="o devez">Sec’hed <marker>o deus</marker> atav.</example>
        <example>Sec’hed o devez atav.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token>hoc’h</token>
            <token postag="X KAOUT2">peus</token>
          </marker>
          <token regexp="yes">alies(-mat)?|atav|a-wechoù|a-wezhioù|bepred|bemdez|bemnoz</token>
        </pattern>
        <message>Ret eo skrivañ <suggestion>ho pez</suggestion> gant ar ger «\3».</message>
        <example correction="ho pez">Sec’hed <marker>hoc’h peus</marker> atav.</example>
        <example>Sec’hed ho pez atav.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token regexp="yes">[ae][mz]|[ae]c’h|en|he|hon|hoc’h|o</token>
            <token postag="X KAOUT2" regexp="yes">[bdp]oa</token>
          </marker>
          <token regexp="yes">alies(-mat)?|atav|a-wechoù|a-wezhioù|bepred|bemdez|bemnoz</token>
        </pattern>
        <message>Ret eo skrivañ <suggestion>\1 <match no="2" regexp_match="(.).*" regexp_replace="$1eze"/></suggestion> gant ar ger «\3».</message>
        <example correction="am beze">Sec’hed <marker>am boa</marker> atav.</example>
        <example>Sec’hed am beze atav.</example>
      </rule>
    </rulegroup>

    <rulegroup id="NEBEUT_NACHAN" name="nebeud/nebeut gant an nac’hañ">
      <rule>
        <pattern>
          <token postag="SENT_START"/>
          <token>nebeut</token>
          <token>a</token>
          <token postag="N . p.*" postag_regexp="yes"/>
          <token regexp="yes">n[e’]</token>
          <marker>
            <token postag="V.*" postag_regexp="yes">
              <exception postag="V .* 3 p.*" postag_regexp="yes"/>
            </token>
          </marker>
        </pattern>
        <message>Ret eo implij ur verb lies goude «\2 \3 \4 \5» e penn ar frazenn. (CHALM R1.5.1)</message>
        <example correction="">Nebeut a dud ne <marker>gomze</marker> ket.</example>
        <example>Nebeut a dud ne gomzent ket.</example>
        <example correction="">Nebeut a dud n’<marker>eo</marker> ket gwisket e ruz.</example>
        <example>Nebeut a dud n’<marker>int</marker> ket gwisket e ruz.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="SENT_START"/>
          <token>Un</token>
          <token>nebeud</token>
          <token postag="N . p.*" postag_regexp="yes"/>
          <token regexp="yes">n[e’]</token>
          <marker>
            <token postag="V.*" postag_regexp="yes">
              <exception postag="V .* 3 p.*" postag_regexp="yes"/>
            </token>
          </marker>
        </pattern>
        <message>Ret eo implij ur verb lies goude «\2 \3 \4 \5» e penn ar frazenn. (CHALM R1.5.1)</message>
        <example correction="">Un nebeud traoù ne <marker>oa</marker> ket bet graet.</example>
        <example>Un nebeud traoù ne <marker>oant</marker> ket bet graet.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="SENT_START"/>
          <token>nebeut</token>
          <token regexp="yes">n[e’]</token>
          <marker>
            <token postag="V.*" postag_regexp="yes">
              <exception postag="V .* 3 p.*" postag_regexp="yes"/>
            </token>
          </marker>
        </pattern>
        <message>Ret eo implij ur verb lies goude «\2 \3» e penn ar frazenn. (CHALM R1.5.1)</message>
        <example correction="">Nebeut ne <marker>c’hoarzhe</marker> ket.</example>
        <example>Nebeut ne <marker>c’hoarzhent</marker> ket.</example>
      </rule>
    </rulegroup>

    <rulegroup id="PA_BEZAN" name="pa + bezañ">
      <rule>
        <pattern>
          <token>pa</token>
          <marker><token regexp="yes">eo|zo</token></marker>
        </pattern>
        <message>Ret eo implij <suggestion>vez</suggestion> goude «pa» (CHALM C71.4.3).</message>
        <example correction="vez">Pa <marker>eo</marker> brav an amzer</example>
        <example>Pa <marker>vez</marker> brav an amzer.</example>
        <example correction="vez">Pa <marker>zo</marker> amzer</example>
      </rule>
    </rulegroup>

    <rulegroup id="PA_KAOUT" name="pa + kaout">
      <rule>
        <pattern>
          <token>pa’</token>
          <token>m</token>
          <marker><token>eus</token></marker>
        </pattern>
        <message>Ret eo implij <suggestion>bez</suggestion> goude «pa» (CHALM C71.4.3).</message>
        <example correction="bez">Pa’m <marker>eus</marker> sec’hed</example>
      </rule>
      <rule>
        <pattern>
          <token>pa’</token>
          <token>z</token>
          <marker><token>peus</token></marker>
        </pattern>
        <message>Ret eo implij <suggestion>pez</suggestion> goude «pa» (CHALM C71.4.3).</message>
        <example correction="pez">Pa’z <marker>peus</marker> sec’hed</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">pa’?</token>
          <token regexp="yes">en|he|o</token>
          <marker><token>deus</token></marker>
        </pattern>
        <message>Ret eo implij <suggestion>dez</suggestion> goude «pa» (CHALM C71.4.3).</message>
        <example correction="dez">Pa’en <marker>deus</marker> sec’hed</example>
      </rule>
      <rule>
        <pattern>
          <token>pa</token>
          <token>ho</token>
          <marker><token>peus</token></marker>
        </pattern>
        <message>Ret eo implij <suggestion>pez</suggestion> goude «pa» (CHALM C71.4.3).</message>
        <example correction="pez">Pa ho <marker>peus</marker> sec’hed</example>
      </rule>
    </rulegroup>

    <rulegroup id="NACHAN" name="nac’han">
      <rule>
        <pattern>
          <token postag="SENT_START"/>
          <token>N’</token>
          <marker><token>emaint</token></marker>
          <token>ket</token>
          <token postag="D . .*" postag_regexp="yes"/>
          <token postag="N . p.*" postag_regexp="yes"/>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>emañ</suggestion>? (CHALM V1.2)</message>
        <example correction="emañ">N’<marker>emaint</marker> ket ma c’hoarezed o c’hoari.</example>
        <example>N’emañ ket ma c’hoarezed o c’hoari.</example>
      </rule>
    </rulegroup>

    <rulegroup id="EZ_AN" name="Ez an da Naoned → Mont a ran da Naoned">
      <rule>
        <pattern>
          <token postag="SENT_START"/>
          <marker>
            <token>ez</token>
            <token inflected="yes" postag_regexp="yes" postag="V.*">mont</token>
          </marker>
          <token>da</token>
          <token postag="Z .* top.*" postag_regexp="yes"/>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>Mont a r\3</suggestion>?</message>
        <example correction="Mont a ran"><marker>Ez an</marker> da Bariz.</example>
        <example>Mont a ran da Bariz.</example>
        <example>Ez an da gousket.</example>
      </rule>
    </rulegroup>
    <rulegroup id="NACH" name="An nac’hañ">
      <rule>
        <pattern>
          <token postag="SENT_START"/>
          <token postag="D . s?p" postag_regexp="yes"/>
          <token postag="N . p.*" postag_regexp="yes"><exception postag="N . sp?.*" postag_regexp="yes"/></token>
          <token regexp="yes">n[e’]</token>
          <marker>
            <token postag="V.*" postag_regexp="yes"><exception postag="V.* 3 p.*" postag_regexp="yes"/></token>
          </marker>
          <token>ket</token>
        </pattern>
        <message>Er stumm nac’h e rank ar verb heuliañ an displegadur personel. Ar verb a zlefe bezañ er trede gour lies neuze.</message>
        <example correction="">Ma zud ne <marker>bren</marker> ket ar gazetenn.</example>
        <example>Ma zud ne brenont ket ar gazetenn.</example>
        <example>Ma zud ne brenent ket ar gazetenn.</example>
        <example correction="">Ma c’hoarezed n’<marker>emañ</marker> ket o c’hoari.</example>
        <example>Ma c’hoarezed n’emaint ket o c’hoari.</example>
      </rule>
    </rulegroup>

    <rulegroup id="EO_BET_E_OA_BET" name="e bet dec’h → e oa bet dec’h">
      <rule>
        <pattern>
          <token postag="V ppa"/>
          <marker><token>on</token></marker>
          <token>bet</token>
          <token regexp="yes">dec’h|warlene</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>e oan</suggestion>?</message>
        <example correction="e oan">Divizet <marker>on</marker> bet dec’h.</example>
        <example>Divizet e oan bet dec’h.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="V ppa"/>
          <marker><token>out</token></marker>
          <token>bet</token>
          <token regexp="yes">dec’h|warlene</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>e oas</suggestion>?</message>
        <example correction="e oas">Divizet <marker>out</marker> bet dec’h.</example>
        <example>Divizet e oas bet dec’h.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="V ppa"/>
          <marker><token>eo</token></marker>
          <token>bet</token>
          <token regexp="yes">dec’h|warlene</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>e oa</suggestion>?</message>
        <example correction="e oa">Divizet <marker>eo</marker> bet dec’h.</example>
        <example>Divizet e oa bet dec’h.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="V ppa"/>
          <marker><token>omp</token></marker>
          <token>bet</token>
          <token regexp="yes">dec’h|warlene</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>e oamp</suggestion>?</message>
        <example correction="e oamp">Divizet <marker>omp</marker> bet dec’h.</example>
        <example>Divizet e oamp bet dec’h.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="V ppa"/>
          <marker><token>oc’h</token></marker>
          <token>bet</token>
          <token regexp="yes">dec’h|warlene</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>e oac’h</suggestion>?</message>
        <example correction="e oac’h">Divizet <marker>oc’h</marker> bet dec’h.</example>
        <example>Divizet e oac’h bet dec’h.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="V ppa"/>
          <marker><token>int</token></marker>
          <token>bet</token>
          <token regexp="yes">dec’h|warlene</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>e oant</suggestion>?</message>
        <example correction="e oant">Divizet <marker>int</marker> bet dec’h.</example>
        <example>Divizet e oant bet dec’h.</example>
      </rule>
    </rulegroup>
  </category>

  <category id="RUMM_BARRENNIG_STAGAN" name="Barrennig-stagañ">
    <rulegroup id="OCH_AN" name="diaesoc’h diaesañ → diaesoc’h-diaesañ">
      <rule>
        <pattern>
          <token postag="J cmp" regexp="yes">.*oc’h</token>
          <token postag="J sup"><match no="0" regexp_match="oc’h$" regexp_replace="añ"/></token>
        </pattern>
        <message>Implijit <suggestion>\1-\2</suggestion>. (CHALM Sb 8)</message>
        <example correction="Diaesoc’h-diaesañ"><marker>Diaesoc’h diaesañ</marker> eo kavout labour.</example>
        <example>Diaesoc’h-diaesañ eo kavout labour.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="J cmp" regexp="yes">.*oc’h</token>
          <token postag="J"><match no="0" regexp_match="oc’h$" regexp_replace=""/></token>
        </pattern>
        <message>Implijit <suggestion>\1-\2</suggestion>. (CHALM Sb 8)</message>
        <example correction="Gwelloc’h-gwell"><marker>Gwelloc’h gwell</marker></example>
        <example>Gwelloc’h-gwell</example>
      </rule>
    </rulegroup>
    <rule id="J_OUZH_J" name="gwazh ouzh gwazh → gwazh-ouzh-gwazh">
      <pattern>
        <token postag="J"/>
        <token>ouzh</token>
        <token><match no="0"/></token>
      </pattern>
      <message>Implijit <suggestion>\1-\2-\3</suggestion>.</message>
      <example correction="Gwazh-ouzh-gwazh"><marker>Gwazh ouzh gwazh</marker> ez a an avel.</example>
      <example>Gwazh-ouzh-gwazh ez a an avel.</example>
    </rule>
    <rule id="MAN_SE_HONT" name="plac’h mañ → plac’h-mañ">
      <pattern>
        <token postag="[JN].*" postag_regexp="yes">
          <exception postag="V.*" postag_regexp="yes"/>
          <exception regexp="yes">gant|vit|war</exception>
        </token>
        <token regexp="yes">se|mañ|hont</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>. (CHALM Q 1.2)</message>
      <example correction="plac’h-mañ">Koant eo ar <marker>plac’h mañ</marker>.</example>
      <example>Koant eo ar plac’h-mañ.</example>
      <example>Echu gant se.</example>
      <example>Ne c’hallan ket ober se.</example>
      <example>Hag a-du emaoc’h ganin war se?</example>
      <example>Gwelloc’h ’vit se.</example>
    </rule>
    <rule id="MAN" name="Al levr-man → Al levr-mañ">
      <pattern>
        <token regexp="yes">.*-man</token>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match=".$" regexp_replace="ñ"/></suggestion>? (CHALM Q 1.2)</message>
      <example correction="levr-mañ">A <marker>levr-man</marker> a blij din.</example>
      <example>A levr-mañ a blij din.</example>
    </rule>
    <rule id="BED_HOLL_MAN" name="Ar bed-holl-mañ → ar bed-mañ-holl">
      <pattern>
        <token regexp="yes">.+-holl-(se|mañ|hont)</token>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="(.+)-(holl)-(se|mañ|hont)" regexp_replace="$1-$3-$2"/></suggestion>? (CHALM R1.1.2)</message>
      <example correction="bed-mañ-holl">Ar <marker>bed-holl-mañ</marker>.</example>
      <example>Ar bed-mañ-holl.</example>
    </rule>
    <rule id="J_TRE" name="fentus tre → fentus-tre (hag all)">
      <pattern>
        <token postag="J.*" postag_regexp="yes"><exception>pe</exception></token>
        <token regexp="yes">kenañ|mat|meurbet|tre</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="Fentus-tre"><marker>Fentus tre</marker> eo.</example>
      <example>Fentus-tre eo.</example>
      <example correction="Brudet-mat"><marker>Brudet mat</marker> eo.</example>
      <example>Pe mat pe fall e oa.</example>
      <example>Gouzout a <marker>rez mat</marker> n’omp ket pinvidik.</example>
      <example>Gouzout a ra an holl e vez klevet brezhoneg alies war ar marc’hadoù.</example>
    </rule>
    <rule id="BERR_HA_BERR" name="berr ha berr → berr-ha-berr (hag all)">
      <pattern>
        <token regexp="yes">berr|buan|daou|ger|h[eo]nn|ken|kammed|kazel|kichen|mesk|nebeut|pazenn|pevar|pred|prim|sioul|stok|tamm|tri|tro</token>
        <token>ha</token>
        <token><match no="0"/></token>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion>\1-\2-\3</suggestion>? (CHALM Sa)</message>
      <example correction="Tamm-ha-tamm"><marker>Tamm ha tamm</marker> e vez graet e vragoù da Yann.</example>
      <example>Tamm-ha-tamm e vez graet e vragoù da Yann.</example>
    </rule>
    <rule id="A_WALCH" name="just-a-walc’h → just a-walc’h (hag all)">
      <pattern>
        <token regexp="yes">.*-a-walc’h</token>
      </pattern>
      <message>Barrennig-stagañ ebet dirak an adverb «a-walc’h». Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="(.*)-(a-walc’h)" regexp_replace="$1 $2"/></suggestion>? (CHALM Sa)</message>
      <example correction="Just a-walc’h"><marker>Just-a-walc’h</marker>.</example>
      <example>Just a-walc’h.</example>
    </rule>
    <rule id="SETU_ME" name="setu me → setu-me (hag all)">
      <pattern>
        <token>setu</token>
        <token regexp="yes">me|te|eñ|hi|ni|c’hwi|int|i</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>. (CHALM M1.3.3)</message>
      <example correction="Setu-me"><marker>Setu me</marker> o komz brezhoneg.</example>
      <example>Setu-me o komz brezhoneg.</example>
    </rule>
    <rulegroup id="GANIN_ME" name="ganin me → ganin-me (hag all)">
      <rule>
        <pattern>
          <token postag="P e 1 s"/>
          <token>me</token>
        </pattern>
        <message>Implijit <suggestion>\1-\2</suggestion>. (CHALM M1.3.5)</message>
        <example correction="Ganin-me"><marker>Ganin me</marker></example>
      </rule>
      <rule>
        <pattern>
          <token postag="P e 2 s"/>
          <token>te</token>
        </pattern>
        <message>Implijit <suggestion>\1-\2</suggestion> (CHALM M1.3.5).</message>
        <example correction="Ganit-te"><marker>Ganit te</marker></example>
      </rule>
      <rule>
        <pattern>
          <token postag="P m 3 s"/>
          <token>eñ</token>
        </pattern>
        <message>Ne vez ket implijet «\1 \2». Ha fellout a rae deoc’h skrivañ <suggestion>\1</suggestion>? (CHALM M1.3.5).</message>
        <example correction="Gantañ"><marker>Gantañ eñ</marker></example>
      </rule>
      <rule>
        <pattern>
          <token postag="P f 3 s"/>
          <token>hi</token>
        </pattern>
        <message>Ne vez ket implijet «\1 \2». Ha fellout a rae deoc’h skrivañ <suggestion>\1</suggestion>? (CHALM M1.3.5).</message>
        <example correction="Ganti"><marker>Ganti hi</marker></example>
      </rule>
      <rule>
        <pattern>
          <token postag="P e 1 p"/>
          <token>ni</token>
        </pattern>
        <message>Implijit <suggestion>\1-\2</suggestion> (CHALM M1.3.5).</message>
        <example correction="Ganimp-ni"><marker>Ganimp ni</marker></example>
      </rule>
      <rule>
        <pattern>
          <token postag="P e 2 p"/>
          <token>c’hwi</token>
        </pattern>
        <message>Implijit <suggestion>\1-\2</suggestion> (CHALM M1.3.5).</message>
        <example correction="Ganeoc’h-c’hwi"><marker>Ganeoc’h c’hwi</marker></example>
      </rule>
      <rule>
        <pattern>
          <token postag="P e 3 p"/>
          <token regexp="yes">i|int</token>
        </pattern>
        <message>Ne vez ket implijet «\1 \2». Ha fellout a rae deoc’h skrivañ <suggestion>\1</suggestion>? (CHALM M1.3.5).</message>
        <example correction="Ganto"><marker>Ganto i</marker></example>
        <example correction="Gante"><marker>Gante i</marker></example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">(anezhañ|arao[kz]añ|dezhañ|(di)?(gantañ|outañ|warnañ)|[dz]indanañ|drezañ|egetañ|egistañ|ennañ|eveltañ|evitañ|heptañ|hervezañ|nemetañ)-eñ|(anezhi|arao[kz]i|dezhi|(di)?(ganti|outi|warni)|[dz]indani|drezi|egeti|egisti|enni|evelti|eviti|hebti|hervezi|nemeti)-hi|(enezh|arao[kz]|dezh|enn|(di)?(gant|out|warn)|[dz]indan|drez|eget|egist|evelt|hebt[oe]|hervez|evit|nemet)[oe]-(i|int)|ac’hanon-me|ac’hanout-te|ac’hanomp-ni|ac’hanoc’h-c’hwi</token>
        </pattern>
        <message>Ne vez ket implijet «\1». Ha fallout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="-.*" regexp_replace=""/></suggestion>? (CHALM M1.3.5)</message>
        <example correction="Gantañ"><marker>Gantañ-eñ</marker>.</example>
        <example>Gantañ.</example>
      </rule>
    </rulegroup>
    <rule id="BARRENNIG_STAGAN" name="barrennig stagañ → barrennig-stagañ">
      <pattern>
        <token regexp="yes">[bvp]arrennig</token>
        <token>stagañ</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="varrennig-stagañ">Ar <marker>varrennig stagañ</marker></example>
    </rule>
    <rule id="DREIST_HOLL" name="dreist holl → dreist-holl">
      <pattern>
        <token>dreist</token>
        <token regexp="yes">holl|kemm|penn</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="dreist-holl">Kalz tud a oa, ha <marker>dreist holl</marker> kalz a douristed.</example>
      <example>Kalz tud a oa, ha dreist-holl kalz a douristed.</example>
    </rule>
    <rule id="ASKEL_GROCHEN" name="askell groc’hen → askell-groc’hen">
      <pattern>
        <token regexp="yes">[ae]skell</token>
        <token regexp="yes">[gk]roc’hen</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="askell-groc’hen">Un <marker>askell groc’hen</marker></example>
      <example>Un askell-groc’hen</example>
    </rule>
    <rule id="HENT_HOUARN" name="hent houarn → hent-houarn (hag all)">
      <pattern>
        <token regexp="yes">hent(où)?</token>
        <token regexp="yes">(bleiz|bras|dall|don|gwenn|houarn|karr|kirri|kroaz|meur|sant-(Jakez|Jalm)|treuz|tro|troad)(-(mañ|se|hont))?</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="hent-houarn">Labourat a ra en <marker>hent houarn</marker></example>
    </rule>
    <rule id="SKUIZH" name="skuizh marv → skuizh-marv (hag all)">
      <pattern>
        <token>skuizh</token>
        <token regexp="yes">abominapl|bras|brein|daonet|divi|kaer|lip|marv|naet|spontus</token>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion>\1-\2</suggestion>?</message>
      <example correction="Skuizh-marv"><marker>Skuizh marv</marker> on.</example>
    </rule>
    <rule id="TOUR_TAN" name="tour tan → tour-tan">
      <pattern>
        <token regexp="yes">[td]our(ioù)?</token>
        <token regexp="yes">(dour|iliz|meur|tan)(-(mañ|se|hont))?</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="tour-tan">Uhel eo an <marker>tour tan</marker>.</example>
    </rule>
    <rule id="DOR_DAL" name="dor dal → dor-dal (hag all)">
      <pattern>
        <token regexp="yes">[dz]or(ioù)?|[nz]or</token>
        <token regexp="yes">(dal|volz)?(-(mañ|se|hont))?</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="nor-dal">Serr an <marker>nor dal</marker>.</example>
    </rule>
    <rule id="BLEIZ_MOR" name="bleiz mor → bleiz-mor">
      <pattern>
        <token regexp="yes">bleizi?</token>
        <token regexp="yes">(bouzel|broc’h(ed)?|garv|koad|mor|noz|piz|teil|yod)(-(mañ|se|hont))?</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="bleiz-mor">Ur <marker>bleiz mor</marker> am eus gwelet.</example>
      <example>Ur bleiz-mor am eus gwelet.</example>
    </rule>
    <rule id="GRILH_MOR" name="grilh mor → grilh-mor">
      <pattern>
        <token regexp="yes">grilh(ed)?</token>
        <token regexp="yes">(douar|dour|koad|maen|mor|oaled|prad|saoz|traezh)(-(mañ|se|hont))?</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="grilh-mor">Ur <marker>grilh mor</marker> am eus tapet.</example>
      <example>Ur grilh-mor am eus tapet.</example>
    </rule>
    <rule id="ANV_BIHAN" name="anv bihan → anv-bihan (hag all)">
      <pattern>
        <token regexp="yes">anv(ioù)?</token>
        <token regexp="yes">(badez|bihan|familh|gwan|kadarn|pluenn|stroll|stiegezh|verb)(-(mañ|se|hont))?</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="anv-bihan">Petra zo da <marker>anv bihan</marker>?</example>
    </rule>
    <rule id="HOCH_GOUEZ" name="hoc’h gouez → hoc’h-gouez (hag all)">
      <pattern>
        <token regexp="yes">hoc’h(ed)?|moc’h|pemoc’h|porc’hell|tourc’h</token>
        <token>gouez</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="hoc’h-gouez">An <marker>hoc’h gouez</marker></example>
    </rule>
    <rule id="GER_MELL" name="ger mell → ger-mell (hag all)">
      <pattern>
        <token regexp="yes">ger(ioù)?</token>
        <token regexp="yes">mell|rener|stur|tremen</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="ger-mell">Ar <marker>ger mell</marker>.</example>
    </rule>
    <rule id="EVEL_JUST" name="evel just → evel-just">
      <pattern>
        <token>evel</token>
        <token regexp="yes">just|henn</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="evel-just">Lakaet eo bet e brezhoneg <marker>evel just</marker>.</example>
    </rule>
    <rule id="TI_GAR" name="ti gar → ti-gar">
      <pattern>
        <token regexp="yes">[td]i(ie[rz])?</token>
        <token regexp="yes">(bank|debriñ|embann|feurm|kêr|krampouezh|gar|pizza|plouz|polis|post|skol)(-(mañ|se|hont))?</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="ti-gar">Pelec’h emañ an <marker>ti gar</marker>?</example>
    </rule>
    <rule id="SKOL_VEUR" name="skol veur → skol-veur">
      <pattern>
        <token regexp="yes">skol|skolioù</token>
        <token regexp="yes">([mv]eur|[mv]amm)(-(mañ|se|hont))?</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="skol-veur">Pelec’h emañ ar <marker>skol veur</marker>?</example>
    </rule>
    <rule id="BALAFENN_NOZ" name="balafenn noz → balafenn-noz">
      <pattern>
        <token regexp="yes">[bpv]alafenn(ed)?</token>
        <token regexp="yes">(erc’h|noz|deiz)(-(mañ|se|hont))?</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="valafenn-noz">Ur <marker>valafenn noz</marker>.</example>
    </rule>
    <rule id="FEST_NOZ" name="fest noz → fest-noz">
      <pattern>
        <token regexp="yes">fest(où)?|([gk]|c’h)entel(ioù)?</token>
        <token>noz</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="fest-noz">Mont a ran d’ar <marker>fest noz</marker>.</example>
    </rule>
    <rule id="KARR_TAN" name="karr tan → karr-tan">
      <pattern>
        <token regexp="yes">([kg]|c’h)(arr|irri)</token>
        <token regexp="yes">boutin|nezañ|nij|samm|(dre-)?tan|redek</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="karr-nij">Ho pilhed <marker>karr nij</marker> mar plij.</example>
      <example>Ho pilhed karr-nij mar plij.</example>
    </rule>
    <rule id="PLANKENN_RUILH" name="plankenn ruilh → plankenn-ruilh">
      <pattern>
        <token regexp="yes">[pbf]lankenn(où)?</token>
        <token regexp="yes">ruilh|skoaz|dre-lien</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="plankenn-ruilh">Ur <marker>plankenn ruilh</marker></example>
    </rule>
    <rule id="MENEZ_TAN" name="menez tan → menez-tan">
      <pattern>
        <token regexp="yes">menez(ioù)?</token>
        <token>tan</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="menez-tan">Ur <marker>menez tan</marker></example>
      <example>Ur menez-tan</example>
    </rule>
    <rule id="TRO_DRO" name="tro dro → tro-dro">
      <pattern>
        <token>tro</token>
        <token>dro</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="tro-dro">E Pariz ha <marker>tro dro</marker>.</example>
    </rule>
    <rule id="KORN_BRO" name="korn bro → korn-bro">
      <pattern>
        <token regexp="yes">([kg]|c’h)orn(ioù)?</token>
        <token>bro</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="korn-bro">Ur strollad eus <marker>korn bro</marker> an Oriant</example>
      <example correction="gornioù-bro">Kalz a <marker>gornioù bro</marker> e Breizh-Izel</example>
      <example>Kalz a gornioù-bro e Breizh-Izel</example>
    </rule>
    <rule id="CHOM_A_SAV" name="chom a sav → chom a-sav">
      <pattern>
        <token inflected="yes" skip="3">chom</token>
        <marker>
          <token>a</token>
          <token>sav</token>
        </marker>
      </pattern>
      <message>Implijit <suggestion>\2-\3</suggestion>.</message>
      <example correction="a-sav">Chomet eo an horolaj <marker>a sav</marker>.</example>
      <example>Chomet eo an horolaj a-sav.</example>
      <example correction="a-sav">Chom <marker>a sav</marker> ar bus.</example>
      <example>Chom a-sav ar bus.</example>
    </rule>
    <rulegroup id="A_YOUL_VAT" name="a youl vat → a-youl vat">
      <rule>
        <pattern>
          <token>a</token>
          <token>youl</token>
          <token>vat</token>
        </pattern>
        <message>Implijit <suggestion>\1-\2 \3</suggestion>.</message>
        <example correction="a-youl vat">An dud <marker>a youl vat</marker>.</example>
        <example>An dud a-youl vat.</example>
      </rule>
      <rule>
        <pattern>
          <token>a</token>
          <token regexp="yes">youl-?vat</token>
        </pattern>
        <message>Implijit <suggestion>\1-youl vat</suggestion>.</message>
        <example correction="a-youl vat">An dud <marker>a youl-vat</marker>.</example>
        <example>An dud a-youl vat.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">a-?youl-?vat</token>
        </pattern>
        <message>Implijit <suggestion>a-youl vat</suggestion>.</message>
        <example correction="a-youl vat">An dud <marker>a-youl-vat</marker>.</example>
        <example>An dud a-youl vat.</example>
      </rule>
    </rulegroup>
    <rulegroup id="A_GREIZ_HOLL" name="a greiz holl → a-greiz-holl">
      <rule>
        <pattern>
          <token>a</token>
          <token regexp="yes">greizh?</token>
          <token regexp="yes">holl|tout</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>\1-greiz-\3</suggestion>?</message>
        <example correction="A-greiz-holl"><marker>A greiz holl</marker>!</example>
        <example correction="A-greiz-tout"><marker>A greiz tout</marker>!</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">a-greizh?</token>
          <token regexp="yes">holl|tout</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>a-greiz-\2</suggestion>?</message>
        <example correction="A-greiz-holl"><marker>A-greiz holl</marker>!</example>
        <example correction="A-greiz-tout"><marker>A-greiz tout</marker>!</example>
      </rule>
      <rule>
        <pattern>
          <token>a</token>
          <token regexp="yes">greizh?-(holl|tout)</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>\1-<match no="2" regexp_match="zh*" regexp_replace="z"/></suggestion>?</message>
        <example correction="A-greiz-holl"><marker>A greiz-holl</marker>!</example>
        <example correction="A-greiz-tout"><marker>A greiz-tout</marker>!</example>
      </rule>
      <rule>
        <pattern>
          <token>a</token>
          <token regexp="yes">greizh?</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>\1-greiz</suggestion>?</message>
        <example correction="A-greiz"><marker>A greiz</marker> kalon.</example>
      </rule>
    </rulegroup>
    <rule id="A_DREUZ" name="a dreuz → a-dreuz (hag all)">
      <antipattern>
        <token>kalz</token>
        <token>a</token>
        <token>boan</token>
      </antipattern>
      <antipattern>
        <token>a</token>
        <token>bouez</token>
        <token regexp="yes">\d+|muioc’h|kalz</token>
      </antipattern>
      <antipattern>
        <token regexp="yes">.*metrad|km|m</token>
        <token>a</token>
        <token>hed</token>
      </antipattern>
      <pattern>
        <token>a<exception scope="previous" regexp="yes">kement|meur|nag</exception></token>
        <token regexp="yes">barzh|beban|belec’h|benn(adoù|-kaer)?|bik|bil|blad|blaen|blom|boan|bouez(-penn)?|boullad|c’houde(vezh)?|c’hwenn|dal|dammoù|denn-askell|dizh|douez|doulladoù|drak|dreist|drek|dreñv|dreuz|drugarez|du|enep|feson|fet|feur|flav|fourch|fuilh|geñver|gevret|gleiz|grenn|hed(-all)?|herr|hervez|hevelep|istribilh|led|leizh|nevez|ouez|raok|ratozh|skouer|stlabez|viskoazh|vremañ|walc’h|wechoù|wezhioù|zehou|zevri|ziabarzh|ziabell|ziadreñv|ziagent|ziaraok|ziavaez|zindan(on|out|nañ|ni|nomp|noc’h|nor?)?|zioc’h|ziouzh|zivout|ziwar(non|nout|nañ|nezhañ|ni|nezhi|nomp|noc’h|nezho|nor?|-(c’horre|dro|laez|lerc’h))?|zoare</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="a-walc’h">Amzer <marker>a walc’h</marker> am eus.</example>
      <example>Amzer a-walc’h am eus.</example>
      <example>Nag a boan am boa!</example>
      <example>Kement a boan am boa!</example>
      <example correction="A-du"><marker>A du</marker> emaon.</example>
      <example>A-du emaon.</example>
      <example>Kemer perzh enno e meur a du.</example>
      <example>Meur a zoare a zo da gemer perzh</example>
      <example>An oto-mañ a bouez 900 kg.</example>
      <example>Gant kalz a boan.</example>
      <example>Hanter-kant metrad a hed.</example>
    </rule>
    <rulegroup id="MA_UNAN" name="ma unan → ma-unan (hag all)">
      <rule>
        <pattern>
          <token regexp="yes">ma|e|he|hec’h|hon|hoc’h|o</token>
          <token regexp="yes">unan(i[gk])?(-penn)?</token>
        </pattern>
        <message>Implijit <suggestion>\1-\2</suggestion>. (CHALM M1.4.2.1)</message>
        <example correction="ma-unan">Desket em eus <marker>ma unan</marker>.</example>
        <example correction="ma-unan-penn">Desket em eus <marker>ma unan-penn</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token>da</token>
            <token regexp="yes">unan(i[gk])?(-penn)?
              <exception postag="X A_UNAN_DA_UNAN"/>
            </token>
          </marker>
          <token><exception regexp="yes">bennak(et)?</exception></token>
        </pattern>
        <message>Implijit <suggestion>\1-\2</suggestion>. (CHALM M1.4.2.1)</message>
        <example correction="da-unan">Gra an traoù <marker>da unan</marker>.</example>
        <example>Gra an traoù da-unan.</example>
        <example>Roit da unan bennak.</example>
        <example>A unan da unan.</example>
        <example>Stad zo ennon en dije talvezet da unan bennak.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">ma|da|e|he|hec’h|hon|hoc’h|o</token>
          <token regexp="yes">unan(i[gk])?</token>
          <token>penn</token>
        </pattern>
        <message>Implijit <suggestion>\1-\2-\3</suggestion>.</message>
        <example correction="ma-unan-penn">Desket em eus <marker>ma unan penn</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">(ma|da|e|he|hec’h|hon|hoc’h|o)-unan(ik)?</token>
          <token>penn</token>
        </pattern>
        <message>Implijit <suggestion>\1-\2</suggestion>.</message>
        <example correction="ma-unan-penn">Desket em eus <marker>ma-unan penn</marker>.</example>
      </rule>
    </rulegroup>
    <rule id="E_KREIZ" name="e kreiz → e-kreiz (hag all)">
      <pattern>
        <token>e</token>
        <token regexp="yes">barzh|douare|giz(-(all|mañ|se|hon))?|harz|hunan|keit(-se)?|kerz|kichen|krec’h|kreiz|leizh|maez|ser|tailh|tal|touez|tro</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="E-kichen"><marker>E kichen</marker> Gwitalmeze emañ o chom.</example>
      <example>E-kichen Gwitalmeze emañ o chom.</example>
      <example correction="e-kreiz">Rwanda zo ur vro <marker>e kreiz</marker> Afrika.</example>
      <example>Rwanda zo ur vro e-kreiz Afrika.</example>
      <example>E breizh hag <marker>e lec’h</marker> all.</example>
      <example>Pegeit <marker>e pad</marker>?</example>
    </rule>
    <rulegroup id="E_SELL" name="e sell → e-sell">
      <rule>
        <pattern>
          <marker>
            <token>e</token>
            <token>sell</token>
          </marker>
          <token regexp="yes">d[a’']</token>
        </pattern>
        <message>Implijit <suggestion>\1-\2</suggestion>.</message>
        <example correction="e-sell">Peseurt micher emaout <marker>e sell</marker> da ober?</example>
        <example correction="e-sell">Peseurt micher emaout <marker>e sell</marker> d’ober?</example>
        <example>Peseurt micher emaout e-sell da ober?</example>
        <example>Peseurt micher emaout e-sell d’ober?</example>
        <example>Atav e sell ouzh antalvoudoù uelañ.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token>e</token>
            <token>sell</token>
          </marker>
          <token regexp="yes">on|out|eo|omp|oc’h|int|eur</token>
          <token regexp="yes">d[a’']</token>
        </pattern>
        <message>Implijit <suggestion>\1-\2</suggestion>.</message>
        <example correction="E-sell"><marker>E sell</marker> on da vont kuit.</example>
        <example>E-sell on da vont kuit.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token>e</token>
            <token>sell</token>
          </marker>
          <token>e</token>
          <token regexp="yes">oan|oas|oa|oamp|oac’h|oant|oad|vin|vi|vo|vimp|viot|vioc’h|vint|vior|vezan|vezez|vez|vezomp|vezit|vezont|vezer|vezen|vezes|veze|vezemp|vezec’h|vezent|vezed|vezin|vezi|vezo|vezimp|vezoc’h|vezint|vezor|vefen|vefes|vefemp|vefec’h|vefent|vefed|vijen|vijes|vije|vijemp|vijec’h|vijent|vijed</token>
          <token regexp="yes">d[a’']</token>
        </pattern>
        <message>Implijit <suggestion>\1-\2</suggestion>.</message>
        <example correction="E-sell"><marker>E sell</marker> e oan da vont kuit.</example>
        <example>E-sell e oan da vont kuit.</example>
      </rule>
    </rulegroup>
    <rule id="DIWAR_BENN" name="diwar benn → diwar-benn (hag all)">
      <pattern>
        <token>diwar</token>
        <token regexp="yes">benn|bouez|c’horre|dro|goust|laez|lerc’h</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="diwar-benn">Ul levr <marker>diwar benn</marker> ar brezel.</example>
    </rule>

    <rule id="WAR_RAOK" name="war raok → war-raok (hag all)">
      <pattern>
        <token>war</token>
        <token regexp="yes">bouez|c’hed|c’horre|draoñ|dreñv|dro|du|eeun|gil|giz|hed|laez|lein|lerc’h|nes|raok|sav|souz|zu|wazh</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="war-dro">Ober a ra <marker>war dro</marker> ar saout.</example>
      <example>Ober a ra war-dro ar saout.</example>
    </rule>

    <rule id="PORZH" name="porzh mor → porzh-mor">
      <pattern>
        <token regexp="yes">[pb]orzh(ioù)?</token>
        <token regexp="yes">bered|brezel|c’hoari|gwint|houarn|kenwerzh|kouez|mor|pesketa|skol|yer</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="porzh-mor">Ur <marker>porzh mor</marker> bras eo Brest.</example>
      <example>Ur porzh-mor bras eo Brest.</example>
    </rule>

    <rule id="TORR_PENN" name="torr penn → torr-penn">
      <pattern>
        <token>torr</token>
        <token>penn</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="Torr-penn"><marker>Torr penn</marker> eo an amezeg.</example>
      <example>Torr-penn eo an amezeg.</example>
    </rule>
    <rule id="KAOL_FLEUR" name="kaol fleur → kaol-fleur">
      <pattern>
        <token regexp="yes">([gk]|c’h)aol(enn)?</token>
        <token regexp="yes">bleuñv|bouedek|brignennek|Brusel|fleur|go|kutuilh|moc’h|palmez|pom|saout|stlej|teal</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="Kaol-fleur"><marker>Kaol fleur</marker> am bo.</example>
      <example>Kaol-fleur am bo.</example>
    </rule>
    <rule id="BOUED_MOR" name="boued mor → boued-mor">
      <pattern>
        <token regexp="yes">[bvp]oued</token>
        <token regexp="yes">aod|mor</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="Boued-mor"><marker>Boued mor</marker> am bo gant gwin gwenn.</example>
      <example>Boued-mor am bo gant gwin gwenn.</example>
    </rule>
    <rule id="STEREDENN_DARED" name="steredenn dared → steredenn-dared">
      <pattern>
        <token regexp="yes">stered(enn)?</token>
        <token regexp="yes">dared|lostek|[mv]or</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="steredenn-vor">Ur <marker>steredenn vor</marker></example>
    </rule>
    <rule id="KABELL_TOUSEG" name="kabell touseg → kabell-touseg">
      <pattern>
        <token regexp="yes">([kg]|c’h)[ae]bell|[vbp]oued</token>
        <token>touseg</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="kebell-touseg">Debret em eus <marker>kebell touseg</marker>.</example>
    </rule>
    <rule id="KOUIGN_AMANN" name="kouign amann → kouign-amann">
      <pattern>
        <token regexp="yes">(k|g|c’h)ouign(où)?</token>
        <token regexp="yes">amann|erc’h</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="kouign-amann">Pegen mat eo ho <marker>kouign amann</marker>.</example>
      <example>Pegen mat eo ho kouign-amann.</example>
    </rule>
    <rule id="FOETER_BRO" name="foeter bro → foeter-bro">
      <pattern>
        <token>foeter</token>
        <token>bro</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="foeter-bro">Ur <marker>foeter bro</marker> eo deuet da vezañ.</example>
      <example>Ur foeter-bro eo deuet da vezañ.</example>
    </rule>
    <rule id="LEUN_CHOUK" name="leun chouk → leun-chouk">
      <pattern>
        <token>leun</token>
        <token regexp="yes">barr|chouk|chek|klok|kouch|tenn</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="Leun-chouk"><marker>Leun chouk</marker> eo da valizenn.</example>
      <example>Leun-chouk eo da valizenn.</example>
    </rule>
    <rule id="POD_LASTEZ" name="pod lastez → pod-lastez">
      <pattern>
        <token regexp="yes">pod(où)?</token>
        <token regexp="yes">berver|lastez(où)?|kambr|te</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="pod-lastez">Sell e-barzh er <marker>pod lastez</marker>.</example>
    </rule>
    <rule id="TAN_GWALL" name="tan gwall → tan-gwall">
      <pattern>
        <token regexp="yes">[dt]an(ioù)?</token>
        <token regexp="yes">arvest|gwall|noz</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="tan-gwall">Un <marker>tan gwall</marker></example>
      <example>Un tan-gwall</example>
    </rule>
    <rule id="HARZ_LABOUR" name="harz labour → harz-labour">
      <pattern>
        <token regexp="yes">harz|diskrog</token>
        <token>labour</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="Harz-labour"><marker>Harz labour</marker> a vo</example>
    </rule>
    <rule id="SAL_DEBRIN" name="sal debriñ → sal-debriñ">
      <pattern>
        <token regexp="yes">sal(ioù)?</token>
        <token regexp="yes">debriñ|degemer|dour|gibellañ</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="sal-debriñ">Er <marker>sal debriñ</marker> emaon.</example>
    </rule>
    <rule id="SERR_PRIM" name="serr prim → serr-prim">
      <pattern>
        <token regexp="yes">serr(où)?</token>
        <token regexp="yes">noz|prim</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="Serr-prim"><marker>Serr prim</marker> ma chupenn</example>
    </rule>
    <rulegroup id="MARCHAD_MAD" name="marc’had mat → marc’had-mat">
      <rule>
        <pattern>
          <token regexp="yes">[mv]arc’had</token>
          <token>mat</token>
        </pattern>
        <message>Implijit <suggestion>\1-\2</suggestion>.</message>
        <example correction="Marc’had-mat"><marker>Marc’had mat</marker> eo.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[mv]arc’had</token>
          <token regexp="yes">mat(oc’h|añ)</token>
        </pattern>
        <message>Implijit <suggestion>\1\2</suggestion>.</message>
        <example correction="Marc’hadmatoc’h"><marker>Marc’had matoc’h</marker> eo.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[mv]arc’had-mat(oc’h|añ)</token>
        </pattern>
        <message>Implijit <suggestion><match no="1" regexp_match="-" regexp_replace=""/></suggestion>.</message>
        <example correction="Marc’hadmatoc’h"><marker>Marc’had-matoc’h</marker> eo.</example>
      </rule>
    </rulegroup>
    <rule id="MARCH_HOUARN" name="marc’h houarn → marc’h-houarn">
      <pattern>
        <token regexp="yes">[vm]arc’h(ig)?</token>
        <token regexp="yes">avel|blein|dibr|dor|dre-tan|gevier|houarn|kañv|koad|mor|plouz|raden|red|samm|tan|treut</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="varc’h-houarn">War e <marker>varc’h houarn</marker> ez ae.</example>
    </rule>
    <rule id="PINVIDIK_MOR" name="pinvidik mor → pinvidik-mor">
      <pattern>
        <token regexp="yes">[pb]invidik</token>
        <token>mor</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="Pinvidik-mor"><marker>Pinvidik mor</marker> eo hemañ.</example>
    </rule>
    <rule id="POUEZ_MOUEZH" name="pouez mouezh → pouez-mouezh">
      <pattern>
        <token regexp="yes">[pb]ouez</token>
        <token>mouezh</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="bouez-mouezh">Dudius eo da <marker>bouez mouezh</marker></example>
    </rule>
    <rule id="LEZ_VARN" name="lez varn → lez-varn">
      <pattern>
        <token regexp="yes">lez(ioù)?</token>
        <token regexp="yes">[vb]arn</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="lez-varn">Al <marker>lez varn</marker></example>
    </rule>
    <rule id="END_EEUN" name="end eeun → end-eeun">
      <pattern>
        <token>end</token>
        <token>eeun</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="End-eeun"><marker>End eeun</marker></example>
    </rule>
    <rule id="MONT_DONT" name="mont dont → mont-dont">
      <pattern>
        <token>mont</token>
        <token>dont</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="mont-dont">Ur bilhed <marker>mont dont</marker> evit Naoned.</example>
    </rule>
    <rule id="LABOUR_DOUAR" name="labour douar → labour-douar">
      <pattern>
        <token regexp="yes">labour(er(ien)?)?</token>
        <token>douar</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="labourer-douar">Ul <marker>labourer douar</marker> a oa ma zad.</example>
      <example>Ul labourer-douar a oa ma zad.</example>
    </rule>
    <rule id="LAMM_DOUR" name="lamm dour → lamm-dour">
      <pattern>
        <token regexp="yes">lamm(où)?</token>
        <token>dour</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="lamm-dour">Ul <marker>lamm dour</marker></example>
    </rule>
    <rule id="DERCHENT_DECH" name="derc’hent dec’h → derc’hent-dec’h">
      <pattern>
        <token>derc’hent</token>
        <token>dec’h</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="Derc’hent-dec’h"><marker>Derc’hent dec’h</marker></example>
    </rule>
    <rule id="PENN_DA_BENN" name="penn da benn → penn-da-benn">
      <pattern>
        <token>penn</token>
        <token>da</token>
        <token>benn</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2-\3</suggestion>.</message>
      <example correction="penn-da-benn">Troet <marker>penn da benn</marker></example>
    </rule>
    <rule id="PENN_OUZH_PENN" name="penn ouzh penn → penn-ouzh-penn">
      <pattern>
        <token>penn</token>
        <token>ouzh</token>
        <token>penn</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2-\3</suggestion>.</message>
      <example correction="penn-ouzh-penn">Troet <marker>penn ouzh penn</marker></example>
    </rule>
    <rule id="PENN_SKANV" name="penn skañv → penn-skañv">
      <pattern>
        <token regexp="yes">penn(où)?</token>
        <token>skañv</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="penn-skañv">Hennezh zo ur <marker>penn skañv</marker></example>
    </rule>
    <rule id="DISKAR_AMZER" name="diskar amzer → diskar-amzer">
      <pattern>
        <token>diskar</token>
        <token>amzer</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="diskar-amzer">Deuet eo an <marker>diskar amzer</marker>.</example>
    </rule>
    <rule id="DIBENN_SIZHUN" name="dibenn sizhun → dibenn-sizhun">
      <pattern>
        <token regexp="yes">[dtz]ibenn(où)?</token>
        <token regexp="yes">pred|sizhun</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="zibenn-sizhun">Penaos e oa da <marker>zibenn sizhun</marker>?</example>
    </rule>
    <rulegroup id="A_BEP_SEURT" name="a bep-seurt → a bep seurt">
      <rule>
        <pattern>
          <token>a</token>
          <token>bep-seurt</token>
        </pattern>
        <message>Implijit <suggestion>\1 bep seurt</suggestion>.</message>
        <example correction="A bep seurt"><marker>A bep-seurt</marker></example>
        <example>A bep seurt</example>
      </rule>
      <rule>
        <pattern>
          <token>a-bep</token>
          <token>seurt</token>
        </pattern>
        <message>Implijit <suggestion><match no="1" regexp_match="(.).*" regexp_replace="$1 bep seurt"/></suggestion>.</message>
        <example correction="A bep seurt"><marker>A-bep seurt</marker></example>
        <example>A bep seurt</example>
      </rule>
      <rule>
        <pattern>
          <token>a-bep-seurt</token>
        </pattern>
        <message>Implijit <suggestion><match no="1" regexp_match="(.).*" regexp_replace="$1 bep seurt"/></suggestion>.</message>
        <example correction="A bep seurt"><marker>A-bep-seurt</marker></example>
        <example>A bep seurt</example>
      </rule>
    </rulegroup>
    <rulegroup id="A_VIL_VERN" name="a vil vern → a-vil-vern">
      <rule>
        <pattern>
          <token>a</token>
          <token>vil</token>
          <token>vern</token>
        </pattern>
        <message>Implijit <suggestion>\1-\2-\3</suggestion>.</message>
        <example correction="A-vil-vern"><marker>A vil vern</marker></example>
        <example>A-vil-vern</example>
      </rule>
      <rule>
        <pattern>
          <token>a</token>
          <token>vil-vern</token>
        </pattern>
        <message>Implijit <suggestion>\1-\2</suggestion>.</message>
        <example correction="A-vil-vern"><marker>A vil-vern</marker></example>
        <example>A-vil-vern</example>
      </rule>
      <rule>
        <pattern>
          <token>a-vil</token>
          <token>vern</token>
        </pattern>
        <message>Implijit <suggestion>\1-\2</suggestion>.</message>
        <example correction="A-vil-vern"><marker>A-vil vern</marker></example>
        <example>A-vil-vern</example>
      </rule>
    </rulegroup>
    <rulegroup id="A_HEND_ALL" name="a hend all → a-hend-all">
      <rule>
        <pattern>
          <token>a</token>
          <token>hend</token>
          <token>all</token>
        </pattern>
        <message>Implijit <suggestion>\1-\2-\3</suggestion>.</message>
        <example correction="a-hend-all">N’hallen ket ober <marker>a hend all</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token>a-hend</token>
          <token>all</token>
        </pattern>
        <message>Implijit <suggestion>\1-\2</suggestion>.</message>
        <example correction="a-hend-all">N’hallen ket ober <marker>a-hend all</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token>a</token>
          <token>hend-all</token>
        </pattern>
        <message>Implijit <suggestion>\1-\2</suggestion>.</message>
        <example correction="a-hend-all">N’hallen ket ober <marker>a hend-all</marker>.</example>
      </rule>
    </rulegroup>
    <rule id="TAOL_HEOL" name="taol heol → taol-heol">
      <pattern>
        <token regexp="yes">[tdz]aol(ioù)?</token>
        <token regexp="yes">chañs|esae|gwad|heol|lagad|micher|mouezh|[mv]aen|yud</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="taol-heol">Un <marker>taol heol</marker></example>
      <example>Un taol-heol</example>
    </rule>
    <rule id="SKIANT_PRENET" name="skiant prenet → skiant-prenet">
      <pattern>
        <token>skiant</token>
        <token>prenet</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="skiant-prenet">Ret eo dit tapout <marker>skiant prenet</marker>.</example>
      <example>Ret eo dit tapout skiant-prenet.</example>
    </rule>
    <rulegroup id="DEIZ_HA_BLOAZ" name="deiz ha bloaz → deiz-ha-bloaz">
      <rule>
        <pattern>
          <token regexp="yes">[dtz]eizh?</token>
          <token regexp="yes">h?a</token>
          <token regexp="yes">[bv]loazh?</token>
        </pattern>
        <message>Implijit <suggestion><match no="1" regexp_match="^(.).*" regexp_replace="$1eiz-ha-bloaz"/></suggestion>.</message>
        <example correction="Deiz-ha-bloaz"><marker>Deiz ha bloaz</marker> laouen deoc’h!</example>
        <example>Deiz-ha-bloaz laouen deoc’h!</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[dtz]eizh?-h?a-[bv]loazh?<exception>deiz-ha-bloaz</exception></token>
        </pattern>
        <message>Implijit <suggestion><match no="1" regexp_match="^(.).*" regexp_replace="$1eiz-ha-bloaz"/></suggestion>.</message>
        <example correction="Deiz-ha-bloaz"><marker>Deiz-a-bloaz</marker> laouen deoc’h!</example>
        <example>Deiz-ha-bloaz laouen deoc’h!</example>
      </rule>
    </rulegroup>
    <rulegroup id="NEMETKEN" name="nemet ken → nemetken">
      <rule>
        <pattern>
          <token>nemet</token>
          <token>ken</token>
        </pattern>
        <message>Implijit <suggestion>\1\2</suggestion>.</message>
        <example correction="nemetken">E brezhoneg <marker>nemet ken</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token>nemet-ken</token>
        </pattern>
        <message>Implijit <suggestion>nemetken</suggestion>.</message>
        <example correction="nemetken">E brezhoneg <marker>nemet-ken</marker>.</example>
      </rule>
    </rulegroup>
    <rulegroup id="DREISTORDINAL" name="dreist ordinal → dreistordinal">
      <rule>
        <pattern>
          <token>dreist</token>
          <token>ordinal</token>
        </pattern>
        <message>Implijit <suggestion>\1\2</suggestion>.</message>
        <example correction="dreistordinal">Un dra <marker>dreist ordinal</marker> zo c’hoarvezet.</example>
      </rule>
      <rule>
        <pattern>
          <token>dreist-ordinal</token>
        </pattern>
        <message>Implijit <suggestion>dreistordinal</suggestion>.</message>
        <example correction="dreistordinal">Un dra <marker>dreist-ordinal</marker> zo c’hoarvezet.</example>
      </rule>
    </rulegroup>

    <rulegroup id="MA_ME" name="ma lunedoù me → ma lunedoù-me (hag all)">
      <rule>
        <pattern>
          <token regexp="yes">[mv]a</token>
          <marker>
            <token postag="N.*" postag_regexp="yes"/>
            <token>me</token>
          </marker>
        </pattern>
        <message>Implijit <suggestion>\2-\3</suggestion>.</message>
        <example correction="lunedoù-me">Ma <marker>lunedoù me</marker>.</example>
        <example>Ma lunedoù-me.</example>
      </rule>
      <rule>
        <pattern>
          <token>da</token>
          <marker>
            <token postag="N.*" postag_regexp="yes"/>
            <token>te</token>
          </marker>
        </pattern>
        <message>Implijit <suggestion>\2-\3</suggestion>.</message>
        <example correction="lunedoù-te">Da <marker>lunedoù te</marker>.</example>
        <example>Da lunedoù-te.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">he|hec’h</token>
          <marker>
            <token postag="N.*" postag_regexp="yes"/>
            <token>hi</token>
          </marker>
        </pattern>
        <message>Implijit <suggestion>\2-\3</suggestion>.</message>
        <example correction="lunedoù-hi">He <marker>lunedoù hi</marker>.</example>
        <example>He lunedoù-hi.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">ho[rln]</token>
          <marker>
            <token postag="N.*" postag_regexp="yes"/>
            <token>ni</token>
          </marker>
        </pattern>
        <message>Implijit <suggestion>\2-\3</suggestion>.</message>
        <example correction="lunedoù-ni">Hol <marker>lunedoù ni</marker>.</example>
        <example>Hol lunedoù-ni.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">ho|hoc’h</token>
          <marker>
            <token postag="N.*" postag_regexp="yes"/>
            <token>c’hwi</token>
          </marker>
        </pattern>
        <message>Implijit <suggestion>\2-\3</suggestion>.</message>
        <example correction="lunedoù-c’hwi">Ho <marker>lunedoù c’hwi</marker>.</example>
        <example>Ho lunedoù-c’hwi.</example>
      </rule>
    </rulegroup>
    <rule id="VI_KOUKOUG" name="vi koukoug → vi-koukoug">
      <pattern>
        <token regexp="yes">vi|vioù</token>
        <token>koukoug</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="vi-koukoug">Ur <marker>vi koukoug</marker> en deus graet.</example>
    </rule>
    <rule id="MEMES_TRA" name="memes-tra → memes tra">
      <pattern>
        <token regexp="yes">memes-?tra</token>
      </pattern>
      <message>Implijit <suggestion>memes tra</suggestion>.</message>
      <example correction="memes tra">N’eo ket diaes <marker>memes-tra</marker>.</example>
      <example correction="memes tra">N’eo ket diaes <marker>memestra</marker>.</example>
    </rule>
    <rule id="A_ZEU" name="a-zeu → a zeu">
      <pattern>
        <token>a-zeu</token>
      </pattern>
      <message>Implijit <suggestion>a zeu</suggestion>.</message>
      <example correction="a zeu">An hañv <marker>a-zeu</marker>.</example>
    </rule>
    <rule id="RAK_SE" name="rak se → rak-se">
      <pattern>
        <token>rak</token>
        <token>se</token>
      </pattern>
      <message>Implijit <suggestion>rak-se</suggestion>. (CHALM Q3)</message>
      <example correction="Rak-se"><marker>Rak se</marker></example>
    </rule>
    <rule id="ALL" name="en tu-all → en tu all (hag all)">
      <pattern>
        <!-- Exception "hend-all" avoids double error in *a hend-all* already
             detected by rule A_HEND_ALL -->
        <token regexp="yes">.*-(all|bennak(et)?)<exception regexp="yes">([kg]emend|c’hemend|a-hend|hend|mod)-all</exception></token>
      </pattern>
      <message>Implijit <suggestion><match no="1" regexp_match="(.*)-([^-]*)" regexp_replace="$1 $2"/></suggestion>.</message>
      <example correction="tu all">En <marker>tu-all</marker></example>
      <example>En tu all</example>
      <example>Biskoazh kemend-all!</example>
      <example correction="dra bennak">Un <marker>dra-bennak</marker>.</example>
      <example>Un dra bennak.</example>
    </rule>
    <rule id="DRE_GANT" name="dre gant → dre-gant">
      <pattern>
        <token postag="K . .*" postag_regexp="yes"/>
        <marker>
          <token>dre</token>
          <token>gant</token>
        </marker>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion>\2-\3</suggestion>?</message>
      <example correction="dre-gant">Daou <marker>dre gant</marker>.</example>
      <example>Daou dre-gant.</example>
    </rule>
    <rulegroup id="DIOUZHTU" name="diouzh-tu → diouzhtu">
      <rule>
        <pattern>
          <token>diouzh-tu</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>diouzhtu</suggestion>?</message>
        <example correction="Diouzhtu"><marker>Diouzh-tu</marker>!</example>
        <example>Diouzhtu!</example>
      </rule>
    </rulegroup>
    <rule id="ABER_ACH" name="Aber Ac’h → Aber-Ac’h">
      <pattern>
        <token>Aber</token>
        <token>Ac’h</token>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion>Aber-Ac’h</suggestion>?</message>
      <url>https://br.wikipedia.org/wiki/Aber-Ac'h</url>
      <example correction="Aber-Ac’h">An <marker>Aber Ac’h</marker> a zo ur stêr.</example>
      <example>An Aber-Ac’h a zo ur stêr.</example>
    </rule>
    <rule id="ABER_ILDUD" name="Aber Ildud → Aber-Ildud">
      <pattern>
        <token>Aber</token>
        <token regexp="yes">Ildu[dt]</token>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion>Aber-Ildud</suggestion>?</message>
      <url>https://br.wikipedia.org/wiki/Aber-Ildud</url>
      <example correction="Aber-Ildud">An <marker>Aber Ildud</marker> a zo ur stêr eus Bro-Leon.</example>
      <example>An Aber-Ildud a zo ur stêr eus Bro-Leon.</example>
    </rule>
    <rule id="PONT_DOUR" name="pont dour → pont-dour">
      <pattern>
        <token regexp="yes">[bp]ont(où)?</token>
        <token regexp="yes">diri|dour|gwalc’hiñ|gwint|gwinteiz|gwinter|gwinteris|kanol|karr|kazh|orjal|skourr|tro</token>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion>\1-\2</suggestion>?</message>
      <example correction="pont-dour">Ur <marker>pont dour</marker> gant ur skluz.</example>
      <example>Ur pont-dour gant ur skluz.</example>
    </rule>
  </category>

  <category id="RUMM_ARAOGENN" name="Araogenn">
    <rulegroup id="GOULENN_DA" name="Goulenn da → goulenn ouzh/gant/digant">
      <rule>
        <pattern>
          <token inflected="yes" postag="V.*" postag_regexp="yes">goulenn</token>
          <marker>
            <token inflected="yes" regexp="yes">da’?</token>
          </marker>
        </pattern>
        <message>Ne vez ket implijet an araogenn «da» gant ar verb «\1».</message>
        <example correction="">Goulenn <marker>d’</marker>ar mestr-skol.</example>
        <example>Goulenn ouzh ar mestr-skol.</example>
        <example>Kasit ho koulennoù deomp.</example>
      </rule>
      <rule>
        <pattern>
          <token inflected="yes" regexp="yes">goulenn|gwelout|klevout</token>
          <token>ket</token>
          <marker>
            <token inflected="yes" regexp="yes">da’?</token>
          </marker>
        </pattern>
        <message>Ne vez ket implijet an araogenn «da» gant ar verb «\1».</message>
        <example correction="">Ne c’houlennin ket <marker>dezhi</marker> penaos ober.</example>
        <example>Ne c’houlennin ket diganti penaos ober.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">galven|gelver|gervel|goulenn|gwelout|klevout</token>
          <token>a</token>
          <token inflected="yes">ober</token>
          <marker>
            <token inflected="yes" regexp="yes">da’?</token>
          </marker>
        </pattern>
        <message>Ne vez ket implijet an araogenn «da» gant ar verb «\1».</message>
        <example correction="">Goulenn a rin <marker>dezho</marker> penaos ober.</example>
        <example correction="">Goulenn a rin <marker>da’</marker>m zad.</example>
        <example>Goulenn a rin diganto penaos ober.</example>
        <example>Goulenn a rin digant ma zad.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">galvet|goulennet|gwelet|klevet</token>
          <token regexp="yes">e[mn]|ez|ac’h|hon?|hoc’h|o</token>
          <token regexp="yes">[dp]eus|[bpd]oa</token>
          <marker>
            <token inflected="yes" regexp="yes">da’?</token>
          </marker>
        </pattern>
        <message>Ne vez ket implijet an araogenn «da» gant ar verb «\1».</message>
        <example correction="">Goulennet en deus <marker>din</marker>.</example>
        <example>Goulennet en eus diganin.</example>
      </rule>
    </rulegroup>
    <rulegroup id="DA_A" name="da → a">
      <rule>
        <pattern>
          <token regexp="yes">lavaret|pellgomzet|poket|telefonet|skrivet</token>
          <token regexp="yes">e[mn]|ez|he|ac’h|hon?|hoc’h|o</token>
          <token regexp="yes">[dp]eus|[bpd]oa</token>
          <marker>
            <token regexp="yes">ac’han(on|out|omp|oc’h)|anezh(añ|[ioe])</token>
          </marker>
        </pattern>
        <message>Ne vez ket implijet an araogenn «\4» gant ar verb «\1». Implijit «din/dit…»</message>
        <example correction="">Pellgomzet en deus <marker>ac’hanon</marker>.</example>
        <example>Pellgomzet en deus <marker>din</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token inflected="yes" regexp="yes">lavarout|pellgomz|pokat|telefonañ|skrivañ</token>
          <token>a</token>
          <token inflected="yes">ober</token>
          <marker>
            <token regexp="yes">ac’han(on|out|omp|oc’h)|anezh(añ|[ioe])</token>
          </marker>
        </pattern>
        <message>Ne vez ket implijet an araogenn «\4» gant ar verb «\1». Implijit «din/dit…»</message>
        <example correction="">Pellgomz a rin <marker>ac’hanout</marker>.</example>
        <example>Pellgomz a rin <marker>dit</marker>.</example>
      </rule>
    </rulegroup>
    <rule id="DIGAREZIT_DIN" name="Digarezit din → Digarezit ac’hanon">
      <pattern>
        <token regexp="yes">digarez(it)?<exception scope="previous">un</exception></token>
        <marker>
          <token inflected="yes">da</token>
        </marker>
      </pattern>
      <message>Ne vez ket implijet an araogenn «da» gant ar verb «\1».</message>
      <example correction="">Digarezit <marker>dimp</marker></example>
      <example>Digarezit ac’hanomp</example>
      <example>Un digarez da ziskouez Breizh.</example>
    </rule>
    <rule id="A_RAOK_DA" name="Digarezit din → Digarezit ac’hanon">
      <pattern>
        <token regexp="yes">a-raok|evit</token>
        <marker>
          <token>da</token>
        </marker>
        <token postag="V inf.*" postag_regexp="yes"/>
      </pattern>
      <message>Ne vez ket implijet an araogenn «da» goude «\1».</message>
      <example correction="">A-raok <marker>da</marker> vont</example>
      <example>A-raok mont</example>
    </rule>
    <rulegroup id="BET_DA" name="Bet on da Vrest → Bet on e Brest">
      <rule>
        <pattern>
          <token>bet</token>
          <token inflected="yes">bezañ</token>
          <marker>
            <token>da</token>
          </marker>
          <token postag="Z[^:]* top.*" postag_regexp="yes" regexp="yes">[^aeiou].*</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>e</suggestion>?</message>
        <example correction="e">Bet out <marker>da</marker> Bariz c’hoazh?</example>
        <example>Bet out e Pariz c’hoazh?</example>
      </rule>
      <rule>
        <pattern>
          <token>bet</token>
          <token inflected="yes">bezañ</token>
          <marker>
            <token>da</token>
          </marker>
          <token postag="Z[^:]* top.*" postag_regexp="yes" regexp="yes">[aeiou].*</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>en</suggestion>?</message>
        <example correction="en">Bet out <marker>da</marker> Iwerzhon c’hoazh?</example>
        <example>Bet out en Iwerzhon c’hoazh?</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token>da</token>
          </marker>
          <token postag="Z[^:]* top.*" postag_regexp="yes" regexp="yes">[^aeiou].*</token>
          <token inflected="yes">bezañ</token>
          <token>bet</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>e</suggestion>?</message>
        <example correction="E"><marker>Da</marker> Vrest on bet dec’h.</example>
        <example>E Brest on bet dec’h.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token>da</token>
          </marker>
          <token postag="Z[^:]* top.*" postag_regexp="yes" regexp="yes">[aeiou].*</token>
          <token inflected="yes">bezañ</token>
          <token>bet</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>en</suggestion>?</message>
        <example correction="En"><marker>Da</marker> Izelvroioù on bet.</example>
        <example>En Izelvroioù on bet.</example>
      </rule>
      <rule>
        <pattern>
          <token inflected="yes">bezañ</token>
          <token>bet</token>
          <marker>
            <token>da</token>
          </marker>
          <token postag="Z[^:]* top.*" postag_regexp="yes" regexp="yes">[^aeiou].*</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>en</suggestion>?</message>
        <example correction="en">Me zo bet <marker>da</marker> Gemper.</example>
        <example>Me zo bet e Kemper.</example>
        <example>Ret e oa bet da Fañch lavarout ar wirionez.</example>
      </rule>
      <rule>
        <pattern>
          <token inflected="yes">bezañ</token>
          <token>bet</token>
          <marker>
            <token>da</token>
          </marker>
          <token postag="Z[^:]* top.*" postag_regexp="yes" regexp="yes">[aeiou].*</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>en</suggestion>?</message>
        <example correction="en">Te zo bet <marker>da</marker> Iwerzhon c’hoazh?</example>
        <example>Te zo bet en Iwerzhon c’hoazh?</example>
      </rule>
      <rule>
        <pattern>
          <token>bet</token>
          <token inflected="yes">bezañ</token>
          <marker>
            <token>da</token>
          </marker>
          <token postag="V inf( M.*:4:.*)?" postag_regexp="yes"/>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o</suggestion>?</message>
        <example correction="o">Bet on <marker>da</marker> welout ma zad.</example>
      </rule>
    </rulegroup>

    <rulegroup id="E_KICHEN_ME" name="e-kichen me → em c’hichen">
      <rule>
        <pattern>
          <token>e-kichen</token>
          <token regexp="yes">me|ac’hanon</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>em c’hichen</suggestion>?</message>
        <example correction="Em c’hichen"><marker>E-kichen me</marker> e oa.</example>
        <example correction="Em c’hichen"><marker>E-kichen ac’hanon</marker> e oa.</example>
        <example>Em c’hichen e oa.</example>
      </rule>
      <rule>
        <pattern>
          <token>e-kichen</token>
          <token regexp="yes">te|ac’hanout</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>ez kichen</suggestion>?</message>
        <example correction="Ez kichen"><marker>E-kichen te</marker> e oa.</example>
        <example correction="Ez kichen"><marker>E-kichen ac’hanout</marker> e oa.</example>
        <example>Ez kichen e oa.</example>
      </rule>
      <rule>
        <pattern>
          <token>e-kichen</token>
          <token regexp="yes">eñ|anezhañ</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>en e gichen</suggestion>?</message>
        <example correction="En e gichen"><marker>E-kichen anezhañ</marker> e oa.</example>
        <example>En e gichen e oa.</example>
      </rule>
      <rule>
        <pattern>
          <token>e-kichen</token>
          <token regexp="yes">hi|anezhi</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>en he c’hichen</suggestion>?</message>
        <example correction="En he c’hichen"><marker>E-kichen hi</marker> e oa.</example>
        <example correction="En he c’hichen"><marker>E-kichen anezhi</marker> e oa.</example>
        <example>En he c’hichen e oa.</example>
        <example>War ar maez e-kichen he feunteun.</example>
      </rule>
      <rule>
        <pattern>
          <token>e-kichen</token>
          <token regexp="yes">ni|ac’hanomp</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>en hor c’hichen</suggestion>?</message>
        <example correction="En hor c’hichen"><marker>E-kichen ni</marker> e oa.</example>
        <example correction="En hor c’hichen"><marker>E-kichen ac’hanomp</marker> e oa.</example>
        <example>En hor c’hichen e oa.</example>
      </rule>
      <rule>
        <pattern>
          <token>e-kichen</token>
          <token regexp="yes">c’hwi|ac’hanoc’h</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>en ho kichen</suggestion>?</message>
        <example correction="En ho kichen"><marker>E-kichen c’hwi</marker> e oa.</example>
        <example correction="En ho kichen"><marker>E-kichen ac’hanoc’h</marker> e oa.</example>
        <example>En ho kichen e oa.</example>
      </rule>
      <rule>
        <pattern>
          <token>e-kichen</token>
          <token regexp="yes">i|int|anezh[oe]</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>en o c’hichen</suggestion>?</message>
        <example correction="En o c’hichen"><marker>E-kichen int</marker> e oa.</example>
        <example correction="En o c’hichen"><marker>E-kichen anezho</marker> e oa.</example>
        <example>En o c’hichen e oa.</example>
      </rule>
    </rulegroup>

    <rule id="EVIT_DILUN" name="evit dilun → a-benn dilun">
      <pattern>
        <marker>
          <token>evit</token>
        </marker>
        <token regexp="yes">dilun|dimeurzh|dimerc’her|diriaou|digwener|disadorn|disul|w?arc’hoazh|pegoulz|pedavare|pavare|peur</token>
      </pattern>
      <message>Ne vez ket implijet an araogenn «evit» a-raok ar ger «\2». Ha fellout a rae deoc’h skrivañ <suggestion>a-benn</suggestion>?</message>
      <example correction="a-benn">Prest e vo <marker>evit</marker> dilun.</example>
      <example>Prest e vo a-benn dilun.</example>
    </rule>

    <rule id="LEVR_EUS" name="levr eus → levr gant">
      <pattern>
        <token regexp="yes">levr(ioù)|levrig(où)?|([dtz]anevell|film|romant)(ig)?(où)?|[bfp]ezh(ioù)?-c’hoari</token>
        <marker>
          <token>eus</token>
        </marker>
        <token postag_regexp="yes" postag="Z . . ant" regexp="yes">\p{Lu}.*</token>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion>gant</suggestion>?</message>
      <example correction="gant">Ur film <marker>eus</marker> Jacques Tati.</example>
      <example>Ur film gant Jacques Tati.</example>
    </rule>

    <rulegroup id="DIN_DA" name="posupl eo din da">
      <rule>
        <pattern>
          <token regexp="yes" skip="1">arabat|dañjerus|dav|difennet|koulz|gwelloc’h|mat|poent|posupl|ret</token>
          <token>eo</token>
          <marker>
            <token>da</token>
            <token postag="V inf.*" postag_regexp="yes"/>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>\4</suggestion>?</message>
        <example correction="zebriñ">Arabat eo <marker>da zebriñ</marker>.</example>
        <example>Arabat eo debriñ.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes" skip="1">arabat|dañjerus|dav|difennet|koulz|gwelloc’h|mat|poent|posupl|ret</token>
          <token>eo</token>
          <marker>
            <token inflected="yes" regexp="yes" postag="P e . .*" postag_regexp="yes">da|gant</token>
            <token>da</token>
            <token postag="V inf.*" postag_regexp="yes"/>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>\3 \5</suggestion>?</message>
        <example correction="din chom">Posupl eo <marker>din da chom</marker>?</example>
        <example>Posupl eo din chom?</example>
        <example correction="dit mont">Poent bras eo <marker>dit da mont</marker> kuit.</example>
        <example>Poent bras eo dit mont kuit.</example>
        <example correction="ganin mont">Gwelloc’h eo <marker>ganin da mont</marker> mont.</example>
        <example>Gwelloc’h eo ganin mont kuit.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes" skip="1">arabat|dañjerus|dav|koulz|gwelloc’h|mat|poent|posupl|ret</token>
          <token>e</token>
          <token regexp="yes">oa|voe?|vefe|vije</token>
          <marker>
            <token inflected="yes" regexp="yes" postag="P e . .*" postag_regexp="yes">da|gant</token>
            <token>da</token>
            <token postag="V inf.*" postag_regexp="yes"/>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>\4 \6</suggestion>?</message>
        <example correction="din chom">Posupl e oa <marker>din da chom</marker>?</example>
        <example>Posupl e oa din chom?</example>
        <example correction="dit mont">Poent bras e oa <marker>dit da mont</marker> kuit.</example>
        <example>Poent bras e oa dit mont kuit.</example>
        <example correction="ganin mont">Gwelloc’h e vefe <marker>ganin da mont</marker> kuit.</example>
        <example>Gwelloc’h e vefe ganin mont kuit.</example>
      </rule>
    </rulegroup>

  </category>

  <category id="RUMM_DOUARONIEZH" name="Douaroniezh">
    <rulegroup id="DEPARTAMANT" name="Departament">
      <rule>
        <pattern case_sensitive="yes">
          <token regexp="yes">Morbihan|Mor-bihan</token>
        </pattern>
        <message>Implijit <suggestion>Mor-Bihan</suggestion>.</message>
        <example correction="Mor-Bihan">Komzet e vez brezhoneg er <marker>Morbihan</marker>.</example>
      </rule>
      <rule>
        <pattern case_sensitive="yes">
          <token>Mor</token>
          <token>Bihan</token>
        </pattern>
        <message>Implijit <suggestion>Mor-Bihan</suggestion>.</message>
        <example correction="Mor-Bihan">Komzet e vez brezhoneg e <marker>Mor Bihan</marker>.</example>
      </rule>
      <rule>
        <pattern case_sensitive="yes">
          <token regexp="yes">Penn-Ar-Bed|Finist[eè]re</token>
        </pattern>
        <message>Implijit <suggestion>Penn-ar-Bed</suggestion>.</message>
        <example correction="Penn-ar-Bed">Komzet e vez brezhoneg e <marker>Penn-Ar-Bed</marker>.</example>
      </rule>
      <rule>
        <pattern case_sensitive="yes">
          <token regexp="yes">Il-Ha-Gwilen|Ile-[Ee]t-Vilaine</token>
        </pattern>
        <message>Implijit <suggestion>Il-ha-Gwilen</suggestion>.</message>
        <example correction="Il-ha-Gwilen">Komzet e vez brezhoneg e <marker>Il-Ha-Gwilen</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">Ile?</token>
          <token regexp="yes">et|ha</token>
          <token regexp="yes">Vilaine|Gwilen</token>
        </pattern>
        <message>Implijit <suggestion>Il-ha-Gwilen</suggestion>.</message>
        <example correction="Il-ha-Gwilen">Komzet e vez brezhoneg en <marker>Il ha Gwilen</marker>.</example>
      </rule>
      <rule>
        <pattern case_sensitive="yes">
          <token>Penn</token>
          <token regexp="yes">[Aa]r</token>
          <token>Bed</token>
        </pattern>
        <message>Implijit <suggestion>Penn-ar-Bed</suggestion>.</message>
        <example correction="Penn-ar-Bed">Komzet e vez brezhoneg e <marker>Penn ar Bed</marker>.</example>
      </rule>
      <rule>
        <pattern case_sensitive="yes">
          <token regexp="yes">[Cc][oôt]es-[Dd]’[Aa]rmor|Aodoù-An-Arvor</token>
        </pattern>
        <message>Implijit <suggestion>Aodoù-an-Arvor</suggestion>.</message>
        <example correction="Aodoù-an-Arvor">Komzet e vez brezhoneg en <marker>Aodoù-An-Arvor</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">c[oô]tes|aodoù</token>
          <token regexp="yes">d’|an</token>
          <token regexp="yes">ar[mV]or</token>
        </pattern>
        <message>Implijit <suggestion>Aodoù-an-Arvor</suggestion>.</message>
        <example correction="Aodoù-an-Arvor">Komzet e vez brezhoneg en <marker>Aodoù an Arvor</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token>Loire-Atlantique</token>
        </pattern>
        <message>Implijit <suggestion>Liger-Atlantel</suggestion>.</message>
        <example correction="Liger-Atlantel">Komzet e vez brezhoneg e <marker>Loire-Atlantique</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token>Loire</token>
          <token>Atlantique</token>
        </pattern>
        <message>Implijit <suggestion>Liger-Atlantel</suggestion>.</message>
        <example correction="Liger-Atlantel">Komzet e vez brezhoneg e <marker>Loire Atlantique</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token>Liger</token>
          <token>Atlantel</token>
        </pattern>
        <message>Implijit <suggestion>Liger-Atlantel</suggestion>.</message>
        <example correction="Liger-Atlantel">Komzet e vez brezhoneg e <marker>Liger Atlantel</marker>.</example>
      </rule>
    </rulegroup>
    <rule id="ROSTRENN" name="Rostrenn → Rostrenenn">
      <pattern>
        <token regexp="yes">Rostrenn?|Rostrenen</token>
      </pattern>
      <message>Gwelloc’h eo skrivañ <suggestion>Rostrenenn</suggestion>.</message>
      <example correction="Rostrenenn"><marker>Rostrenn</marker> zo ur gumun e departamant Aodoù-an-Arvor.</example>
      <example>Rostrenenn zo ur gumun e departamant Aodoù-an-Arvor.</example>
    </rule>
    <rule id="BRO" name="Broioù">
      <pattern>
        <token regexp="yes">[BVP]ro</token>
        <token regexp="yes">Alamagn|Amerika|Aostralia|C’hall|Dreger|Friz|Gembre|Gerne|Iwerzhon|Japan|Leon|Naoned|Raez|Roazhon|Saoz|Sant-Brieg|Sant-Maloù|Skos|Spagn|Suis|Ulad|Wened</token>
      </pattern>
      <message>Implijit <suggestion><match no="1" case_conversion="startupper"/>-<match no="2" case_conversion="startupper"/></suggestion>.</message>
      <example correction="Bro-Amerika">Labour a ra e <marker>Bro Amerika</marker>.</example>
    </rule>

    <rule id="C_HASTELL_NEVEZ" name="C’hastell Nevez → C’hastell-Nevez">
      <pattern case_sensitive="yes">
        <token regexp="yes">([GK]|C’h)astell</token>
        <token regexp="yes">Bourc’h|Briant|Geron|Nevez|Noez|Paol|Tepaod</token>
      </pattern>
      <message>Implijit <suggestion>\1-\2</suggestion>.</message>
      <example correction="Kastell-Nevez">E <marker>Kastell Nevez</marker> emaon o chom.</example>
      <example>E Kastell-Nevez emaon o chom.</example>
    </rule>

  </category>

  <category id="RUMM_A_BEP_SEURT" name="A bep seurt">
    <rule id="PENNLIZH_AR" name="Pennlizer eber gant ar/al/an">
      <pattern case_sensitive="yes">
        <token regexp="yes">\p{Lu}.*</token>
        <marker>
          <token regexp="yes">A[rln]<exception scope="previous">-</exception></token>
        </marker>
        <token regexp="yes">\p{Lu}.*<exception regexp="yes">Liamm|Here</exception></token>
      </pattern>
      <message>Pennlizherenn ebet e gerioù-mell an anvioù divoutin pa vezont e-kreiz ul lavarenn. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" case_conversion="alllower"/></suggestion>?</message>
      <example correction="ar">Kantonioù <marker>Ar</marker> C’hastell-Nevez</example>
      <example>Kantonioù ar C’hastell-Nevez</example>
      <example>An Oriant a zo pell ac’hann.</example>
      <example>Ar geriadur An Here.</example>
    </rule>
    <rule id="PEBEZH" name="Pebezh">
      <pattern>
        <marker><token>pebezh</token></marker>
        <token><exception postag_regexp="yes" postag="N.*"/></token>
      </pattern>
      <message>«\1» a lakaer dirak un anv. Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="(.).*" regexp_replace="$1egen"/></suggestion>? (CHALM G2)</message>
      <example correction="Pegen"><marker>Pebezh</marker> brav!</example>
      <example>Pebezh paotr!</example>
    </rule>
    <rule id="PEGEN" name="Pegen">
      <pattern>
        <marker><token>Pegen</token></marker>
        <token><exception postag_regexp="yes" postag="[AJ].*|V ppa|UNKNOWN"/></token>
      </pattern>
      <message>«\1» a lakaer dirak un anv-gwan pe un adverb. Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="(.).*" regexp_replace="$1ebezh"/></suggestion>? (CHALM G2)</message>
      <example correction="Pebezh"><marker>Pegen</marker> paotr!</example>
      <example>Pegen brav!</example>
      <example>Pegen nec’het e oan.</example>
    </rule>
    <rule id="V_VIMP_NA" name="Sellit na kaer → Sellit na pegen kaer">
      <pattern>
        <token postag="SENT_START"/>
        <token postag="V impe .*" postag_regexp="yes"/>
        <marker><token>na</token></marker>
        <token postag="J"/>
      </pattern>
      <message>Implijit <suggestion>pegen</suggestion> pe <suggestion>na pegen</suggestion> goude an doare gourc’hemenn «\2». (CHALM V2.2.4)</message>
      <example correction="pegen|na pegen">Sellit <marker>na</marker> kaer eo!</example>
      <example>Sellit na pegen kaer eo!</example>
      <example>Sellit pegen kaer eo!</example>
    </rule>
    <rule id="PENLIZH_MIZ" name="Pennlizherennoù evit ar mizioù">
      <pattern case_sensitive="yes">
        <token inflected="yes">miz</token>
        <marker>
          <token regexp="yes">genver|c’hwevrer|meurzh|ebrel|mae|even|mezheven|gouere|gouhere|eost|gwengolo|here|du|kerdu|kerzu</token>
        </marker>
      </pattern>
      <message>Lakaet e vez ur bennlizherenn da anvioù ar mizioù. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" case_conversion="startupper"/></suggestion>? (CHALM A17)</message>
      <example correction="Du">E miz <marker>du</marker>, teñval ha du.</example>
      <example>E miz Du, teñval ha du.</example>
    </rule>
    <rulegroup id="PENLIZH_DEIZ" name="Pennlizherennoù d’an deizioù">
      <rule>
        <pattern case_sensitive="yes">
          <token regexp="yes">(?:lun|merc’her|yaou|gwener|sadorn|sul)(?:-(?:mañ|se))?</token>
        </pattern>
        <message>Lakaet e vez ur bennlizherenn da anvioù an deizioù. Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" case_conversion="startupper"/></suggestion>? (CHALM A17)</message>
        <example correction="Sul">Ar <marker>sul</marker> zo hiziv.</example>
        <example>Ar Sul zo hiziv.</example>
        <example correction="Gwener-se">Petra en doa graet d’ar <marker>gwener-se</marker>?</example>
        <example>Petra en doa graet d’ar Gwener-se?</example>
      </rule>
      <rule>
        <pattern case_sensitive="yes">
          <token regexp="yes">meurzh(?:-(?:mañ|se))?<exception scope="previous">miz</exception></token>
        </pattern>
        <message>Lakaet e vez ur bennlizherenn da anvioù an deizioù. Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" case_conversion="startupper"/></suggestion>? (CHALM A17)</message>
        <example correction="Meurzh">Ar <marker>meurzh</marker> zo hiziv.</example>
        <example>Ar Meurzh zo hiziv.</example>
      </rule>
      <rule>
        <pattern>
          <token negate_pos="yes" postag="SENT_START"/>
          <marker><token regexp="yes">(?-i)Dilun|Dimeurzh|Dimerc’her|Diriaou|Digwener|Disadorn|Disul</token></marker>
        </pattern>
        <message>Ne vez ket implijet ur bennlizherenn gant a deizioù a grog gant di. Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" case_conversion="startlower"/></suggestion>? (CHAML A17)</message>
        <example correction="dilun">Mont a rin <marker>Dilun</marker>.</example>
        <example>Dilun e oa.</example>
      </rule>
    </rulegroup>
    <rulegroup id="DEIZ" name="deiz">
      <rule>
        <pattern>
          <token regexp="yes">dilun|dimeurzh|dimerc’her|diriaou|digwener|disadorn|disul</token>
          <token>a</token>
          <token>zeu</token>
        </pattern>
        <message>Un adverb eo ar ger «\1» e brezhoneg. Ha fellout a rae deoc’h neuze skrivañ <suggestion>\1</suggestion> hep «a zeu»?</message>
        <example correction="dilun">Mont a rin <marker>dilun a zeu</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">dilun|dimeurzh|dimerc’her|diriaou|digwener|disadorn|disul</token>
          <token>tremenet</token>
        </pattern>
        <message>Un adverb eo ar ger «\1» e brezhoneg. Ha fellout a rae deoc’h neuze skrivañ <suggestion>\1</suggestion> hep «tremenet»?</message>
        <example correction="dilun">Deuet eo <marker>dilun tremenet</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">an|da</token>
          <token regexp="yes">dimeurzh|dimerc’her|diriaou|digwener|disadorn|disul</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>ar <match no="2" case_conversion="startupper" regexp_match="..(.*)" regexp_replace="$1"/></suggestion>?</message>
        <example correction="ar Sadorn">Mont a ran d’ar skol d’<marker>an disadorn</marker>.</example>
        <example>Mont a ran d’ar skol d’ar Sadorn.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">an|da</token>
          <token>dilun</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>al Lun</suggestion>?</message>
        <example correction="al Lun">Mont a ran d’ar skol d’<marker>an dilun</marker>.</example>
        <example>Mont a ran d’ar skol d’al Lun.</example>
      </rule>
      <rule>
        <pattern>
          <token>bep</token>
          <marker>
            <token regexp="yes">dilun|dimeurzh|dimerc’her|diriaou|digwener|disadorn|disul</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" case_conversion="startupper" regexp_match="..(.*)" regexp_replace="$1"/></suggestion>?</message>
        <example correction="Sadorn">Bep <marker>disadorn</marker> ez an e kêr.</example>
        <example>Bep Sadorn ez an e kêr.</example>
      </rule>
    </rulegroup>

    <rulegroup id="LIES" name="lies">
      <rule>
        <pattern>
          <token postag="K.* [^o]( M:.*)?" postag_regexp="yes">
            <exception>gant</exception>
          </token>
          <marker>
            <token postag="N . p.*" postag_regexp="yes">
              <exception postag="N . s.*" postag_regexp="yes"/>
            </token>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur stumm lies «\2» goude un niver.</message>
        <example correction="">Daou <marker>baotred</marker></example>
        <example>Daou baotr</example>
        <example>Gant yezhadurourien</example>
        <example>Daou geloù</example>
        <example>Ken ar c’hentañ mignoned.</example>
        <example>Ar c’hentañ studiadennoù.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">pe[tp]|u[lnr]</token>
          <marker>
            <token postag="N . p.*" postag_regexp="yes">
              <exception postag="N . s.*" postag_regexp="yes"/>
              <exception>legumaj</exception>
            </token>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur stumm lies «\2» goude ar ger «\1». (CHALM F3.1)</message>
        <example correction="">Pet <marker>tud</marker> a zo chomet?</example>
        <example>Pet den a zo chomet?</example>
        <example correction="">Tapet en deus ul <marker>logod</marker>.</example>
        <example>Tapet en deus ul logodenn.</example>
        <example>Ul legumaj.</example>
        <example>Ur geriennoù bennak.</example>
      </rule>
      <rule>
        <pattern>
          <token>pet</token>
          <token>a</token>
          <marker>
            <token postag="N . s.*" postag_regexp="yes"/>
          </marker>
        </pattern>
        <message>An anv goude «\1 \2» a zlefe bezañ el liester.</message>
        <example correction="">Pet a <marker>den</marker></example>
        <example>Pet a dud</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token postag="N . p.*" postag_regexp="yes">
              <exception postag="N . s.*" postag_regexp="yes"/>
            </token>
          </marker>
          <token>ebet</token>
        </pattern>
        <message>Ne zlefe ket bezañ ur stumm lies «\1» dirak ar ger «\2». (CHALM R1.7.1)</message>
        <example correction="">N’eus <marker>tud</marker> ebet.</example>
        <example>N’eus den ebet.</example>
      </rule>
      <rule>
        <pattern>
          <token>meur</token>
          <token>a</token>
          <marker>
            <token postag="N . p.*" postag_regexp="yes">
              <exception postag="N . s.*" postag_regexp="yes"/>
            </token>
          </marker>
        </pattern>
        <message>Ne zlefe ket bezañ ur stumm lies goude «\1 \2». (CHALM R1.4.1)</message>
        <example correction="">Meur a <marker>dud</marker> a chomo.</example>
        <example>Meur a zen a chomo.</example>
        <example>Meur a geloù</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token postag="N . p.*" postag_regexp="yes">
              <exception postag="N . s.*" postag_regexp="yes"/>
            </token>
          </marker>
          <token regexp="yes">bennak(et)?</token>
        </pattern>
        <message>Ne zlefe ket bezañ ur stumm lies a-raok ar ger «bennak». (CHALM R2.3)</message>
        <example correction=""><marker>Traoù</marker> bennak</example>
        <example>Un dra bennak</example>
      </rule>
    </rulegroup>
    <rule id="NEP" name="nep + unander">
      <pattern>
        <token>nep</token>
        <marker>
          <token postag="N . p.*" postag_regexp="yes">
            <exception postag="N . s.*" postag_regexp="yes"/>
          </token>
        </marker>
      </pattern>
      <message>Ne zlefe ket bezañ ur stumm lies goude ar ger «nep». (CHALM R2.4)</message>
      <example correction="">Du-hont ne gresk nep <marker>gwez</marker>.</example>
      <example>Du-hont ne gresk nep gwezenn.</example>
    </rule>
    <rulegroup id="AR_BENNAK" name="ar + bennak">
      <rule>
        <pattern>
          <marker><token regexp="yes">a[lrn]</token></marker>
          <token postag="N . s.*" postag_regexp="yes"/>
          <token regexp="yes">bennak(et)?</token>
        </pattern>
        <message>Ne c’hell «bennak» bezañ lakaet nemet war-lerc’h un anv gant ar ger-mell amstrizh dirazañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="^." regexp_replace="u"/></suggestion>? (CHALM R2.3)</message>
        <example correction="Un"><marker>An</marker> dra bennak.</example>
      </rule>
      <rule>
        <pattern>
          <marker><token regexp="yes">a[lrn]</token></marker>
          <token regexp="yes">banne|tamm</token>
          <token postag="N . s.*" postag_regexp="yes"/>
          <token regexp="yes">bennak(et)?</token>
        </pattern>
        <message>Ne c’hell «\4» bezañ lakaet nemet war-lerc’h un anv gant ar ger-mell amstrizh dirazañ. Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="^." regexp_replace="u"/></suggestion>? (CHALM R2.3)</message>
        <example correction="Ur"><marker>Ar</marker> banne dour bennak.</example>
        <example><marker>ur</marker> banne dour bennak.</example>
      </rule>
    </rulegroup>

    <rulegroup id="HE_HEC_H" name="he, hec’h">
      <rule>
        <pattern>
          <marker><token regexp="yes">h[eo]</token></marker>
          <token regexp="yes">[aeiou].*</token>
        </pattern>
        <message>Gwelloc’h eo skrivañ <suggestion><match no="1" regexp_match="$" regexp_replace="c’h"/></suggestion> dirak ur ger a grog gant ur vogalenn. (CHALM N)</message>
        <example correction="hec’h">Deuet eo <marker>he</marker> amezeg.</example>
        <example>Deuet eo hec’h amezeg.</example>
      </rule>
      <rule>
        <pattern>
          <marker><token regexp="yes">h[eo]c’h</token></marker>
          <token regexp="yes">[^aeiouh].*</token>
        </pattern>
        <message>Ret eo skrivañ <suggestion><match no="1" regexp_match="...$" regexp_replace=""/></suggestion> dirak ur ger na grog ket gant ur vogalenn.</message>
        <example correction="He"><marker>Hec’h</marker> c’hoar.</example>
        <example>He c’hoar.</example>
        <example>Hec’h anv.</example>
        <example>E fin ar gont e kavo hec’h hent.</example>
      </rule>
      <rule>
        <pattern>
          <marker><token regexp="yes">h[eo]-unan(ik)?(-penn)?</token></marker>
        </pattern>
        <message>Ret eo skrivañ <suggestion><match no="1" regexp_match="^(..)" regexp_replace="$1c’h"/></suggestion>.</message>
        <example correction="Hec’h-unan"><marker>He-unan</marker>.</example>
      </rule>
    </rulegroup>
    <rulegroup id="HA_HAG" name="ha, hag">
      <rule>
        <pattern>
          <marker>
            <token>ha</token>
          </marker>
          <token regexp="yes">[aeiou].*</token>
        </pattern>
        <message>Ret eo skrivañ <suggestion>hag</suggestion> dirak ur ger a grog gant ur vogalenn.</message>
        <example correction="hag">Kozh <marker>ha</marker> uhel eo an iliz.</example>
        <example>Kozh hag uhel eo an iliz.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token>hag</token>
          </marker>
          <token regexp="yes">[bcdfgjklmnprstvwyz].*<exception regexp="yes">(?-i)Yves</exception></token>
        </pattern>
        <message>Ar ger «\1» a zlefe bezañ <suggestion>ha</suggestion> dirak ur ger a grog gant ur gensonenn.</message>
        <example correction="ha">Brav <marker>hag</marker> fin eo.</example>
        <example>Brav ha fin eo.</example>
        <example>Naig hag Yves.</example>
      </rule>
    </rulegroup>
    <rule id="DAM" name="da + ma = da’m">
      <pattern>
        <token>da</token>
        <token>ma</token>
      </pattern>
      <message>Gwelloc’h eo skrivañ <suggestion>\1’m</suggestion>.</message>
      <example correction="da’m">Lavaret em eus <marker>da ma</marker> zad.</example>
      <example>Lavaret em eus da’m zad.</example>
    </rule>
    <rule id="DAZ" name="da + da = da’z">
      <pattern>
        <token>da</token>
        <token>da</token>
      </pattern>
      <message>Gwelloc’h eo skrivañ <suggestion>\1’z</suggestion>.</message>
      <example correction="da’z">Lavaret em eus <marker>da da</marker> dad.</example>
      <example>Lavaret em eus da’z tad.</example>
    </rule>
    <rule id="EL_EN_ER" name="en + al = el (hag all)">
      <pattern>
        <token regexp="yes">en?</token>
        <token regexp="yes">a[lrn]</token>
      </pattern>
      <message>Ret eo skrivañ <suggestion><match no="1" regexp_match="^(.).?" regexp_replace="$1"/><match no="2" regexp_match="^." regexp_replace=""/></suggestion>. (CHALM L6)</message>
      <example correction="En"><marker>En an</marker> armel.</example>
      <example correction="El"><marker>En al</marker> levraoueg.</example>
      <example correction="Er"><marker>E ar</marker> gêr.</example>
    </rule>
    <rule id="EM" name="e + ma = em">
      <pattern>
        <token>e</token>
        <token>ma</token>
      </pattern>
      <message>Ret eo skrivañ <suggestion>em</suggestion>. (CHALM N1.2)</message>
      <example correction="Em"><marker>E ma</marker> c’harr-tan emañ.</example>
    </rule>
    <rule id="EZ" name="e + da = ez">
      <pattern>
        <token>e</token>
        <token>da</token>
      </pattern>
      <message>Ret eo skrivañ <suggestion>en da</suggestion> pe <suggestion>ez</suggestion>. (CHALM N1.2)</message>
      <example correction="en da|ez">Poan az peus <marker>e da</marker> dreid?</example>
      <example>Poan az peus ez treid?</example>
    </rule>
    <rulegroup id="TAMM_BANNE" name="tamm pe banne">
      <rule>
        <pattern>
          <marker>
            <token regexp="yes">tamm(ig)?</token>
          </marker>
          <token regexp="yes">avel|bier|chistr|chouchenn|chug(-.*)?|dour|digor-kalon|eoul|glav|gouloù|gwin|heol|kafe|laezh(-ribod)?|lambig|sistr|soubenn</token>
        </pattern>
        <message>Implijit <suggestion>banne</suggestion> dirak an evajoù.</message>
        <example correction="banne">Un <marker>tamm</marker> kafe tomm am bo.</example>
        <example>Ur banne kafe tomm am bo.</example>
        <example>Ur banne soubenn domm am bo.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token regexp="yes">(banne|lomm)(ig)?</token>
          </marker>
          <token regexp="yes">amanenn|bara|boued|frouezh|koad|kig|geot|sukr</token>
        </pattern>
        <message>Implijit <suggestion>tamm</suggestion>.</message>
        <example correction="tamm">Ur <marker>banne</marker> bara am bo.</example>
        <example>Un tamm bara am bo.</example>
      </rule>
    </rulegroup>
    <rulegroup id="EK_EG" name="brezhonek ha brezhoneg (hag all)">
      <rule>
        <pattern>
          <token inflected="yes" regexp="yes">(abadenn|c’hoariva|film|kantik|levr|embannadur|kanaouenn|keloù|krennlavar|musik|pladenn|romant?|sonerezh|skrid)(ig)?</token>
          <marker>
            <token regexp="yes">alamaneg|albaneg|arabeg|belaruseg|brezhoneg|daneg|esperanteg|euskareg|finneg|frizeg|galizeg|gallaoueg|galleg|gouezeleg|islandeg|italianeg|iwerzhoneg|katalaneg|kembraeg|kerneveureg|korseg|lojbaneg|manaveg|nederlandeg|norveveg|okitaneg|poloneg|portugaleg|roumaneg|ruseg|rusianeg|saozneg|sardeg|skoseg|skoteg|skovakeg|sorabeg|spagnoleg|svedeg|tchekeg|turkeg|ukraineg</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="g$" regexp_replace="k"/></suggestion>?</message>
        <example correction="brezhonek">Ul levr <marker>brezhoneg</marker> eo.</example>
        <example>Ul levr brezhonek eo.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">a[nr]</token>
          <marker>
            <token regexp="yes">alamanek|albanek|arabek|belarusek|brezhonek|danek|esperantek|euskarek|finnek|frizek|galizek|gallaouek|gallek|gouezelek|islandek|italianek|iwerzhonek|c’hatalanek|c’hembraek|c’herneveurek|c’horsek|lojbanek|manavek|nederlandek|norvevek|okitanek|polonek|portugalek|roumanek|rusek|rusianek|saoznek|sardek|skosek|skotek|slovakek|sorabek|spagnolek|svedek|tchekek|turkek|ukrainek</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="k$" regexp_replace="g"/></suggestion>?</message>
        <example correction="brezhoneg">Ar <marker>brezhonek</marker> a zo ur yezh keltiek.</example>
        <example>Ar brezhoneg a zo ur yezh keltiek.</example>
      </rule>
    </rulegroup>
    <rulegroup id="ENO_DI" name="eno, di">
      <rule>
        <pattern>
          <token inflected="yes">mont</token>
          <marker>
            <token>eno</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>di</suggestion> goude ur verb evel «\1»?</message>
        <example correction="di">C’hoant am eus da vont <marker>eno</marker>.</example>
        <example>C’hoant am eus da vont di.</example>
      </rule>
      <rule>
        <pattern>
          <token>mont</token>
          <token>a</token>
          <token inflected="yes">ober</token>
          <marker>
            <token>eno</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>di</suggestion> goude ur verb evel «\1»?</message>
        <example correction="di">Mont a ran <marker>eno</marker>.</example>
        <example>Mont a ran di.</example>
      </rule>
      <rule>
        <pattern>
          <token inflected="yes">chom</token>
          <marker>
            <token>di</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>eno</suggestion> goude ur verb evel «\1»?</message>
        <example correction="eno">C’hoant am eus da chom <marker>di</marker>.</example>
        <example>C’hoant am eus da chom eno.</example>
      </rule>
    </rulegroup>

    <rulegroup id="RE_A" name="re, re a">
      <rule>
        <pattern>
          <token>re</token>
          <token postag="N .*p.*" postag_regexp="yes">
            <exception postag="J.*" postag_regexp="yes"/>
            <exception regexp="yes">[ao]</exception>
          </token>
        </pattern>
        <message>«\1 a» a implijer dirak un anv. Ha fellout a rae deoc’h skrivañ <suggestion>\1 a \2</suggestion>?</message>
        <example correction="Re a dud"><marker>Re dud</marker> zo.</example>
        <example>Re a dud zo.</example>
        <example>Re vihan eo.</example>
      </rule>
      <rule>
        <pattern>
          <token>re<exception scope="previous" regexp="yes">ar|holl</exception></token>
          <token>a</token>
          <token postag="J.*" postag_regexp="yes">
            <exception postag="N.*" postag_regexp="yes"/>
          </token>
        </pattern>
        <message>«Re» hep «a» a implijer dirak un anv-gwan. Ha fellout a rae deoc’h skrivañ <suggestion>\1 \3</suggestion>?</message>
        <example correction="Re vras"><marker>Re a vras</marker> eo.</example>
        <example>Re vras eo.</example>
        <example>Re a drouz zo.</example>
        <example>Ar re a gar al lennegezh</example>
        <example>An holl re a fell dezho gwellaat o brezhoneg.</example>
      </rule>
    </rulegroup>

    <rulegroup id="AN_HINI_MAN" name="an hini-mañ → hemañ, homañ">
      <rule>
        <pattern>
          <token>an</token>
          <token>hini-mañ</token>
        </pattern>
        <message>Troidigezh-rik diwar ar galleg, direizh-krenn. Ha fellout a rae deoc’h skrivañ <suggestion>hemañ</suggestion> pe <suggestion>homañ</suggestion>? (CHALM Q5)</message>
        <example correction="hemañ|homañ">Gwelet ez peus <marker>an hini-mañ</marker>?</example>
        <example>Gwelet ez peus hemañ?</example>
      </rule>
      <rule>
        <pattern>
          <token>an</token>
          <token>hini-se</token>
        </pattern>
        <message>Troidigezh-rik diwar ar galleg, direizh-krenn. Ha fellout a rae deoc’h skrivañ <suggestion>hennezh</suggestion> pe <suggestion>honnezh</suggestion>? (CHALM Q5)</message>
        <example correction="hennezh|honnezh">Gwelet ez peus <marker>an hini-se</marker>?</example>
        <example>Gwelet ez peus hennezh?</example>
      </rule>
      <rule>
        <pattern>
          <token>an</token>
          <token>hini-hont</token>
        </pattern>
        <message>Troidigezh-rik diwar ar galleg, direizh-krenn. Ha fellout a rae deoc’h skrivañ <suggestion>henhont</suggestion> pe <suggestion>honhont</suggestion>? (CHALM Q5)</message>
        <example correction="henhont|honhont">Gwelet ez peus <marker>an hini-hont</marker>?</example>
        <example>Gwelet ez peus henhont?</example>
      </rule>
    </rulegroup>
    <rulegroup id="GOUZOUT_MA" name="N’ouzon ket ma → N’ouzon ket ha">
      <rule>
        <pattern>
          <token inflected="yes" regexp="yes">gouzout|goût</token>
          <token>ket</token>
          <marker>
            <token>ma</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>ha</suggestion>, pe <suggestion>hag-eñ e</suggestion>, pe <suggestion>daoust hag-eñ e</suggestion>?</message>
        <example correction="ha|hag-eñ e|daoust hag-eñ e">N’ouzon ket <marker>ma</marker> komprenez.</example>
        <example>N’ouzon ket ha kompren a rez.</example>
        <example>N’ouzon ket hag-eñ e komprenez.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">gouzout|goût</token>
          <token>a</token>
          <token regexp="yes" inflected="yes">ober|gouzout</token>
          <marker>
            <token>ma</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>ha</suggestion>, pe <suggestion>hag-eñ e</suggestion>, pe <suggestion>daoust hag-eñ e</suggestion>?</message>
        <example correction="ha|hag-eñ e|daoust hag-eñ e">Gouzout a rez <marker>ma</marker> e vo digor?</example>
        <example correction="ha|hag-eñ e|daoust hag-eñ e">Gouzout a ouzout <marker>ma</marker> e vo digor?</example>
        <example>Gouzout a rez hag-eñ e vo digor?</example>
        <example>Gouzout a ouzout hag-eñ e vo digor?</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">gouzout|goût</token>
          <marker>
            <token>ma</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>ha</suggestion>, pe <suggestion>hag-eñ e</suggestion>, pe <suggestion>daoust hag-eñ e</suggestion>?</message>
        <example correction="ha|hag-eñ e|daoust hag-eñ e">Ne oa ket posupl goût <marker>ma</marker> oa kinniget.</example>
        <example>Ne oa ket posupl goût hag eñ e oa kinniget.</example>
      </rule>
    </rulegroup>

    <rulegroup id="HAG_EN" name="hag eñ → hag-eñ">
      <rule>
        <pattern>
          <token inflected="yes" regexp="yes">gouzout|goût</token>
          <token>ket</token>
          <marker>
            <token>hag</token>
            <token regexp="yes">e[ñn]</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>hag-eñ</suggestion>?</message>
        <example correction="hag-eñ">N’ouzon ket <marker>hag eñ</marker> e komprenez.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">gouzout|goût</token>
          <token>a</token>
          <token regexp="yes" inflected="yes">ober|gouzout</token>
          <marker>
            <token>hag</token>
            <token regexp="yes">e[ñn]</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>hag-eñ</suggestion>?</message>
        <example correction="hag-eñ">Gouzout a rez <marker>hag eñ</marker> e komprenez.</example>
        <example correction="hag-eñ">Gouzout a ouzout <marker>hag eñ</marker> e komprenez.</example>
        <example>Gouzout a rez hag-eñ e komprenez.</example>
        <example>Gouzout a ouzout hag-eñ e komprenez.</example>
      </rule>
    </rulegroup>

    <rulegroup id="EN_A" name="en a → eñ a">
      <rule>
        <pattern>
          <token postag="SENT_START"/>
          <marker>
            <token>en</token>
          </marker>
          <token>a</token>
          <token postag="V \S* 3 s.*" postag_regexp="yes"/>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>Eñ</suggestion>?</message>
        <example correction="Eñ"><marker>En</marker> a oar penaos ober.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">hag?|rak</token>
          <marker>
            <token>en</token>
          </marker>
          <token>a</token>
          <token postag="V \S* 3 s.*" postag_regexp="yes"/>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>eñ</suggestion>?</message>
        <example correction="eñ">Rak <marker>en</marker> a oar penaos ober.</example>
      </rule>
    </rulegroup>

    <rulegroup id="AR_BREIZH" name="Ar Breizh → Breizh">
      <rule>
        <pattern case_sensitive="yes">
          <marker>
            <token regexp="yes">[aAeE][nr]</token>
          </marker>
          <token regexp="yes">Bro-C’hall|Bro-Saoz|Kreiz-Breizh|Breizh(-(Izel|Uhel))?|Kembre|Kernev</token>
        </pattern>
        <message>Ne vez ket implijet ar gerioù-mell dirak anvioù ar broioù.</message>
        <example correction="">Brav eo <marker>ar</marker> Breizh.</example>
        <example>Brav eo Breizh.</example>
        <example>Bras eo ar Stadoù-Unanet.</example>
      </rule>
      <rule>
        <pattern case_sensitive="yes">
          <marker>
            <token regexp="yes">[aA]n</token>
          </marker>
          <token regexp="yes">Afrika|Iwerzhon</token>
        </pattern>
        <message>Ne vez ket implijet ar gerioù-mell dirak anvioù ar broioù.</message>
        <example correction=""><marker>An</marker> Afrika a zo bras.</example>
        <example>Afrika a zo bras.</example>
        <example>En Afrika emañ o chom.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token regexp="yes">a[rl]</token>
          </marker>
          <token regexp="yes">dijuni|lein|adlein|merenn|adverenn|[kg]oan</token>
        </pattern>
        <message>Ne vez ket implijet ar ger-mell dirak anvioù ar predoù.</message>
        <example correction="">Prest eo <marker>al</marker> lein.</example>
        <example>Prest eo lein.</example>
      </rule>
    </rulegroup>

    <rulegroup id="ABAOE_LEC_H" name="Abaoe Brest → Adalek Brest">
      <rule>
        <pattern>
          <marker>
            <token>abaoe</token>
          </marker>
          <token postag_regexp="yes" postag="Z[^:]* top.*"/>
        </pattern>
        <message>«\1» a vez implijet gant an amzer hepken. Ha fellout a rae deoc’h skrivañ <suggestion>adalek</suggestion>?</message>
        <example correction="Adalek"><marker>Abaoe</marker> Brest e oa erc’h war an hent.</example>
        <example>Adalek Brest e oa erc’h war an hent.</example>
        <example>Abaoe Louis Bonaparte (1806-1810)</example>
      </rule>
    </rulegroup>

    <rulegroup id="NEBEUT_NEBEUD" name="un nebeut → un nebeud">
      <rule>
        <pattern>
          <token regexp="yes">[ua]n</token>
          <marker>
            <token>nebeut</token>
          </marker>
        </pattern>
        <message>Skrivet e vez <suggestion>nebeud</suggestion> gant d dibenn pa vez un anv. (CHALM R1.5.1)</message>
        <example correction="nebeud">Un <marker>nebeut</marker> tud</example>
        <example>Un nebeud tud</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[au]n</token>
          <marker>
            <token regexp="yes">nebeud(ig)?</token>
            <token>a</token>
          </marker>
          <token postag="N.*" postag_regexp="yes"/>
        </pattern>
        <message>«\2» a rank bezañ implijet hep «\3». Ha fellout a rae deoc’h skrivañ <suggestion>\2</suggestion>? (CHALM R1.5.1)</message>
        <example correction="nebeud">Un <marker>nebeud a</marker> levrioù am eus.</example>
        <example>Un nebeud levrioù am eus.</example>
      </rule>
    </rulegroup>

    <rulegroup id="GER_DOUBLET" name="Ger doublet">
      <rule>
        <pattern>
          <token regexp="yes">\p{L}+<exception postag="SENT_START"/><exception regexp="yes">ez|zo|ya|nann|eus</exception></token>
          <token spacebefore="yes"><exception postag="J.*" postag_regexp="yes"/><match no="0"/></token>
        </pattern>
        <message>Ger doublet «\1 \2». Ha fellout a rae deoc’h skrivañ <suggestion>\1</suggestion>?</message>
        <example correction="emañ">Pelec’h <marker>emañ emañ</marker> an ti-gar?</example>
        <example>N’eo ket fur-fur.</example>
        <example>Perak ez ez kuit?</example>
        <example>Tud zo zo e vakañsoù.</example>
        <example>Ya ya m’ho peus c’hoant.</example>
      </rule>
      <rule>
        <pattern>
          <token>eus
            <exception scope="previous">ez</exception>
            <exception postag="X KAOUT2"/>
          </token>
          <token>eus</token>
        </pattern>
        <message>Ger doublet «\1 \2». Ha fellout a rae deoc’h skrivañ <suggestion>\1</suggestion>?</message>
        <example correction="Eus"><marker>Eus eus</marker> Brest e oa.</example>
        <example>Bez’ ez eus eus Breizh</example>
        <example>Soñj am eus eus da vouezh.</example>
        <example>Soñj ’m eus eus da vouezh.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">\p{L}+<exception postag="SENT_START"/></token>
          <token spacebefore="yes" postag="J.*" postag_regexp="yes"><match no="0"/></token>
        </pattern>
        <message>Ger doublet «\1 \2». Ha fellout a rae deoc’h skrivañ <suggestion>\1</suggestion> pe gant ur varrennig-stagañ <suggestion>\1-\2</suggestion>?</message>
        <example correction="Brav|Brav-brav"><marker>Brav brav</marker> eo an ti.</example>
        <example>Brav-brav eo an ti.</example>
      </rule>
    </rulegroup>

    <rule id="MA_EZ_EUS" name="ma ez eus → ma’z eus">
      <pattern>
        <marker>
          <token>ma</token>
          <token>ez</token>
        </marker>
        <token>eus</token>
      </pattern>
      <message>Ret eo skrivañ <suggestion>\1’z eus</suggestion>.</message>
      <example correction="Ma’z eus"><marker>Ma ez</marker> eus ur gudenn</example>
      <example>Ma’z eus ur gudenn</example>
    </rule>
    <rule id="MAZ_EO" name="maz eo → ma’z eo">
      <pattern>
        <token>maz</token>
        <token regexp="yes">eo|eus</token>
      </pattern>
      <message>Ret eo skrivañ <suggestion><match no="1" regexp_match=".$" regexp_replace=""/>’z \2</suggestion>.</message>
      <example correction="Ma’z eo"><marker>Maz eo</marker> mat deoc’h</example>
    </rule>
    <rulegroup id="SETU_ACHANONON" name="setu ac’hanon → setu-me">
      <rule>
        <pattern>
          <token>setu</token>
          <token>ac’hanon</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>\1-me</suggestion>?</message>
        <example correction="Setu-me"><marker>Setu ac’hanon</marker></example>
      </rule>
      <rule>
        <pattern>
          <token>setu</token>
          <token>ac’hanout</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>\1-te</suggestion>?</message>
        <example correction="Setu-te"><marker>Setu ac’hanout</marker></example>
      </rule>
      <rule>
        <pattern>
          <token>setu</token>
          <token>ac’hanomp</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>\1-ni</suggestion>?</message>
        <example correction="Setu-ni"><marker>Setu ac’hanomp</marker></example>
      </rule>
    </rulegroup>

    <rulegroup id="TOST_EUS" name="tost eus → tost da">
      <rule>
        <pattern>
          <token inflected="yes" skip="1">tost</token>
          <marker>
            <token>eus</token>
          </marker>
          <token regexp="yes">[aeiouh].*</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>d’</suggestion>?</message>
        <example correction="d’">Tost a-walc’h <marker>eus</marker> an tan.</example>
        <example correction="d’">Tost <marker>eus</marker> an tan.</example>
        <example>Tost a-walc’h d’an tan.</example>
        <example>Tost d’an tan.</example>
      </rule>
      <rule>
        <pattern>
          <token inflected="yes" skip="1">tost</token>
          <marker>
            <token>eus</token>
          </marker>
          <token negate="yes" regexp="yes">[aeiouh].*</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>da</suggestion>?</message>
        <example correction="da">Tost <marker>eus</marker> nav eur.</example>
        <example correction="da">Tost-bras <marker>eus</marker> nav eur.</example>
        <example>Tost da nav eur.</example>
        <example>Tost-bras da nav eur.</example>
      </rule>
    </rulegroup>
    <rule id="MEUR_AL" name="meur al → meur a">
      <pattern>
        <token>meur</token>
        <token regexp="yes">a[lrn]</token>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion>\1 a</suggestion>?</message>
      <example correction="Meur a"><marker>Meur al</marker> levr en deus.</example>
      <example>Meur a levr en deus.</example>
    </rule>
    <rulegroup id="UR_MIZ_ZO" name="ur miz zo → miz zo">
      <rule>
        <pattern>
          <token>ur</token>
          <token regexp="yes">bloaz|miz</token>
          <token>zo</token>
        </pattern>
        <message>Ger-mell ebet dirak «\2» pa vez lakaet dirak «\3» da ziskouez pad un amzer aet hebiou. Ha fellout a rae deoc’h skrivañ <suggestion>\2 \3</suggestion>? (CHALM L7)</message>
        <example correction="Miz zo"><marker>Ur miz zo</marker> e oa aet kuit.</example>
        <example>Miz zo e oa aet kuit.</example>
      </rule>
      <rule>
        <pattern>
          <token>ur</token>
          <token regexp="yes">bloaz|miz</token>
          <token inflected="yes">a</token>
          <token>zo</token>
        </pattern>
        <message>Ger-mell ebet dirak «\2» pa vez lakaet dirak «\4» da ziskouez pad un amzer aet hebiou. Ha fellout a rae deoc’h skrivañ <suggestion>\4</suggestion>? (CHALM L7)</message>
        <example correction="Zo"><marker>Ur miz ’zo</marker> e oa aet kuit.</example>
        <example>Miz zo e oa aet kuit.</example>
      </rule>
    </rulegroup>

    <rule id="N_TRE" name="anv + tre">
      <pattern>
        <token postag="N.*" postag_regexp="yes"><exception postag="[VJ].*" postag_regexp="yes"/></token>
        <marker>
          <token>tre</token>
        </marker>
      </pattern>
      <message>Ne vez ket implijet «tre» war-lerc’h un anv.</message>
      <example correction="">Poan <marker>tre</marker> am eus.</example>
      <example>Poan vras am eus.</example>
    </rule>

    <rulegroup id="EBET" name="ebet">
      <rule>
        <pattern>
          <token inflected="yes">ne</token>
          <token postag="V.*" postag_regexp="yes"/>
          <marker>
            <token>ket</token>
          </marker>
          <token postag="N.*" postag_regexp="yes"><exception regexp="yes">gwech|mann|tamm</exception></token>
          <token>ebet</token>
        </pattern>
        <message>Ne vez ket implijet «ket» gant «ebet». (CHALM E4.1)</message>
        <example correction="">Ne welan <marker>ket</marker> den ebet.</example>
        <example>Ne welan den ebet.</example>
        <example correction="">N’eus <marker>ket</marker> boued ebet.</example>
        <example>N’eus tamm boued ebet.</example>
        <example>N’eo ket tamm ebet.</example>
      </rule>
      <rule>
        <pattern>
          <token inflected="yes">ne</token>
          <token postag="V.*" postag_regexp="yes"/>
          <marker>
            <token regexp="yes">avel|bier|chistr|chouchenn|chug(-.*)?|dour|digor-kalon|eoul|glav|gouloù|gwin|heol|kafe|laezh(-ribod)?|lambig|sistr|soubenn</token>
            <token>ebet</token>
          </marker>
        </pattern>
        <message>Ret eo implijout <suggestion>banne \3 \4</suggestion> gant ur ger hollek «\3» a-raok ar ger «\4».</message>
        <example correction="banne avel ebet">N’eus <marker>avel ebet</marker>.</example>
        <example>N’eus banne avel ebet. (CHALM R1.7.1)</example>
      </rule>
      <rule>
        <pattern>
          <token inflected="yes">ne</token>
          <token postag="V.*" postag_regexp="yes"/>
          <marker>
            <token regexp="yes">amanenn|bara|boued|frouezh|koad|kig|geot|sukr</token>
            <token>ebet</token>
          </marker>
        </pattern>
        <message>Ret eo implijout <suggestion>tamm \3 \4</suggestion> gant ur ger hollek «\3» a-raok ar ger «\4».</message>
        <example correction="tamm frouezh ebet">Ne zebran <marker>frouezh ebet</marker>.</example>
        <example>Ne zebran tamm frouezh ebet. (CHALM R1.7.1)</example>
      </rule>
    </rulegroup>
    <rulegroup id="KET_NEMEUR" name="ket + nemeur">
      <rule>
        <pattern>
          <token inflected="yes">ne</token>
          <token postag="V.*" postag_regexp="yes"/>
          <token>nemeur</token>
          <token>a</token>
        </pattern>
        <message>Ret eo implijout «ket» gant «nemeur». Ha fellout a rae deoc’h skrivañ <suggestion>\1\2 ket \3 \4</suggestion>? (CHALM E4.4)</message>
        <example correction="N’eus ket nemeur a"><marker>N’eus nemeur a</marker> girri.</example>
        <example>N’eus ket nemeur a girri.</example>
      </rule>
    </rulegroup>
    <rule id="HOLL_MA" name="holl ma → ma holl">
      <pattern>
        <marker>
          <token>holl</token>
          <token regexp="yes">[mvd]a|e|he|hec’h|ho[nrl]?|o</token>
        </marker>
        <token postag="N . p.*" postag_regexp="yes"/>
      </pattern>
      <message>Gallekadur: e brezhoneg e lakaer «\1» etre ar ger-perc’hennañ «\2» hag an dra berc’hennet «\3». Ha fellout a rae deoc’h skrivañ <suggestion>\2 holl</suggestion>?</message>
      <example correction="Ma holl"><marker>Holl ma</marker> levrioù</example>
      <example>Ma holl levrioù</example>
    </rule>
    <rulegroup id="KET_EBET" name="n’eus ket kudenn → n’eus ket kudenn ebet.">
      <rule>
        <pattern>
          <token inflected="yes">ne</token>
          <token inflected="yes">bezañ</token>
          <marker>
            <token>ket</token>
            <token>kudenn</token>
          </marker>
        </pattern>
        <message>Ret eo ober gant «ebet» evit an anvioù niveradus. Ha fellout a rae deoc’h skrivañ <suggestion>\4 ebet</suggestion>?</message>
        <example correction="kudenn ebet">N’eus <marker>ket kudenn</marker>.</example>
        <example>N’eus kudenn ebet.</example>
        <example correction="kudenn ebet">Ne vo <marker>ket kudenn</marker>.</example>
        <example correction="kudenn ebet">Ne oa <marker>ket kudenn</marker>.</example>
        <example>Ne vo kudenn ebet.</example>
      </rule>
    </rulegroup>
    <rule id="EVEL_BOAZ" name="evel boas → evel boaz">
      <pattern>
        <token>evel</token>
        <marker>
          <token>boas</token>
        </marker>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion>boaz</suggestion>?</message>
      <example correction="boaz">Un abadenn blijus evel <marker>boas</marker>.</example>
      <example>Un abadenn blijus evel boaz.</example>
    </rule>

    <rulegroup id="EVEL_EGET" name="evel → eget">
      <rule>
        <pattern>
          <token postag="J cmp" skip="1"><exception scope="next">,</exception></token>
          <marker>
            <token>evel</token>
          </marker>
          <token><exception>boaz</exception></token>
        </pattern>
        <message>Ret eo implijout ar stagell <suggestion>eget</suggestion>.</message>
        <example correction="eget">Brasoc’h eo <marker>evel</marker> ma breur.</example>
        <example>Brasoc’h eo eget ma breur.</example>
        <example>Pa vin brasoc’h e vin pomper evel tadig.</example>
        <example>Ha rannet eo ar bladenn etre tonioù pop nerzhus ha re all siouloc’h, <marker>evel</marker> m’eo bet graet gant ar strollad abaoe e grouidigezh.</example>
        <example>Gwelloc’h eo ober <marker>evel</marker> ma vefe erru gant ar bajenn-se.</example>
        <example>Deuet int abretoc’h evel boaz.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="J cmp" skip="3"/>
          <marker>
            <token inflected="yes">evel
              <exception>evel</exception>
            </token>
          </marker>
        </pattern>
        <message>Ret eo implijout ar stagell <suggestion><match no="2" regexp_match="evel" regexp_replace="ege"/></suggestion>.</message>
        <example correction="egedout">Brasoc’h eo <marker>eveldout</marker>.</example>
        <example>Brasoc’h eo egedout.</example>
      </rule>
    </rulegroup>

    <rule id="RENK_RANK" name="a renk bezañ → a rank bezañ">
      <pattern>
        <token>a</token>
        <marker>
          <token>renk</token>
        </marker>
        <token postag="V inf"/>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion>rank</suggestion>?</message>
      <example correction="rank">An dour a <marker>renk</marker> bezañ yen.</example>
      <example>An dour a rank bezañ yen.</example>
    </rule>

    <rulegroup id="KEN_HA" name="ken bras eget → ken bras ha">
      <rule>
        <pattern>
          <token>ken</token>
          <token postag="J.*" postag_regexp="yes"/>
          <marker>
            <token>eget</token>
          </marker>
          <token regexp="yes">[aeiouh].*</token>
        </pattern>
        <message>Implijit <suggestion>hag</suggestion> evit an derez-kevatal.</message>
        <example correction="hag">Ken melen <marker>eget</marker> aour</example>
        <example>Ken melen hag aour</example>
      </rule>
      <rule>
        <pattern>
          <token>ken</token>
          <token postag="J.*" postag_regexp="yes"/>
          <marker>
            <token>eget</token>
          </marker>
          <token regexp="yes">[^aeiouh].*</token>
        </pattern>
        <message>Implijit <suggestion>ha</suggestion> evit an derez-kevatal.</message>
        <example correction="ha">Ken ruz <marker>eget</marker> gwad</example>
        <example>Ken ruz ha gwad</example>
      </rule>
      <rule>
        <pattern>
          <token>ken</token>
          <token postag="J.*" postag_regexp="yes"/>
          <marker>
            <token>egedon</token>
          </marker>
        </pattern>
        <message>Implijit <suggestion>ha me</suggestion> evit an derez-kevatal.</message>
        <example correction="ha me">Ken bras <marker>egedon</marker></example>
        <example>Ken bras ha me</example>
      </rule>
      <rule>
        <pattern>
          <token>ken</token>
          <token postag="J.*" postag_regexp="yes"/>
          <marker>
            <token>egedout</token>
          </marker>
        </pattern>
        <message>Implijit <suggestion>ha te</suggestion> evit an derez-kevatal.</message>
        <example correction="ha te">Ken bras <marker>egedout</marker></example>
        <example>Ken bras ha te</example>
      </rule>
      <rule>
        <pattern>
          <token>ken</token>
          <token postag="J.*" postag_regexp="yes"/>
          <marker>
            <token>egetañ</token>
          </marker>
        </pattern>
        <message>Implijit <suggestion>hag eñ</suggestion> evit an derez-kevatal.</message>
        <example correction="hag eñ">Ken bras <marker>egetañ</marker></example>
        <example>Ken bras hag eñ</example>
      </rule>
      <rule>
        <pattern>
          <token>ken</token>
          <token postag="J.*" postag_regexp="yes"/>
          <marker>
            <token>egeti</token>
          </marker>
        </pattern>
        <message>Implijit <suggestion>hag eñ</suggestion> evit an derez-kevatal.</message>
        <example correction="hag eñ">Ken bras <marker>egeti</marker></example>
        <example>Ken bras hag hi</example>
      </rule>
      <rule>
        <pattern>
          <token>ken</token>
          <token postag="J.*" postag_regexp="yes"/>
          <marker>
            <token>egedomp</token>
          </marker>
        </pattern>
        <message>Implijit <suggestion>hag eñ</suggestion> evit an derez-kevatal.</message>
        <example correction="hag eñ">Ken bras <marker>egedomp</marker></example>
        <example>Ken bras ha ni</example>
      </rule>
      <rule>
        <pattern>
          <token>ken</token>
          <token postag="J.*" postag_regexp="yes"/>
          <marker>
            <token>egedoc’h</token>
          </marker>
        </pattern>
        <message>Implijit <suggestion>ha c’hwi</suggestion> evit an derez-kevatal.</message>
        <example correction="ha c’hwi">Ken bras <marker>egedoc’h</marker></example>
        <example>Ken bras ha c’hwi</example>
      </rule>
      <rule>
        <pattern>
          <token>ken</token>
          <token postag="J.*" postag_regexp="yes"/>
          <marker>
            <token regexp="yes">eget[eo]</token>
          </marker>
        </pattern>
        <message>Implijit <suggestion>hag int</suggestion> evit an derez-kevatal.</message>
        <example correction="hag int">Ken bras <marker>egeto</marker></example>
        <example>Ken bras hag int</example>
      </rule>
    </rulegroup>

    <rulegroup id="MEMES_HA" name="memes eget → memes ha">
      <rule>
        <pattern>
          <token>memes</token>
          <token postag="N.*" postag_regexp="yes"/>
          <marker>
            <token regexp="yes">eget|evel</token>
          </marker>
          <token regexp="yes">[aeiouh].*</token>
        </pattern>
        <message>Gant <suggestion>hag</suggestion> e vez merket a c’heñveriañ dre gevatalder.</message>
        <example correction="hag">Diwar ar memes patrom <marker>eget</marker> ar stummadur 6 miz.</example>
      </rule>
      <rule>
        <pattern>
          <token>memes</token>
          <token postag="N.*" postag_regexp="yes"/>
          <marker>
            <token regexp="yes">eget|evel</token>
          </marker>
          <token regexp="yes">[^aeiouh].*</token>
        </pattern>
        <message>Gant <suggestion>ha</suggestion> e vez merket a c’heñveriañ dre gevatalder.</message>
        <example correction="ha">Memes oad <marker>evel</marker> Naig.</example>
        <example>Memes oad ha Naig.</example>
      </rule>
      <rule>
        <pattern>
          <token>memes</token>
          <token postag="N.*" postag_regexp="yes"/>
          <marker>
            <token>egedon</token>
          </marker>
        </pattern>
        <message>Implijit <suggestion>ha me</suggestion>.</message>
        <example correction="ha me">Memes oad <marker>egedon</marker>.</example>
        <example>Memes oad ha me.</example>
      </rule>
      <rule>
        <pattern>
          <token>memes</token>
          <token postag="N.*" postag_regexp="yes"/>
          <marker>
            <token>egedout</token>
          </marker>
        </pattern>
        <message>Implijit <suggestion>ha te</suggestion>.</message>
        <example correction="ha te">Memes oad <marker>egedout</marker>.</example>
        <example>Memes oad ha te.</example>
      </rule>
      <rule>
        <pattern>
          <token>memes</token>
          <token postag="N.*" postag_regexp="yes"/>
          <marker>
            <token>egetañ</token>
          </marker>
        </pattern>
        <message>Implijit <suggestion>hag eñ</suggestion>.</message>
        <example correction="hag eñ">Memes oad <marker>egetañ</marker>.</example>
        <example>Memes oad hag eñ.</example>
      </rule>
      <rule>
        <pattern>
          <token>memes</token>
          <token postag="N.*" postag_regexp="yes"/>
          <marker>
            <token>egeti</token>
          </marker>
        </pattern>
        <message>Implijit <suggestion>hag hi</suggestion>.</message>
        <example correction="hag hi">Memes oad <marker>egeti</marker>.</example>
        <example>Memes oad hag hi.</example>
      </rule>
      <rule>
        <pattern>
          <token>memes</token>
          <token postag="N.*" postag_regexp="yes"/>
          <marker>
            <token>egedomp</token>
          </marker>
        </pattern>
        <message>Implijit <suggestion>ha ni</suggestion>.</message>
        <example correction="ha ni">Memes oad <marker>egedomp</marker>.</example>
        <example>Memes oad ha ni.</example>
      </rule>
      <rule>
        <pattern>
          <token>memes</token>
          <token postag="N.*" postag_regexp="yes"/>
          <marker>
            <token>egedoc’h</token>
          </marker>
        </pattern>
        <message>Implijit <suggestion>ha ni</suggestion>.</message>
        <example correction="ha ni">Memes oad <marker>egedoc’h</marker>.</example>
        <example>Memes oad ha c’hwi.</example>
      </rule>
      <rule>
        <pattern>
          <token>memes</token>
          <token postag="N.*" postag_regexp="yes"/>
          <marker>
            <token>egeto</token>
          </marker>
        </pattern>
        <message>Implijit <suggestion>hag int</suggestion>.</message>
        <example correction="hag int">Memes oad <marker>egeto</marker>.</example>
        <example>Memes oad hag int.</example>
      </rule>
    </rulegroup>

    <rulegroup id="NEVEZ_AMZER" name="nevez amzer → nevezamzer">
      <rule>
        <pattern>
          <token>nevez</token>
          <token>amzer</token>
        </pattern>
        <message>Implijit <suggestion><match no="1" regexp_match="(.).*" regexp_replace="$1evezamzer"/></suggestion>.</message>
        <example correction="nevezamzer">Brav eo an <marker>nevez amzer</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token>nevez-amzer</token>
        </pattern>
        <message>Implijit <suggestion><match no="1" regexp_match="(.).*" regexp_replace="$1evezamzer"/></suggestion>.</message>
        <example correction="nevezamzer">Brav eo an <marker>nevez-amzer</marker>.</example>
      </rule>
    </rulegroup>

    <rule id="RAK_V" name="rak/hogen/met + verb">
      <pattern>
        <token regexp="yes">hogen|me[dts]|rak</token>
        <token>e</token>
        <token postag="V.*" postag_regexp="yes">
          <exception postag="N.*" postag_regexp="yes"/>
        </token>
      </pattern>
      <message>Ne zlefe ket bezañ ur verb goude «\1».</message>
      <example correction=""><marker>Rak e varvas</marker> e mamm.</example>
      <example>Rak e mamm e varvas.</example>
    </rule>

    <rule id="ZOKEN_AVAT" name="zoken/avat">
      <pattern case_sensitive="yes">
        <token postag="SENT_START"/>
        <marker>
          <token regexp="yes">Avat|Zoken|Eta|’Ta|a-leizh</token>
        </marker>
      </pattern>
      <message>N’hall ket «\2» bezañ lakaet e penn kentañ ur frazenn.</message>
      <example correction=""><marker>Zoken</marker> ma mamm a oar se.</example>
      <example>Ma mamm zoken a oar se.</example>
    </rule>

    <rule id="AMEZEGEZ" name="amezegez → amezek">
      <pattern>
        <token postag="N f.*" postag_regexp="yes"/>
        <marker>
          <token>amezegez</token>
        </marker>
      </pattern>
      <message>N’eus stumm gwregel ebet d’an anv-gwan e brezhoneg. Ha fellout a rae deoc’h skrivañ <suggestion>amezek</suggestion>?</message>
      <example correction="amezek">An enezenn <marker>amezegez</marker></example>
    </rule>

    <rule id="KET" name="ket hep verb">
      <pattern>
        <token>ha</token>
        <token>ket</token>
      </pattern>
      <message>N’haller ket implijout «ket» hep verb evel e galleg. Ha fellout a rae deoc’h skrivañ <suggestion>\1 n’eo ket</suggestion>?</message>
      <example correction="ha n’eo ket">Ober a ran chistr, <marker>ha ket</marker> lambig.</example>
      <example>Ober a ran chistr, ha n’eo ket lambig.</example>
    </rule>

    <rulegroup id="RED_RET" name="red e oa → ret e oa">
      <rule>
        <pattern>
          <marker>
            <token>red</token>
          </marker>
          <token>eo</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>ret</suggestion>?</message>
        <example correction="Ret"><marker>Red</marker> eo studiañ ar gentel.</example>
        <example>Ret eo studiañ ar gentel.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token>red</token>
          </marker>
          <token>e</token>
          <token regexp="yes">oa|vo|vefe|veze|vije</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>ret</suggestion>?</message>
        <example correction="Ret"><marker>Red</marker> e oa studiañ ar gentel.</example>
        <example>Ret e oa studiañ ar gentel.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">eo|oa|vo</token>
          <token>ket</token>
          <marker>
            <token>red</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>ret</suggestion>?</message>
        <example correction="ret">N’eo ket <marker>red</marker> ober se.</example>
        <example>N’eo ket ret ober se.</example>
      </rule>
    </rulegroup>
    <rule id="DAOUGEMENTIN" name="daou gementiñ → daougementiñ">
      <pattern>
        <token regexp="yes">[dtz]aou|[tdz]ri|[pbf]evar</token>
        <token regexp="yes">(c’hement|gement)(iñ|et)?|(ilin|gromm)(añ|et)?|roadek|bik(où)?|lamm(et)?|dortet</token>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion>\1\2</suggestion>?</message>
      <example correction="daouc’hementiñ">Ar pal zo <marker>daou c’hementiñ</marker> an niver a dud o teskiñ brezhoneg.</example>
    </rule>

    <rulegroup id="AN_EIL_GANT_AR_RE_ALL" name="an eil gant ar re all → an eil gant egile">
      <rule>
        <pattern>
          <token>an</token>
          <token>eil</token>
          <token>gant</token>
          <token>ar</token>
          <token>re</token>
          <token>all</token>
        </pattern>
        <message>Gallekadur: e brezhoneg e vez graet <suggestion>an eil gant egile</suggestion> en unander atav.</message>
        <example correction="an eil gant egile">Kevezañ <marker>an eil gant ar re all</marker>.</example>
        <example>Kevezañ an eil gant egile.</example>
      </rule>
      <rule>
        <pattern>
          <token>an</token>
          <token>eil</token>
          <token>re</token>
          <token>gant</token>
          <token>ar</token>
          <token>re</token>
          <token>all</token>
        </pattern>
        <message>Gallekadur: e brezhoneg e vez graet <suggestion>an eil gant egile</suggestion> en unander atav.</message>
        <example correction="an eil gant egile">Kevezañ <marker>an eil re gant ar re all</marker>.</example>
        <example>Kevezañ an eil gant egile.</example>
      </rule>
    </rulegroup>

    <rule id="MEMES_MA_V" name="memes ma + verb → ha pa + verb">
      <pattern>
        <token>memes</token>
        <token>ma</token>
        <token postag="V.*" postag_regexp="yes"/>
      </pattern>
      <message>Gallekadur: implijit <suggestion>ha pa</suggestion> gant ur verb en doare gourc’hemenn a-vremañ pe dremenet.</message>
      <example correction="Ha pa"><marker>Memes ma c’hall</marker> dont.</example>
      <example>Ha pa c’hallfe dont.</example>
      <example>Ha pa c’hallje dont.</example>
    </rule>

    <rule id="MENEZIOU_ARE" name="menezioù Are → menez Are">
      <pattern>
        <token regexp="yes">[mv]enezioù</token>
        <token regexp="yes">(?-i)Are</token>
      </pattern>
      <message>Gallekadur: ha fellout a rae deoc’h skrivañ <suggestion>menez Are</suggestion>?</message>
      <example correction="menez Are">Deomp d’ar <marker>menezioù Are</marker>.</example>
      <example>Deomp d’ar menez Are.</example>
    </rule>

    <rulegroup id="PEP_BEP" name="bep ha pep">
      <rule>
        <pattern>
          <marker>
            <token>pep</token>
          </marker>
          <token regexp="yes">gwech|gwezh|bloaz|segond|munut|eur|deiz|noz|mintin|beure|enderv|abardae|sizhun|pemzektez|miz|trimiziad|kantved|Lun|Merc’her|Yaou|Gwener|Sadorn|Sul|Genver|C’hwevrer|Meurzh|Ebrel|Mae|Even|Mezheven|Gouere|Gouhere|Eost|Gwengolo|Here|Du|Kerdu|Kerzu</token>
        </pattern>
        <message><suggestion>bep</suggestion> a vez implijet a-raok un anv amzer. (CHALM R1.1.5)</message>
        <example correction="bep">Dont a ra amañ <marker>pep</marker> Sul.</example>
        <example>Dont a ra amañ bep Sul.</example>
        <example>Ar pep retañ eo ober se.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token>pep</token>
          </marker>
          <token postag="K.*" postag_regexp="yes"/>
          <token regexp="yes">gwech|gwezh|bloaz|segond|munut|eur|deiz|noz|mintin|beure|enderv|abardae|sizhun|miz|trimiziad|kantved|Lun|Merc’her|Yaou|Gwener|Sadorn|Sul|Genver|C’hwevrer|Meurzh|Ebrel|Mae|Even|Mezheven|Gouere|Gouhere|Eost|Gwengolo|Here|Du|Kerdu|Kerzu</token>
        </pattern>
        <message><suggestion>bep</suggestion> a vez implijet a-raok un anv amzer.</message>
        <example correction="bep">Dont a ra amañ <marker>pep</marker> eil Sul.</example>
        <example>Dont a ra amañ bep eil Sul.</example>
        <example correction="Bep"><marker>Pep</marker> pemp munut</example>
      </rule>
    </rulegroup>

    <rule id="BEN_YA" name="beñ ya → feiz ya">
      <pattern>
        <token regexp="yes">be[ñn]</token>
        <token>ya</token>
      </pattern>
      <message>Implijit <suggestion>feiz \2</suggestion>.</message>
      <example correction="Feiz ya"><marker>Beñ ya</marker>!</example>
    </rule>

    <rulegroup id="DEVEZ_DEVEZH" name="devez → devezh">
      <rule>
        <pattern>
          <token regexp="yes" skip="1">[au]n|eil|e-pad|evit|pebezh|kentañ|pep|pet</token>
          <marker>
            <token>devez</token>
          </marker>
        </pattern>
        <message>«\2» ’zo ur verb. Ha fellout a rae deoc’h implijout an anv <suggestion>devezh</suggestion> kentoc’h?</message>
        <example correction="devezh">Un <marker>devez</marker> pe zaou.</example>
        <example>Un devezh pe zaou.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="SENT_START"/>
          <token>En</token>
          <marker>
            <token>devez</token>
          </marker>
        </pattern>
        <message>«\3» ’zo ur verb. Ha fellout a rae deoc’h implijout an anv <suggestion>devezh</suggestion> kentoc’h?</message>
        <example correction="devezh">En <marker>devez</marker> ar pardon</example>
        <example>En devezh ar pardon</example>
      </rule>
      <rule>
        <pattern>
          <token postag_regexp="yes" postag="SENT_START|K . ."/>
          <marker>
            <token regexp="yes">[dz]evez</token>
          </marker>
        </pattern>
        <message>«\2» ’zo ur verb. Ha fellout a rae deoc’h implijout an anv <suggestion>devezh</suggestion> kentoc’h?</message>
        <example correction="devezh">Daou <marker>zevez</marker>.</example>
        <example>Daou zevezh.</example>
        <example correction="Devezh"><marker>Devez</marker> an douar.</example>
        <example>Devezh an douar.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes" skip="1">[aeu][lnr]</token>
          <token postag="J.*" postag_regexp="yes"/>
          <marker>
            <token>devez</token>
          </marker>
        </pattern>
        <message>«\2» ’zo ur verb. Ha fellout a rae deoc’h implijout an anv <suggestion>devezh</suggestion> kentoc’h?</message>
        <example correction="devezh">Ar bempvet <marker>devez</marker></example>
        <example>Ar bempvet devezh</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token regexp="yes">[tdz]evez
              <exception scope="previous" regexp="yes">[aeu]n|eil|e-pad|evit|pebezh|kentañ|pep|pet</exception>
              <exception scope="previous" postag_regexp="yes" postag="SENT_START|K . ."/>
            </token>
          </marker>
          <token regexp="yes">a-benn|bennak(et)?|(etre)?broadel|mat|laouenn|staj|skolaj|studi</token>
        </pattern>
        <message>«devez» ’zo ur verb. Ha fellout a rae deoc’h implijout an anv <suggestion><match no="1" regexp_match="z" regexp_replace="zh"/></suggestion> kentoc’h?</message>
        <example correction="devezh">E <marker>devez</marker> etrebroadel</example>
        <example>E devezh etrebroadel</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[dtz]evez-(mañ|se|hont|ara[dt]|studi)</token>
        </pattern>
        <message>«devez» ’zo ur verb. Ha fellout a rae deoc’h implijout an anv <suggestion><match no="1" regexp_match="z" regexp_replace="zh"/></suggestion> kentoc’h?</message>
        <example correction="devezh-se">An <marker>devez-se</marker></example>
        <example>An devezh-se</example>
      </rule>
    </rulegroup>
    <rulegroup id="SUP_AR" name="Lodenn vrasañ ar boblañs → Al lodenn vrasañ eus ar bolañs">
      <rule>
        <pattern>
          <token postag_regexp="yes" postag="SENT_START|V.*"/>
          <marker>
            <token postag_regexp="yes" postag="N.*" regexp="yes">l.*</token>
            <token postag_regexp="yes" postag="J sup.*"/>
          </marker>
          <token regexp="yes">a[lnr]</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>al <match no="2" case_conversion="alllower"/> \3 eus</suggestion>?</message>
        <example correction="Al lodenn vrasañ eus"><marker>Lodenn vrasañ</marker> ar boblañ</example>
        <example>Al lodenn vrasañ eus ar boblañ</example>
      </rule>
      <rule>
        <pattern>
          <token postag_regexp="yes" postag="SENT_START|V.*"/>
          <marker>
            <token postag_regexp="yes" postag="N.*" regexp="yes">[bcfgjkmprsvwyz].*</token>
            <token postag_regexp="yes" postag="J sup.*"/>
          </marker>
          <token regexp="yes">a[lnr]</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>ar <match no="2" case_conversion="alllower"/> \3 eus</suggestion>?</message>
        <example correction="Ar paotr brasañ eus"><marker>Paotr brasañ</marker> ar skol.</example>
        <example>Ar paotr brasañ eus ar skol.</example>
      </rule>
      <rule>
        <pattern>
          <token postag_regexp="yes" postag="SENT_START|V.*"/>
          <marker>
            <token postag_regexp="yes" postag="N.*" regexp="yes">[ndthaeiou].*</token>
            <token postag_regexp="yes" postag="J sup.*"/>
          </marker>
          <token regexp="yes">a[lnr]</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>an <match no="2" case_conversion="alllower"/> \3 eus</suggestion>?</message>
        <example correction="An noz tommañ eus"><marker>Noz tommañ</marker> an hañv.</example>
      </rule>
    </rulegroup>
    <rulegroup id="BISKOAZH_BIKEN" name="biskoazh, biken">
      <rule>
        <pattern>
          <marker>
            <token>biskoazh</token>
          </marker>
          <token regexp="yes">n[e’]</token>
          <token postag="V futu.*" postag_regexp="yes"/>
        </pattern>
        <message>«Biskoazh» a zo evit an amzer dremenet hepken. A fellout a rae deoc’h skrivañ <suggestion>biken</suggestion>?</message>
        <example correction="Biken"><marker>Biskoazh</marker> ne welin Amerika.</example>
        <example>Biken ne welin Amerika.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token>biskoazh</token>
          </marker>
          <token>n’</token>
          <token>en</token>
          <token>em</token>
          <token postag="V futu.*" postag_regexp="yes"/>
        </pattern>
        <message>«Biskoazh» a zo evit an amzer dremenet hepken. A fellout a rae deoc’h skrivañ <suggestion>biken</suggestion>?</message>
        <example correction="Biken"><marker>Biskoazh</marker> n’en em garimp.</example>
        <example>Biken n’en em garimp.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token>biken</token>
          </marker>
          <token regexp="yes">n[e’]</token>
          <token postag="V (impa|pass).*" postag_regexp="yes"/>
        </pattern>
        <message>«Biken» a zo evit an amzer da zont hepken. A fellout a rae deoc’h skrivañ <suggestion>biskoazh</suggestion>?</message>
        <example correction="Biskoazh"><marker>Biken</marker> ne oa aet ket pell.</example>
        <example>Biskoazh ne oa aet ket pell.</example>
        <example correction="Biskoazh"><marker>Biken</marker> ne c’hoarvezas an emgann.</example>
        <example>Biskoazh ne c’hoarvezas an emgann.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token>biken</token>
          </marker>
          <token>n’</token>
          <token>en</token>
          <token>em</token>
          <token postag="V (impa|pass).*" postag_regexp="yes"/>
        </pattern>
        <message>«Biken» a zo evit an amzer da zont hepken. A fellout a rae deoc’h skrivañ <suggestion>biskoazh</suggestion>?</message>
        <example correction="Biskoazh"><marker>Biken</marker> n’en em wele.</example>
        <example>Biskoazh n’en em wele.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token>biken</token>
          </marker>
          <token>n’</token>
          <token regexp="yes">e[nmz]?|ec’h|he|ho[rn]?|o</token>
          <token regexp="yes">[bpd]?o[ae]|devo[ae]|[bdpv]eze</token>
        </pattern>
        <message>«Biken» a zo evit an amzer da zont hepken. A fellout a rae deoc’h skrivañ <suggestion>biskoazh</suggestion>?</message>
        <example correction="Biskoazh"><marker>Biken</marker> n’em boa gwelet kement a girri.</example>
        <example>Biskoazh n’em boa gwelet kement a girri.</example>
      </rule>
    </rulegroup>
    <rule id="CH" name="C’H → C’h">
      <pattern case_sensitive="yes">
        <token regexp="yes">(?:.*-)?C’?H\p{Ll}+</token>
      </pattern>
      <message>Gwelloc’h eo skrivañ <suggestion><match no="1" regexp_match="(.*-)?C’H(.*)" regexp_replace="$1C’h$2"/></suggestion>. (CHALM A17)</message>
      <example correction="C’hoant"><marker>C’Hoant</marker> am eus da zont.</example>
      <example><marker>C’HOANT</marker> AM EUS DA ZONT.</example>
      <example correction="Bro-C’hall"><marker>Bro-C’Hall</marker>.</example>
    </rule>
    <rule id="PA" name="pa + verb diouzhtu">
      <pattern>
        <token>pa</token>
        <token>
          <exception postag="V.*|X KAOUT1|X EN_EM|UNKNOWN" postag_regexp="yes"/>
          <exception regexp="yes">n?[e’]</exception>
        </token>
      </pattern>
      <message>Lakaet e vez ar verb diouzhtu goude «\1».</message>
      <example correction=""><marker>Pa me</marker> a lavar dit.</example>
      <example>Pa lavaran dit.</example>
      <example>Pa ne labouran ket.</example>
      <example>Pa ’z on skuizh.</example>
      <example>Mar en deus unan bennak divskouarn da glevout.</example>
      <example>Pa ho pefe</example>
      <example>Pa en em gavent gant ar merc’hed.</example>
      <example>Hep mar ebet.</example>
    </rule>

    <rulegroup id="HEMAN_HOUMAN" name="hemañ ha houmañ">
      <rule>
        <pattern>
          <token postag="SENT_START"/>
          <token postag="N m s.*" postag_regexp="yes"/>
          <token>piv</token>
          <token>eo</token>
          <marker>
            <token regexp="yes">hou?mañ|hou?nnezh</token>
          </marker>
        </pattern>
        <message>Implijit <suggestion>hennezh</suggestion> gant un anv gourel.</message>
        <example correction="hennezh">Karr piv eo <marker>hounnezh</marker>?</example>
        <example correction="hennezh">Karr piv eo <marker>honnezh</marker>?</example>
      </rule>
      <rule>
        <pattern>
          <token postag="SENT_START"/>
          <token postag="N f s.*" postag_regexp="yes"/>
          <token>piv</token>
          <token>eo</token>
          <marker>
            <token regexp="yes">hemañ|hennezh</token>
          </marker>
        </pattern>
        <message>Implijit <suggestion>hounnezh</suggestion> pe <suggestion>honnezh</suggestion> gant un anv benel.</message>
        <example correction="hounnezh|honnezh">Keniterv piv eo <marker>hennezh</marker>?</example>
        <example>Keniterv piv eo hounnezh?</example>
        <example>Keniterv piv eo honnezh?</example>
      </rule>
    </rulegroup>

    <rulegroup id="EGILE_EBEN" name="egile pe eben">
      <rule>
        <pattern>
          <token>eus</token>
          <token>an</token>
          <token>eil</token>
          <token postag="N f .*" postag_regexp="yes"><exception postag="N [em] .*" postag_regexp="yes"/></token>
          <token>d’</token>
          <marker><token>egile</token></marker>
        </pattern>
        <message>Implijit <suggestion>eben</suggestion> gant ar ger benel «\4».</message>
        <example correction="eben">Eus an eil garzh d’<marker>egile</marker>.</example>
        <example>Eus an eil kleuz d’egile.</example>
      </rule>
      <rule>
        <pattern>
          <token>eus</token>
          <token>an</token>
          <token>eil</token>
          <token postag="N m .*" postag_regexp="yes"><exception postag="N [ef] .*" postag_regexp="yes"/></token>
          <token>d’</token>
          <marker><token>eben</token></marker>
        </pattern>
        <message>Implijit <suggestion>egile</suggestion> gant ar ger gourel «\4».</message>
        <example correction="egile">Eus an eil kleuz d’<marker>eben</marker>.</example>
        <example>Eus an eil garzh d’eben.</example>
      </rule>
    </rulegroup>

    <rule id="ABAOE_BLOAVEZHIOU_ZO" name="abaoe bloavezhioù zo → abaoe bloavezhioù">
      <pattern>
        <token>abaoe</token>
        <token regexp="yes">bloavezhioù|mizioù|kantvedoù</token>
        <token>zo</token>
      </pattern>
      <message>Implijit <suggestion>\1 \2</suggestion>.</message>
      <example correction="abaoe bloavezhioù">Kelenner eo <marker>abaoe bloavezhioù zo</marker>.</example>
    </rule>

    <rulegroup id="PEGENT_PEGEN" name="pegent → pegen">
      <rule>
        <pattern>
          <token postag="SENT_START"/>
          <marker><token>pegent</token></marker>
          <token postag_regexp="yes" postag="[AJ]|V ppa"/>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>pegen</suggestion>?</message>
        <example correction="Pegen"><marker>Pegent</marker> fentus eo.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">na|ket</token>
          <marker><token>pegent</token></marker>
          <token postag_regexp="yes" postag="[AJ]|V ppa"/>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>pegen</suggestion>?</message>
        <example correction="pegen">Na <marker>pegent</marker> brav!</example>
        <example correction="pegen">Ne zisoñjit ket <marker>pegent</marker> brav eo.</example>
      </rule>
      <rule>
        <pattern>
          <token postag="V .*" postag_regexp="yes"/>
          <marker><token>pegent</token></marker>
          <token postag_regexp="yes" postag="[AJ]|V ppa"/>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>pegen</suggestion>?</message>
        <example correction="pegen">Peogwir e oar <marker>pegent</marker> nec’het eo ar re all gantañ.</example>
      </rule>
    </rulegroup>

    <rulegroup id="KROG" name="kroget em eus → krog on">
      <rule>
        <pattern>
          <token>kroget</token>
          <marker>
            <token regexp="yes">[ae]m</token>
            <token>eus</token>
          </marker>
        </pattern>
        <message>Ret eo skrivañ <suggestion>krog on</suggestion> pe <suggestion>krog e oan</suggestion>.</message>
        <example correction="krog on|krog e oan">Kroget <marker>em eus</marker> da zeskiñ brezhoneg.</example>
        <example>Krog on da zeskiñ brezhoneg.</example>
      </rule>
      <rule>
        <pattern>
          <token>kroget</token>
          <marker>
            <token regexp="yes">en|he</token>
            <token>deus</token>
          </marker>
        </pattern>
        <message>Ret eo skrivañ <suggestion>krog eo</suggestion> pe <suggestion>krog e oa</suggestion>.</message>
        <example correction="krog eo|krog e oa">Kroget <marker>en deus</marker> da zeskiñ brezhoneg.</example>
        <example>Krog eo da zeskiñ brezhoneg.</example>
      </rule>
      <rule>
        <pattern>
          <token>kroget</token>
          <marker>
            <token>hon</token>
            <token>eus</token>
          </marker>
        </pattern>
        <message>Ret eo skrivañ <suggestion>krog omp</suggestion> pe <suggestion>krog e oamp</suggestion>.</message>
        <example correction="krog omp|krog e oamp">Kroget <marker>hon eus</marker> da zeskiñ brezhoneg.</example>
        <example>Krog omp da zeskiñ brezhoneg.</example>
      </rule>
      <rule>
        <pattern>
          <token>kroget</token>
          <marker>
            <token>hoc’h</token>
            <token>eus</token>
          </marker>
        </pattern>
        <message>Ret eo skrivañ <suggestion>krog oc’h</suggestion> pe <suggestion>krog e oac’h</suggestion>.</message>
        <example correction="krog oc’h|krog e oac’h">Kroget <marker>hoc’h eus</marker> da zeskiñ brezhoneg.</example>
        <example>Krog oc’h da zeskiñ brezhoneg.</example>
      </rule>
      <rule>
        <pattern>
          <token>kroget</token>
          <marker>
            <token>o</token>
            <token>deus</token>
          </marker>
        </pattern>
        <message>Ret eo skrivañ <suggestion>krog int</suggestion> pe <suggestion>krog e oant</suggestion>.</message>
        <example correction="krog int|krog e oant">Kroget <marker>o deus</marker> da zeskiñ brezhoneg.</example>
        <example>Krog int da zeskiñ brezhoneg.</example>
      </rule>
    </rulegroup>

    <rule id="DIWALL" name="ober diwall → diwall">
      <pattern>
        <token inflected="yes">ober</token>
        <token>diwall</token>
      </pattern>
      <message>Ne vez ket implijet ar ger «\2» gant ar verb «\1».</message>
      <example correction="">Ret eo <marker>ober diwall</marker>.</example>
      <example>Ret eo diwall.</example>
    </rule>

    <rulegroup id="E_Z_A_Z" name="e’z, a’z → ez, az">
      <rule>
        <pattern>
          <token regexp="yes">[ae]’</token>
          <token>z</token>
        </pattern>
        <message>Ret eo skrivañ <suggestion><match no="1" regexp_match="(.)." regexp_replace="$1z"/></suggestion>. (CHALM M1.4.1)</message>
        <example correction="ez">Em sac’h <marker>e’z</marker> eus peadra da zebriñ..</example>
        <example correction="az">Ni <marker>a’z</marker> tapo deiz pe zeiz.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[ae]</token>
          <token>’</token>
          <token>z</token>
        </pattern>
        <message>Ret eo skrivañ <suggestion>\1z</suggestion>. (CHALM M1.4.1)</message>
        <example correction="ez">Em sac’h <marker>e ’z</marker> eus peadra da zebriñ..</example>
        <example correction="az">Ni <marker>a ’z</marker> tapo deiz pe zeiz.</example>
      </rule>
    </rulegroup>

    <rule id="AN_NIVER_AR" name="an niver ar → an niver a">
      <pattern>
        <marker>
          <token>an</token>
          <token>niver</token>
          <token>ar</token>
        </marker>
        <token postag="N . p.*" postag_regexp="yes"/>
      </pattern>
      <message>Implijit <suggestion>an niver a</suggestion> gant ur c’hemmadur dre vlotaat.</message>
      <example correction="An niver a"><marker>An niver ar</marker> c’hentelioù</example>
    </rule>

    <rule id="NE_KET" name="ne ket → neket pe n’eo ket">
      <pattern>
        <token>ne</token>
        <token>ket</token>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion>n’eo ket</suggestion> pe <suggestion>neket</suggestion>?</message>
      <example correction="N’eo ket|Neket"><marker>Ne ket</marker> diaes koulskoude.</example>
      <example>N’eo ket diaes koulskoude.</example>
    </rule>
    <rulegroup id="A_GEVRED" name="a-gevred → a-gevret">
      <rule>
        <pattern>
          <token regexp="yes">holl|stourm</token>
          <marker>
            <token>a</token>
            <token>gevred</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>\2-gevret</suggestion>?</message>
        <example correction="a-gevret">Holl <marker>a gevred</marker> gant gouel al labourerien!</example>
        <example>Emañ lec’hiet e kornôg Italia, a gevred Stad Frañs.</example>
      </rule>
      <rule>
        <pattern>
          <marker>
            <token>a</token>
            <token>gevred</token>
          </marker>
          <token inflected="yes">gant</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>\1-gevret</suggestion>?</message>
        <example correction="a-gevret">Mont a rin <marker>a gevred</marker> ganeoc’h</example>
      </rule>
      <rule>
        <pattern>
          <marker><token>a-gevred</token></marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>a-gevret</suggestion>?</message>
        <example correction="a-gevret">Holl <marker>a-gevred</marker> gant gouel al labourerien!</example>
      </rule>
    </rulegroup>
    <rulegroup id="KONT" name="ur gont pe ur c’hont">
      <rule>
        <pattern>
          <token inflected="yes" regexp="yes">digeriñ|klozañ|krouiñ|sevel|krouidigezh</token>
          <token>ur</token>
          <marker><token>c’hont</token></marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>gont</suggestion>?</message>
        <example correction="gont">Krouiñ ur <marker>c’hont</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token>ur</token>
          <marker><token>c’hont</token></marker>
          <token regexp="yes">emgefre|Facebook|Gmail|Launchpad|Twitter|OpenStreetMap|Wikipedia|WordPress|Livejournal|implijer|postel|http</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>gont</suggestion>?</message>
        <example correction="gont">Ur <marker>c’hont</marker> Facebook ho peus?</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">digoret|klozet|krouet|savet</token>
          <token postag="X KAOUT1"/>
          <token postag="X KAOUT2"/>
          <token>ur</token>
          <marker><token>c’hont</token></marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>gont</suggestion>?</message>
        <example correction="gont">Digoret em eus ur <marker>c’hont</marker>.</example>
      </rule>
    </rulegroup>
    <rulegroup id="OAD_AOD" name="oad pe aod">
      <rule>
        <pattern>
          <token>boued-oad</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>boued-aod</suggestion>?</message>
        <example correction="boued-aod">Kavout a ran mat <marker>boued-oad</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token>boued</token>
          <token>oad</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>boued-aod</suggestion>?</message>
        <example correction="boued-aod">Kavout a ran mat <marker>boued oad</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">war|paotr(ed)?|e-kerzh</token>
          <token>an</token>
          <marker><token>oad</token></marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>aod</suggestion>?</message>
        <example correction="aod">Un ti war an <marker>oad</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token>pe</token>
          <marker><token>aod</token></marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>oad</suggestion>?</message>
        <example correction="oad">Pe <marker>aod</marker> out?</example>
      </rule>
    </rulegroup>
    <rulegroup id="CHARR_TAN" name="c’har-tann → c’harr-tan">
      <rule>
        <pattern>
          <token regexp="yes">(c’h|[kg])ar-(ambroug|argad|arsailh|bac’h|biskoulenn|boutin|bombezenn|digeriñ|distronkañ|dre-lien|emgann|gedal|levraoueg|nij|kañv|kampiñ|nezañ|pej|saout|samm|skoazell|tan)</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="ar-" regexp_replace="arr-"/></suggestion>?</message>
        <example correction="c’harr-tan">Ur <marker>c’har-tan</marker> ruz.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">((c’h|[kg])arr|[tdz]our|[mv]enez|c’hwil)-tann</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match=".$" regexp_replace=""/></suggestion>?</message>
        <example correction="c’harr-tan">Ur <marker>c’harr-tann</marker> nevez am eus.</example>
      </rule>
    </rulegroup>
    <rulegroup id="ENDRO" name="en-dro pe endro">
      <rule>
        <pattern>
          <token regexp="yes">[au]n|hon</token>
          <marker><token>en-dro</token></marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>endro</suggestion>?</message>
        <example correction="endro">Ret eo difenn an <marker>en-dro</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">[au]n|hon</token>
          <marker>
            <token>en</token>
            <token>dro</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>endro</suggestion>?</message>
        <example correction="endro">Ret eo difenn an <marker>en dro</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token>en<exception scope="previous" regexp="yes">[au]n|hon</exception></token>
          <token>dro</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>en-dro</suggestion>?</message>
        <example correction="en-dro">N’a ket an urzhiater <marker>en dro</marker>.</example>
      </rule>
    </rulegroup>
    <rulegroup id="LERCH_LECH" name="lerc’h → lec’h">
      <rule>
        <pattern>
          <token>e</token>
          <token>pep</token>
          <marker><token>lerc’h</token></marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>lec’h</suggestion>?</message>
        <example correction="lec’h">E pep <marker>lerc’h</marker> er bed e kaver Bretoned.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">d?a</token>
          <token>bep</token>
          <marker><token>lerc’h</token></marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>lec’h</suggestion>?</message>
        <example correction="lec’h">Da bep <marker>lerc’h</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token>e-lerc’h</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>e-lec’h</suggestion>?</message>
        <example correction="E-lec’h"><marker>E-lerc’h</marker> mont da c’haloupat e vefe gwelloc’h dit chom er gêr da labourat.</example>
      </rule>
      <rule>
        <pattern>
          <token>e</token>
          <marker><token>lerc’h</token></marker>
          <token regexp="yes">ma?</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>lec’h</suggestion>?</message>
        <example correction="lec’h">E <marker>lerc’h</marker> ma staot un dañvad e staot daou pe dri.</example>
      </rule>
    </rulegroup>
    <rule id="LECH_LERCH" name="lec’h → lerc’h">
      <pattern>
        <token regexp="yes">war-lec’h|ler?c’h-ouzh-ler?c’h<exception>lerc’h-ouzh-lerc’h</exception></token>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="lec’h" regexp_replace="lerc’h"/></suggestion>?</message>
      <example correction="War-lerc’h"><marker>War-lec’h</marker> ar brezel.</example>
      <example correction="lerc’h-ouzh-lerc’h">Treuzennoù <marker>lec’h-ouzh-lec’h</marker>.</example>
    </rule>
    <rule id="PEZH" name="ar pez → a pezh">
      <pattern>
        <token>ar</token>
        <marker><token>pez</token></marker>
      </pattern>
      <message>Ha fellout a rae deoc’h skrivañ <suggestion>pezh</suggestion>?</message>
      <example correction="pezh">Ar <marker>pez</marker> a lavarez.</example>
    </rule>
    <rulegroup id="GECHALL_GOZH" name="Gwechall-kozh → Gwechall-gozh">
      <rule>
        <pattern>
          <token regexp="yes">gwe[cz]hall?-?[kg]ozh?<exception regexp="yes">gwe[cz]hall-gozh</exception></token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="^(....).*" regexp_replace="$1hall-gozh"/></suggestion>?</message>
        <example correction="Gwechall-gozh"><marker>Gwechall-kozh</marker>.</example>
        <example correction="Gwezhall-gozh"><marker>Gwezhall-kozh</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">gwe[cz]hall?</token>
          <token regexp="yes">[gk]ozh?</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="^(....).*" regexp_replace="$1hall-gozh"/></suggestion>?</message>
        <example correction="Gwechall-gozh"><marker>Gwechall kozh</marker>.</example>
        <example correction="Gwezhall-gozh"><marker>Gwezhall kozh</marker>.</example>
      </rule>
    </rulegroup>
    <rulegroup id="O_DA" name="o → da">
      <rule>
        <pattern>
          <token regexp="yes">aon|bec’h|diegi|displijadur|glac’har|mezh|poan|plijadur</token>
          <token postag="X KAOUT1"/>
          <token postag="X KAOUT2"/>
          <marker><token>da</token></marker>
          <token postag="V inf" regexp="yes">[^aeiouh].*</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o</suggestion>?</message>
        <example correction="o">Plijadur am bez <marker>da</marker> selaou ar mor.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">aon|bec’h|diegi|displijadur|glac’har|mezh|poan|plijadur</token>
          <token postag="X KAOUT1"/>
          <token postag="X KAOUT2"/>
          <marker><token regexp="yes">d[a’]</token></marker>
          <token postag="V inf" regexp="yes" spacebefore="yes">[aeiouh].*</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>oc’h</suggestion>?</message>
        <example correction="oc’h">Plijadur am bez <marker>da</marker> ober se.</example>
        <example correction="oc’h">Plijadur am bez <marker>d’</marker> ober se.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">aon|bec’h|diegi|displijadur|glac’har|mezh|poan|plijadur</token>
          <token postag="X KAOUT1"/>
          <token postag="X KAOUT2"/>
          <marker>
            <token>d’</token>
            <token postag="V inf" regexp="yes" spacebefore="no">[aeiouh].*</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>oc’h \5</suggestion>?</message>
        <example correction="oc’h ober">Plijadur am bez <marker>d’ober</marker> se.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">aon|bec’h|diegi|displijadur|glac’har|mezh|poan|plijadur</token>
          <token postag="X KAOUT1"/>
          <token postag="X KAOUT2"/>
          <marker><token>da</token></marker>
          <token postag="V inf M:1:.*:" postag_regexp="yes" regexp="yes" inflected="yes">[mgb].*</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o</suggestion>?</message>
        <example correction="o">Plijadur am beze <marker>da</marker> vont di.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">aon|bec’h|diegi|displijadur|glac’har|mezh|poan|plijadur</token>
          <token postag="X KAOUT1"/>
          <token postag="X KAOUT2"/>
          <marker>
            <token>da</token>
            <token postag="V inf M:1:1a:" regexp="yes" inflected="yes">k.*</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o <match no="5" regexp_match="^." regexp_replace="k"/></suggestion>?</message>
        <example correction="o klevout">Plijadur am eus <marker>da glevout</marker> se.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">aon|bec’h|diegi|displijadur|glac’har|mezh|poan|plijadur</token>
          <token postag="X KAOUT1"/>
          <token postag="X KAOUT2"/>
          <marker>
            <token>da</token>
            <token postag="V inf M:1:1a:" regexp="yes" inflected="yes">p.*</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o <match no="5" regexp_match="^." regexp_replace="p"/></suggestion>?</message>
        <example correction="o prenañ">Plijadur am eus <marker>da brenañ</marker> se.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">aon|bec’h|diegi|displijadur|glac’har|mezh|poan|plijadur</token>
          <token postag="X KAOUT1"/>
          <token postag="X KAOUT2"/>
          <marker>
            <token>da</token>
            <token postag="V inf M:1:1a:" regexp="yes" inflected="yes">t.*</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o <match no="5" regexp_match="^." regexp_replace="t"/></suggestion>?</message>
        <example correction="o touzañ">Plijadur am eus <marker>da douzañ</marker> al leton.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">aon|bec’h|diegi|displijadur|glac’har|mezh|poan|plijadur</token>
          <token postag="X KAOUT1"/>
          <token postag="X KAOUT2"/>
          <marker>
            <token>da</token>
            <token postag="V inf M:1:1b:4:" regexp="yes" inflected="yes">d.*</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o <match no="5" regexp_match="^." regexp_replace="t"/></suggestion>?</message>
        <example correction="o teskiñ">Plijadur am eus <marker>da zeskiñ</marker> brezhoneg.</example>
      </rule>

      <rule>
        <pattern>
          <token regexp="yes">(estonet|klañv|laouen|nec’het|plijet|skuizh|sabatuet|souezhet|spontet|trist)(-(holl|kenañ|krenn|meurbet|marv|mik|tre))?</token>
          <token regexp="yes">on|out|eo|omp|oc’h|int|eur</token>
          <marker><token>da</token></marker>
          <token postag="V inf" regexp="yes">[^aeiouh].*</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o</suggestion>?</message>
        <example correction="o">Laouen on <marker>da</marker> lenn e plij deoc’h.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">(estonet|klañv|laouen|nec’het|plijet|skuizh|sabatuet|souezhet|spontet|trist)(-(holl|kenañ|krenn|meurbet|marv|mik|tre))?</token>
          <token regexp="yes">on|out|eo|omp|oc’h|int|eur</token>
          <marker><token regexp="yes">d[a’]</token></marker>
          <token postag="V inf" regexp="yes" spacebefore="yes">[aeiouh].*</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>oc’h</suggestion>?</message>
        <example correction="oc’h">Laouen on <marker>da</marker> ober anaoudegezh ganeoc’h.</example>
        <example correction="oc’h">Laouen on <marker>d’</marker> ober anaoudegezh ganeoc’h.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">(estonet|klañv|laouen|nec’het|plijet|skuizh|sabatuet|souezhet|spontet|trist)(-(holl|kenañ|krenn|meurbet|marv|mik|tre))?</token>
          <token regexp="yes">on|out|eo|omp|oc’h|int|eur</token>
          <marker>
            <token>d’</token>
            <token postag="V inf" regexp="yes" spacebefore="no">[aeiouh].*</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>oc’h \4</suggestion>?</message>
        <example correction="oc’h ober">Laouen on <marker>d’ober</marker> anaoudegezh ganeoc’h.</example>
      </rule>

      <rule>
        <pattern>
          <token regexp="yes">(estonet|klañv|laouen|nec’het|plijet|skuizh|sabatuet|souezhet|spontet|trist)(-(holl|kenañ|krenn|meurbet|marv|mik|tre))?</token>
          <token regexp="yes">on|out|eo|omp|oc’h|int|eur</token>
          <marker><token>da</token></marker>
          <token postag="V inf M:1:.*:" postag_regexp="yes" regexp="yes" inflected="yes">[mgb].*</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o</suggestion>?</message>
        <example correction="o">Laouen on <marker>da</marker> vezañ ganit.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">(estonet|klañv|laouen|nec’het|plijet|skuizh|sabatuet|souezhet|spontet|trist)(-(holl|kenañ|krenn|meurbet|marv|mik|tre))?</token>
          <token regexp="yes">on|out|eo|omp|oc’h|int|eur</token>
          <marker>
            <token>da</token>
            <token postag="V inf M:1:1a:" regexp="yes" inflected="yes">k.*</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o <match no="4" regexp_match="^." regexp_replace="k"/></suggestion>?</message>
        <example correction="o klevout">Laouen on <marker>da glevout</marker> se.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">(estonet|klañv|laouen|nec’het|plijet|skuizh|sabatuet|souezhet|spontet|trist)(-(holl|kenañ|krenn|meurbet|marv|mik|tre))?</token>
          <token regexp="yes">on|out|eo|omp|oc’h|int|eur</token>
          <marker>
            <token>da</token>
            <token postag="V inf M:1:1a:" regexp="yes" inflected="yes">p.*</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o <match no="4" regexp_match="^." regexp_replace="p"/></suggestion>?</message>
        <example correction="o prenañ">Laouen omp <marker>da brenañ</marker> se.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">(estonet|klañv|laouen|nec’het|plijet|skuizh|sabatuet|souezhet|spontet|trist)(-(holl|kenañ|krenn|meurbet|marv|mik|tre))?</token>
          <token regexp="yes">on|out|eo|omp|oc’h|int|eur</token>
          <marker>
            <token>da</token>
            <token postag="V inf M:1:1a:" regexp="yes" inflected="yes">t.*</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o <match no="4" regexp_match="^." regexp_replace="t"/></suggestion>?</message>
        <example correction="o touzañ">Laouen on <marker>da douzañ</marker> ho leton.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">(estonet|klañv|laouen|nec’het|plijet|skuizh|sabatuet|souezhet|spontet|trist)(-(holl|kenañ|krenn|meurbet|marv|mik|tre))?</token>
          <token regexp="yes">on|out|eo|omp|oc’h|int|eur</token>
          <marker>
            <token>da</token>
            <token postag="V inf M:1:1b:4:" regexp="yes" inflected="yes">d.*</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o <match no="4" regexp_match="^." regexp_replace="t"/></suggestion>?</message>
        <example correction="o teskiñ">Laouen on <marker>da zeskiñ</marker> brezhoneg.</example>
      </rule>

      <rule>
        <pattern>
          <token regexp="yes">(estonet|klañv|laouen|nec’het|plijet|skuizh|sabatuet|souezhet|spontet|trist)(-(holl|kenañ|krenn|meurbet|marv|mik|tre))?</token>
          <token>e</token>
          <token regexp="yes">oan|oas|oa|oamp|oac’h|oant|oad|vin|vi|vo|vimp|viot|vioc’h|vint|vior|vezan|vezez|vez|vezomp|vezit|vezont|vezer|vezen|vezes|veze|vezemp|vezec’h|vezent|vezed|vezin|vezi|vezo|vezimp|vezoc’h|vezint|vezor|vefen|vefes|vefemp|vefec’h|vefent|vefed|vijen|vijes|vije|vijemp|vijec’h|vijent|vijed</token>
          <marker><token>da</token></marker>
          <token postag="V inf" regexp="yes">[^aeiouh].*</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o</suggestion>?</message>
        <example correction="o">Laouen e oan <marker>da</marker> lenn e plije deoc’h.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">(estonet|klañv|laouen|nec’het|plijet|skuizh|sabatuet|souezhet|spontet|trist)(-(holl|kenañ|krenn|meurbet|marv|mik|tre))?</token>
          <token>e</token>
          <token regexp="yes">oan|oas|oa|oamp|oac’h|oant|oad|vin|vi|vo|vimp|viot|vioc’h|vint|vior|vezan|vezez|vez|vezomp|vezit|vezont|vezer|vezen|vezes|veze|vezemp|vezec’h|vezent|vezed|vezin|vezi|vezo|vezimp|vezoc’h|vezint|vezor|vefen|vefes|vefemp|vefec’h|vefent|vefed|vijen|vijes|vije|vijemp|vijec’h|vijent|vijed</token>
          <marker><token regexp="yes">d[a’]</token></marker>
          <token postag="V inf" regexp="yes" spacebefore="yes">[aeiouh].*</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>oc’h</suggestion>?</message>
        <example correction="oc’h">Laouen e oan <marker>da</marker> ober anaoudegezh ganeoc’h.</example>
        <example correction="oc’h">Laouen e oan <marker>d’</marker> ober anaoudegezh ganeoc’h.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">(estonet|klañv|laouen|nec’het|plijet|skuizh|sabatuet|souezhet|spontet|trist)(-(holl|kenañ|krenn|meurbet|marv|mik|tre))?</token>
          <token>e</token>
          <token regexp="yes">oan|oas|oa|oamp|oac’h|oant|oad|vin|vi|vo|vimp|viot|vioc’h|vint|vior|vezan|vezez|vez|vezomp|vezit|vezont|vezer|vezen|vezes|veze|vezemp|vezec’h|vezent|vezed|vezin|vezi|vezo|vezimp|vezoc’h|vezint|vezor|vefen|vefes|vefemp|vefec’h|vefent|vefed|vijen|vijes|vije|vijemp|vijec’h|vijent|vijed</token>
          <marker>
            <token>d’</token>
            <token postag="V inf" regexp="yes" spacebefore="no">[aeiouh].*</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>oc’h \5</suggestion>?</message>
        <example correction="oc’h ober">Laouen e oamp <marker>d’ober</marker> anaoudegezh ganeoc’h.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">(estonet|klañv|laouen|nec’het|plijet|skuizh|sabatuet|souezhet|spontet|trist)(-(holl|kenañ|krenn|meurbet|marv|mik|tre))?</token>
          <token>e</token>
          <token regexp="yes">oan|oas|oa|oamp|oac’h|oant|oad|vin|vi|vo|vimp|viot|vioc’h|vint|vior|vezan|vezez|vez|vezomp|vezit|vezont|vezer|vezen|vezes|veze|vezemp|vezec’h|vezent|vezed|vezin|vezi|vezo|vezimp|vezoc’h|vezint|vezor|vefen|vefes|vefemp|vefec’h|vefent|vefed|vijen|vijes|vije|vijemp|vijec’h|vijent|vijed</token>
          <marker><token>da</token></marker>
          <token postag="V inf M:1:.*:" postag_regexp="yes" regexp="yes" inflected="yes">[mgb].*</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o</suggestion>?</message>
        <example correction="o">Laouen e oan <marker>da</marker> vont.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">(estonet|klañv|laouen|nec’het|plijet|skuizh|sabatuet|souezhet|spontet|trist)(-(holl|kenañ|krenn|meurbet|marv|mik|tre))?</token>
          <token>e</token>
          <token regexp="yes">oan|oas|oa|oamp|oac’h|oant|oad|vin|vi|vo|vimp|viot|vioc’h|vint|vior|vezan|vezez|vez|vezomp|vezit|vezont|vezer|vezen|vezes|veze|vezemp|vezec’h|vezent|vezed|vezin|vezi|vezo|vezimp|vezoc’h|vezint|vezor|vefen|vefes|vefemp|vefec’h|vefent|vefed|vijen|vijes|vije|vijemp|vijec’h|vijent|vijed</token>
          <marker>
            <token>da</token>
            <token postag="V inf M:1:1a:" regexp="yes" inflected="yes">k.*</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o <match no="5" regexp_match="^." regexp_replace="k"/></suggestion>?</message>
        <example correction="o klevout">Laouen e oan <marker>da glevout</marker> se.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">(estonet|klañv|laouen|nec’het|plijet|skuizh|sabatuet|souezhet|spontet|trist)(-(holl|kenañ|krenn|meurbet|marv|mik|tre))?</token>
          <token>e</token>
          <token regexp="yes">oan|oas|oa|oamp|oac’h|oant|oad|vin|vi|vo|vimp|viot|vioc’h|vint|vior|vezan|vezez|vez|vezomp|vezit|vezont|vezer|vezen|vezes|veze|vezemp|vezec’h|vezent|vezed|vezin|vezi|vezo|vezimp|vezoc’h|vezint|vezor|vefen|vefes|vefemp|vefec’h|vefent|vefed|vijen|vijes|vije|vijemp|vijec’h|vijent|vijed</token>
          <marker>
            <token>da</token>
            <token postag="V inf M:1:1a:" regexp="yes" inflected="yes">p.*</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o <match no="5" regexp_match="^." regexp_replace="p"/></suggestion>?</message>
        <example correction="o prenañ">Laouen e oan <marker>da brenañ</marker> se.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">(estonet|klañv|laouen|nec’het|plijet|skuizh|sabatuet|souezhet|spontet|trist)(-(holl|kenañ|krenn|meurbet|marv|mik|tre))?</token>
          <token>e</token>
          <token regexp="yes">oan|oas|oa|oamp|oac’h|oant|oad|vin|vi|vo|vimp|viot|vioc’h|vint|vior|vezan|vezez|vez|vezomp|vezit|vezont|vezer|vezen|vezes|veze|vezemp|vezec’h|vezent|vezed|vezin|vezi|vezo|vezimp|vezoc’h|vezint|vezor|vefen|vefes|vefemp|vefec’h|vefent|vefed|vijen|vijes|vije|vijemp|vijec’h|vijent|vijed</token>
          <marker>
            <token>da</token>
            <token postag="V inf M:1:1a:" regexp="yes" inflected="yes">t.*</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o <match no="5" regexp_match="^." regexp_replace="t"/></suggestion>?</message>
        <example correction="o touzañ">Laouen e oan <marker>da douzañ</marker> ho leton.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">(estonet|klañv|laouen|nec’het|plijet|skuizh|sabatuet|souezhet|spontet|trist)(-(holl|kenañ|krenn|meurbet|marv|mik|tre))?</token>
          <token>e</token>
          <token regexp="yes">oan|oas|oa|oamp|oac’h|oant|oad|vin|vi|vo|vimp|viot|vioc’h|vint|vior|vezan|vezez|vez|vezomp|vezit|vezont|vezer|vezen|vezes|veze|vezemp|vezec’h|vezent|vezed|vezin|vezi|vezo|vezimp|vezoc’h|vezint|vezor|vefen|vefes|vefemp|vefec’h|vefent|vefed|vijen|vijes|vije|vijemp|vijec’h|vijent|vijed</token>
          <marker>
            <token>da</token>
            <token postag="V inf M:1:1b:4:" regexp="yes" inflected="yes">d.*</token>
          </marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>o <match no="5" regexp_match="^." regexp_replace="t"/></suggestion>?</message>
        <example correction="o teskiñ">Laouen e oan <marker>da zeskiñ</marker> brezhoneg.</example>
      </rule>
    </rulegroup>
    <rulegroup id="PIKOLIOU" name="pikol → pikolioù">
      <rule>
        <pattern>
          <marker><token regexp="yes">pikol|pezh</token></marker>
          <token postag="N . p( t)?" postag_regexp="yes"><exception postag="N . sp?( t)?" postag_regexp="yes"/></token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>\1ioù</suggestion> a-raok an anv lies «\2»? (CHALM Se)</message>
        <example correction="pikolioù">Ar <marker>pikol</marker> traoù-se.</example>
      </rule>
      <rule>
        <pattern>
          <marker><token regexp="yes">mell(ad)?|pezhiad</token></marker>
          <token postag="N . p( t)?" postag_regexp="yes"><exception postag="N . sp?( t)?" postag_regexp="yes"/></token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>\1où</suggestion> a-raok an anv lies «\2»? (CHALM Se)</message>
        <example correction="Melloù"><marker>Mell</marker> paotred.</example>
      </rule>
      <rule>
        <pattern>
          <marker><token regexp="yes">pikolioù|pezhi(ad)?où|mell(ad)où</token></marker>
          <token postag="N . s( t)?" postag_regexp="yes"><exception postag="N . s?p( t)?" postag_regexp="yes"/></token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="(.*[^i])i?où" regexp_replace="$1"/></suggestion> a-raok an anv unan «\2»? (CHALM Se)</message>
        <example correction="pikol">Ur <marker>pikolioù</marker> paotr</example>
      </rule>
    </rulegroup>
    <rulegroup id="KANNAN_KANAN" name="kannañ pe kanañ">
      <rule>
        <pattern>
          <token regexp="yes">poull(où)?-kanañ</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="n" regexp_replace="nn"/></suggestion>?</message>
        <example correction="poull-kannañ">Ur <marker>poull-kanañ</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <marker><token>kanañ</token></marker>
          <token>an</token>
          <token>dilhad</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="n" regexp_replace="nn"/></suggestion>?</message>
        <example correction="Kannañ"><marker>Kanañ</marker> an dilhad.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">dilhad|mekanik|roched(où)?|loer(où)?</token>
          <token>da</token>
          <marker><token>ganañ</token></marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="n" regexp_replace="nn"/></suggestion>?</message>
        <example correction="gannañ">Ar mekanik da <marker>ganañ</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token>en</token>
          <token>em</token>
          <marker><token>ganañ</token></marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="3" regexp_match="n" regexp_replace="nn"/></suggestion>?</message>
        <example correction="gannañ">Oc’h en em <marker>ganañ</marker> e oant.</example>
      </rule>
      <rule>
        <pattern>
          <marker><token>kannañ</token></marker>
          <token>a</token>
          <token inflected="yes">ober</token>
          <token regexp="yes">(brav|mat|faos)(-(kenañ|kaer|tre))?</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="nn" regexp_replace="n"/></suggestion>?</message>
        <example correction="Kanañ"><marker>Kannañ</marker> a rae mat-kenañ.</example>
      </rule>
      <rule>
        <pattern>
          <marker><token regexp="yes">[kg]annañ</token></marker>
          <token regexp="yes">[au][rn]</token>
          <token regexp="yes">(c’han|c’hantik(où)?|dañs|destenn(où)?|gavotenn(où)?|genaouenn(où)?|g?werz|himn|oferenn|plinn|rimadell|son|sonenn|ton(-ioù)?)(-(mañ|se))?</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="nn" regexp_replace="n"/></suggestion>?</message>
        <example correction="Kanañ"><marker>Kannañ</marker> ur c’hantik.</example>
      </rule>
    </rulegroup>
    <rulegroup id="ARZH_ARZ" name="arzh pe arz">
      <rule>
        <pattern>
          <marker><token>arz</token></marker>
          <token regexp="yes">artikel|du|gell|gwenn|gweuzek|lunedek</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>arzh</suggestion>?</message>
        <example correction="arzh">Un <marker>arz</marker> gwenn.</example>
      </rule>
      <rule>
        <pattern>
          <marker><token>arz</token></marker>
          <token>ar</token>
          <token>mougevioù</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>arzh</suggestion>?</message>
        <example correction="arzh">Un <marker>arz</marker> ar mougevioù.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">arz-(du|gell|gwenn)</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="-" regexp_replace="h-"/></suggestion>?</message>
        <example correction="arzh-gwenn">Un <marker>arz-gwenn</marker>.</example>
      </rule>
      <rule>
        <pattern>
          <token>oberenn</token>
          <marker><token>arzh</token></marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>arz</suggestion>?</message>
        <example correction="arz">Un oberenn <marker>arzh</marker> e oa.</example>
      </rule>
    </rulegroup>
    <rulegroup id="GWAZH_GWAZ" name="gwazh pe gwaz">
      <rule>
        <pattern>
          <token regexp="yes">he|[mv]a|gant</token>
          <marker><token>gwazh</token></marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>gwaz</suggestion>?</message>
        <example correction="gwaz">Ne zeuas ket he <marker>gwazh</marker> en-dro.</example>
      </rule>
      <rule>
        <pattern>
          <token>da</token>
          <marker><token>wazh</token></marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>waz</suggestion>?</message>
        <example correction="waz">Ne zeuas ket da <marker>wazh</marker> en-dro.</example>
      </rule>
      <rule>
        <pattern>
          <token>ho</token>
          <marker><token>kwazh</token></marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="2" regexp_match="h" regexp_replace=""/></suggestion>?</message>
        <example correction="kwaz">Amañ eo ho <marker>kwazh</marker>?</example>
      </rule>
      <rule>
        <pattern>
          <marker><token>gwaz</token></marker>
          <token>a</token>
          <token>se</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>gwazh</suggestion>?</message>
        <example correction="Gwazh"><marker>Gwaz</marker> a se.</example>
      </rule>
      <rule>
        <pattern>
          <marker><token regexp="yes">[gk]?waz</token></marker>
          <token regexp="yes">RSS|Web|XML</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="$" regexp_replace="h"/></suggestion>?</message>
        <example correction="Gwazh"><marker>Gwaz</marker> RSS.</example>
      </rule>
      <rule>
        <pattern>
          <marker><token regexp="yes">[gk]?waz-(dour|kreiz|rinier|stêr|vor)</token></marker>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="-" regexp_replace="h-"/></suggestion>?</message>
        <example correction="Gwazh-dour"><marker>Gwaz-dour</marker>.</example>
      </rule>
    </rulegroup>
    <rule id="KOZHOCH" name="kozhoc’h → koshoc’h">
      <antipattern>
        <token>o</token>
        <marker><token>kozhañ</token></marker>
      </antipattern>
      <antipattern>
        <marker><token>kozhañ</token></marker>
        <token>a</token>
        <token inflected="yes">ober</token>
      </antipattern>
      <antipattern>
        <token>c’hwi</token>
        <token>a</token>
        <marker><token regexp="yes">gozhoc’h|ruzoc’h</token></marker>
      </antipattern>
      <pattern>
        <token regexp="yes">(([kg]|c’h)ozh|nevez|pizh|ruz|serzh)(oc’h|añ|a?at)|reizhoc’h</token>
      </pattern>
      <message>«\1» a zo ur verb diasur. Ha fellout a rae deoc’h skrivañ <suggestion><match no="1" regexp_match="z" regexp_replace="s"/></suggestion> kentoc’h? (CHALM Sb4)</message>
      <example correction="Koshoc’h"><marker>Kozhoc’h</marker> eo ma gwreg egedon.</example>
      <example>C’hwi a gozhoc’h.</example>
      <example correction="Rusoc’h"><marker>Ruzoc’h</marker> eo an aval-mañ.</example>
      <example>C’hwi a ruzoc’h.</example>
      <example>Kozhañ a ran</example>
      <example correction="nevesañ">Pellgargit ar stumm <marker>nevezañ</marker>.</example>
      <example>Gant va daouarn o kozhañ</example>
    </rule>
    <rulegroup id="PELECH" name="pelec’h pe da belec’h">
      <rule>
        <pattern>
          <marker><token>pelec’h<exception scope="previous" regexp="yes">dre|da|e</exception></token></marker>
          <token regexp="yes">(emaon|edon)(-me)?|(emaout|edos)(-te)?|(emañ|edo)?(-(eñ|hi))?|(emaomp|edomp)(-ni)?|(emaoc’h|edoc’h)(-c’hwi)?|(emaint|edont)(-(i|int))?|emeur|edod</token>
          <token>o</token>
          <token>vont</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>da belec’h</suggestion>? (CHALM F3.3)</message>
        <example correction="da belec’h">Ha <marker>pelec’h</marker> emaout o vont?</example>
        <example correction="Da belec’h"><marker>Pelec’h</marker> emaout o vont?</example>
        <example>E pelec’h emaout o chom?</example>
      </rule>
      <rule>
        <pattern>
          <marker><token>pelec’h<exception scope="previous" regexp="yes">betek|dre|da|e</exception></token></marker>
          <token>ez</token>
          <token inflected="yes">mont</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>da belec’h</suggestion>? (CHALM F3.3)</message>
        <example correction="Da belec’h"><marker>Pelec’h</marker> ez ez?</example>
        <example>Betek pelec’h ez a?</example>
      </rule>
      <rule>
        <pattern>
          <marker><token>pelec’h<exception scope="previous" regexp="yes">dre|da|e</exception></token></marker>
          <token>a</token>
          <token regexp="yes">ya[ey]?|yelo|yeas|ya[fj]e</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>da belec’h</suggestion>? (CHALM F3.3)</message>
        <example correction="Da belec’h"><marker>Pelec’h</marker> a yay?</example>
      </rule>
      <rule>
        <pattern>
          <marker><token>pelec’h<exception scope="previous" regexp="yes">dre|da|e</exception></token></marker>
          <token>mont</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>da belec’h</suggestion>? (CHALM F3.3)</message>
        <example correction="da belec’h">N’ouzon ket <marker>pelec’h</marker> mont.</example>
      </rule>
      <rule>
        <pattern>
          <marker><token>pelec’h<exception scope="previous" regexp="yes">dre|da|e</exception></token></marker>
          <token>e</token>
          <token inflected="yes" regexp="yes">gallout|rankout|karout</token>
          <token>mont</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>da belec’h</suggestion>? (CHALM F3.3)</message>
        <example correction="Da belec’h"><marker>Pelec’h</marker> e c’haller mont bremañ?</example>
      </rule>
      <rule>
        <pattern>
          <marker><token>pelec’h<exception scope="previous" regexp="yes">dre|da|e</exception></token></marker>
          <token>e</token>
          <token>fell</token>
          <token regexp="yes">di[nt]|dezhañ|dezhi|dimp|deomp|deoc’h|dezh[eo]</token>
          <token>mont</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>da belec’h</suggestion>? (CHALM F3.3)</message>
        <example correction="Da belec’h"><marker>Pelec’h</marker> e fell dit mont?</example>
      </rule>
      <rule>
        <pattern>
          <marker><token>pelec’h<exception scope="previous" regexp="yes">dre|da|e</exception></token></marker>
          <token regexp="yes">on(-me)?|out(-te)?|eo(-(eñ|hi))?|omp(-ni)?|oc’h(-c’hwi)?|int(-i)?</token>
          <token>aet</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>da belec’h</suggestion>? (CHALM F3.3)</message>
        <example correction="Da belec’h"><marker>Pelec’h</marker> eo aet Yann?</example>
      </rule>
      <rule>
        <pattern>
          <marker><token>pelec’h<exception scope="previous" regexp="yes">dre|da|e</exception></token></marker>
          <token>e</token>
          <token regexp="yes">oan(-me)?|oas(-te)?|oa(-(eñ|hi))?|oamp(-ni)?|oac’h(-c’hwi)?|oant(-(i|int))?</token>
          <token>aet</token>
        </pattern>
        <message>Ha fellout a rae deoc’h skrivañ <suggestion>da belec’h</suggestion>? (CHALM F3.3)</message>
        <example correction="Da belec’h"><marker>Pelec’h</marker> e oa aet Yann?</example>
      </rule>
    </rulegroup>
    <rulegroup id="ALAN_STIVELL" name="Alan Stivell">
      <rule>
        <pattern>
          <token>Allan</token>
          <token regexp="yes">Stivell?</token>
        </pattern>
        <message>Skrivit <suggestion>Alan Stivell</suggestion>.</message>
        <url>https://br.wikipedia.org/wiki/Alan_Stivell</url>
        <example correction="Alan Stivell"><marker>Allan Stivell</marker> a zo ur soner brezhonek.</example>
      </rule>
      <rule>
        <pattern>
          <token>Alan</token>
          <token>Stivel</token>
        </pattern>
        <message>Skrivit <suggestion>Alan Stivell</suggestion>.</message>
        <url>https://br.wikipedia.org/wiki/Alan_Stivell</url>
        <example correction="Alan Stivell"><marker>Alan Stivel</marker> a zo ur soner brezhonek.</example>
      </rule>
    </rulegroup>
    <rulegroup id="GLENMOR" name="Glenmor">
      <rule>
        <pattern>
          <token regexp="yes">Glenn?</token>
          <token>Mor</token>
        </pattern>
        <message>Skrivit <suggestion>Glenmor</suggestion>.</message>
        <url>https://br.wikipedia.org/wiki/Glenmor</url>
        <example correction="Glenmor"><marker>Glenn Mor</marker> a oa ur barzh.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">Glennmor|Glenn?-mor</token>
        </pattern>
        <message>Skrivit <suggestion>Glenmor</suggestion>.</message>
        <url>https://br.wikipedia.org/wiki/Glenmor</url>
        <example correction="Glenmor"><marker>Glennmor</marker> a oa ur barzh.</example>
      </rule>
    </rulegroup>
    <rule id="BERNEZ_TANGI" name="Bernez Tangi">
      <pattern>
        <token>Bernez</token>
        <token regexp="yes">Tangu[iy]|Tangy</token>
      </pattern>
      <message>Skrivit <suggestion>Bernez Tangi</suggestion> (Bernard Tanguy war varilh an ti-kêr).</message>
      <url>https://br.wikipedia.org/wiki/Bernez_Tangi</url>
      <example correction="Bernez Tangi"><marker>Bernez Tanguy</marker> a zo ur barzh.</example>
    </rule>
    <rule id="YANN_FANCH_KEMENER" name="Yann-Fañch Kemener">
      <pattern>
        <token regexp="yes">Yann-Fa[ñn]ch</token>
        <token regexp="yes">Kemeneur|Quemeneu?r</token>
      </pattern>
      <message>Skrivit <suggestion>Yann-Fañch Kemener</suggestion> (Jean-François Quémener war varilh an ti-kêr).</message>
      <url>https://br.wikipedia.org/wiki/Yann-Fa%C3%B1ch_Kemener</url>
      <example correction="Yann-Fañch Kemener"><marker>Yann-Fañch Kemeneur</marker> a zo unan eus gwellañ kanerien hengounel a Vreizh.</example>
    </rule>
    <rulegroup id="DEIZIAD" name="Deiziad">
      <rule>
        <pattern>
          <token>31</token>
          <token>a</token>
          <token>viz</token>
          <token regexp="yes">Ebrel|Mezheven|Gwengolo|Du</token>
        </pattern>
        <message>30 deiz hepken a zo er miz \4.</message>
        <example correction=""><marker>31 a viz Ebrel</marker>.</example>
        <example>30 a viz Ebrel.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">3[01]|[td]regont</token>
          <token>a</token>
          <token>viz</token>
          <token>C’hwevrer</token>
        </pattern>
        <message>28 pe 29 deiz hepken a zo er miz C’hwevrer.</message>
        <example correction="">Etre an 25 hag an <marker>30 a viz C’hwevrer</marker>.</example>
        <example>Etre an 25 hag 28 a viz C’hwevrer.</example>
      </rule>
      <rule>
        <pattern>
          <token>29</token>
          <token>a</token>
          <token>viz</token>
          <token>C’hwevrer</token>
          <token regexp="yes">\d\d(00|\d[13579]|[02468][26]|[13579][048])
            <exception regexp="yes">[13579][26]00|[2468][048]00</exception>
          </token>
        </pattern>
        <message>28 deiz hepken a zo er miz C’hwevrer \5. N’eo ket ur \5 ur bloavezh bizeost.</message>
        <url>http://br.wikipedia.org/wiki/Bloavezh_bizeost</url>
        <!-- 1900 is not a leap year (divisible by 100) -->
        <example correction="">An <marker>29 a viz C’hwevrer 1900</marker>.</example>
        <!-- 2000 is a leap year (divisible by 400) -->
        <example>An 29 a viz C’hwevrer 2000.</example>
        <example correction="">An <marker>29 a viz C’hwevrer 2001</marker>.</example>
        <example correction="">An <marker>29 a viz C’hwevrer 2002</marker>.</example>
        <example correction="">An <marker>29 a viz C’hwevrer 2003</marker>.</example>
        <example>Le 29 a viz C’hwevrer 2004.</example>
      </rule>
    </rulegroup>
    <rulegroup id="DEIZ_DEIZIAD" name="Deiziad">
      <rule>
        <pattern>
          <token regexp="yes">di(lun|meurzh|merc’her|riaou|gwener|sadorn|sul)</token>
          <token>d’</token>
          <token regexp="yes">a[nr]</token>
          <token regexp="yes">[012]?\d|3[01]|1-?añ|c’hentañ|(unan|daou|[td]ri|[bp]evar|[bp]emp?|c'hwerc’h|seizh|eizh|nav|dek|unnek|daouzek|[dt]rizek|[bp]evarzek|[bp]emzek|c’hwezek|seitek|[dt]riwec’h|naontek|ungent|[dt]regont)(vet)?|eil|drede|navet</token>
          <token>a</token>
          <token>viz</token>
          <token regexp="yes">Genver|C’hwevrer|Meurzh|Ebrel|Mae|Mezheven|Even|Gouere|Gouhere|Eost|Gwengolo|Here|Du|Kerzu</token>
          <token regexp="yes">[12]\d\d\d</token>
        </pattern>
        <filter class="org.languagetool.rules.br.DateCheckFilter" args="year:\8 month:\7 day:\4 weekDay:\1"/>
        <message>N’eo ket ur «\1» deiz an deiziad «\4 \5 \6 \7 \8», «{realDay}» eo.</message>
        <example correction=""><marker>Dilun d’an 2 a viz Gwengolo 2014</marker>.</example>
        <example>Dimeurzh d’an 2 a viz Gwengolo 2014.</example>
        <example correction=""><marker>Dilun d’an eil a viz Gwengolo 2014</marker>.</example>
        <example>Dimeurzh d’an eil a viz Gwengolo 2014.</example>
      </rule>
      <rule>
        <pattern>
          <token>Lun</token>
          <token regexp="yes">[012]?\d|3[01]|1-?añ|(unan|daou|eil|[td]ri|[dt]eir|[bp]evar|[bp]emp?|c'hwerc’h|seizh|eizh|nav|dek|unnek|daouzek|[dt]rizek|[bp]evarzek|[bp]emzek|c’hwezek|seitek|[dt]riwec’h|naontek|ungent|[dt]regont)(vet)?|drede|navet</token>
          <token>a</token>
          <token>viz</token>
          <token regexp="yes">Genver|C’hwevrer|Meurzh|Ebrel|Mae|Mezheven|Even|Gouere|Gouhere|Eost|Gwengolo|Here|Du|Kerzu</token>
          <token regexp="yes">[12]\d\d\d</token>
        </pattern>
        <filter class="org.languagetool.rules.br.DateCheckFilter" args="year:\6 month:\5 day:\2 weekDay:\1"/>
        <message>N’eo ket ul «\1» deiz an deiziad «\2 \3 \4 \5 \6», ul «{realDay}» eo.</message>
        <example correction="">Al <marker>Lun 23 a viz Gwengolo 2014</marker>.</example>
        <example>Al Lun 22 a viz Gwengolo 2014.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">Meurzh|Merc’her|Yaou|Gwener|Sadorn|Sul</token>
          <token regexp="yes">[012]?\d|3[01]|1-?añ|(unan|daou|[td]ri|[dt]eir|[bp]evar|[bp]emp?|c'hwerc’h|seizh|eizh|nav|dek|unnek|daouzek|[dt]rizek|[bp]evarzek|[bp]emzek|c’hwezek|seitek|[dt]riwec’h|naontek|ungent|[dt]regont)(vet)?|eil|drede|navet</token>
          <token>a</token>
          <token>viz</token>
          <token regexp="yes">Genver|C’hwevrer|Meurzh|Ebrel|Mae|Mezheven|Even|Gouere|Gouhere|Eost|Gwengolo|Here|Du|Kerzu</token>
          <token regexp="yes">[12]\d\d\d</token>
        </pattern>
        <filter class="org.languagetool.rules.br.DateCheckFilter" args="year:\6 month:\5 day:\2 weekDay:\1"/>
        <message>N’eo ket ur «\1» deiz an deiziad «\2 \3 \4 \5 \6», ur/ul «{realDay}» eo.</message>
        <example correction="">Ar <marker>Sul 22 a viz Gwengolo 2014</marker>.</example>
        <example>Ar Sul 21 a viz Gwengolo 2014.</example>
        <example>Al Lun 22 a viz Gwengolo 2014.</example>
        <example correction="">D’ar <marker>Merc’her 6 a viz C’hwevrer 2014</marker>.</example>
        <example correction="">D’ar <marker>Merc'her 6 a viz C'hwevrer 2014</marker>.</example>
        <example>D’ar Merc’her 5 a viz C'hwevrer 2014.</example>
        <example>D’ar Merc'her 5 a viz C'hwevrer 2014.</example>
        <example correction="">Ar <marker>Sul 1-añ a viz Here 2014</marker>.</example>
        <example>Ar Merc’her 1-añ a viz Here 2014.</example>
      </rule>
      <rule>
        <pattern>
          <token regexp="yes">Lun|Meurzh|Merc’her|Yaou|Gwener|Sadorn|Sul</token>
          <token min="0" max="1">,</token>
          <token regexp="yes">[012]?\d|3[01]|1-?añ</token>
          <token>/</token>
          <token regexp="yes">0?\d|1[012]</token>
          <token>/</token>
          <token regexp="yes">[12]\d\d\d</token>
        </pattern>
        <filter class="org.languagetool.rules.br.DateCheckFilter" args="year:\7 month:\5 day:\3 weekDay:\1"/>
        <message>N’eo ket ur/ul \1 deiz an deiziad «\3\4\5\6\7», ur/ul «{realDay}» eo.</message>
        <example correction=""><marker>Gwener 28/08/2014</marker>.</example>
        <example correction=""><marker>Gwener 28/8/2014</marker>.</example>
        <example correction=""><marker>Gwener, 28/8/2014</marker>.</example>
        <example>Yaou 28/08/2014.</example>
      </rule>
    </rulegroup>
  </category>
  <!-- vim: foldmethod=marker foldmarker=<category,</category:
  -->
</rules>
