Revision: 7859
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7859&view=rev
Author:   dominikoeo
Date:     2012-08-13 20:49:08 +0000 (Mon, 13 Aug 2012)
Log Message:
-----------
[fr] - detect confusion between "colon" and "c?\195?\180lon"
     - detect confusion between "diff?\195?\169rend" and "diff?\195?\169rent"
     - detect *Elle s'est en all?\195?\169e* -> Elle s'en est all?\195?\169e

Modified Paths:
--------------
    trunk/JLanguageTool/src/rules/fr/grammar.xml

Modified: trunk/JLanguageTool/src/rules/fr/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/fr/grammar.xml        2012-08-13 19:52:26 UTC 
(rev 7858)
+++ trunk/JLanguageTool/src/rules/fr/grammar.xml        2012-08-13 20:49:08 UTC 
(rev 7859)
@@ -2112,6 +2112,29 @@
             <example type="correct">La tradition ascétique de 
l'Église.</example>
           </rule>
         </rulegroup>
+        <rulegroup id="COLON" name="colon et côlon">
+          <rule>
+            <pattern>
+              <token 
regexp="yes">(cancer|cellule|chirurgie|endoscopie|hydrothérapie|inflammation|irrigation|intérieur|lésion|maladie|nettoyage|pathologie|muqueuse|occlusion|opération|spasme|syndrome|tissu|tumeur)s?</token>
+              <token>du</token>
+              <marker><token>colon</token></marker>
+            </pattern>
+            <message>Voulez-vous écrire <suggestion><match no="3" 
regexp_match="(.)." regexp_replace="$1ô"/></suggestion> ?</message>
+            <example type="incorrect">Cancer du 
<marker>colon</marker>.</example>
+            <example type="correct">Cancer dur 
<marker>côlon</marker>.</example>
+          </rule>
+        </rulegroup>
+        <rulegroup id="DIFFEREND" name="différend et différent">
+          <rule>
+            <pattern>
+              <token regexp="yes">assez|pas|peu|si|très|vraiment</token>
+              <marker><token regexp="yes">différends?</token></marker>
+            </pattern>
+            <message>Voulez-vous écrire <suggestion><match no="2" 
regexp_match="(..*)d" regexp_replace="$1t"/></suggestion> ?</message>
+            <example type="incorrect">Ils ne sont pas si 
<marker>différends</marker>.</example>
+            <example type="correct">Ils ne sont pas si différents.</example>
+          </rule>
+        </rulegroup>
         <rulegroup id="TACHE" name="tache et tâche">
           <rule>
             <pattern>
@@ -2157,7 +2180,7 @@
             <pattern>
               <marker><token regexp="yes">tâches?</token></marker>
               <token regexp="yes" skip="1">de?</token>
-              <token 
regexp="yes">betteraves?|beurre|beauté|boissons?|boue|bougie|blanco|brulure|café|ceurises?|cambouis|carottes?|chewing(-?gum)?|cire|colle|couleur|caca|chocolat|confiture|cirage|crayons?|cr[eê]mes?|curry|décoloration|dentifrice|encre|éosine|essence|excréments?|déodorant|fer|feutres?|fientes?|fluo|fruits?|fuel|goudron|gras|graisse|harissa|henné|herbe|huile|javel|ketchup|jus|lait|légumes?|léopard|maquillage|marqueur|mascara|massala|moisi|moisissure|matières?|mazout|mercurochrome|merde|moutarde|naissance|oeuf|œuf|orange|parfum|peinture|pipi|pollen|résine|rouelle|rouge|rousseur|roussi|sauce|sang|s[ée]bum|s[èe]ve|sperme|sombre|soupe|stabilo|stylo(-bille|feutre)?|suie|sueur|terre|transpiration|tipp-ex|tomates?|teintures?|urine|vernis|vieillesse|vomit?|vomissure|vin</token>
+              <token 
regexp="yes">betteraves?|beurre|beauté|boissons?|boue|bougie|blanco|br[uû]lure|café|ceurises?|cambouis|carottes?|chewing(-?gum)?|cire|colle|couleur|caca|chocolat|confiture|cirage|crayons?|cr[eê]mes?|curry|décoloration|dentifrice|encre|éosine|essence|excréments?|déodorant|fer|feutres?|fientes?|fluo|fruits?|fuel|goudron|gras|graisse|harissa|henné|herbe|huile|javel|ketchup|jus|lait|légumes?|léopard|maquillage|marqueur|mascara|massala|moisi|moisissure|matières?|mazout|mercurochrome|merde|moutarde|naissance|oeuf|œuf|orange|parfum|peinture|pipi|pollen|résine|rouelle|rouge|rousseur|roussi|sauce|sang|s[ée]bum|s[èe]ve|sperme|sombre|soupe|stabilo|stylo(-bille|feutre)?|suie|sueur|terre|transpiration|tipp-ex|tomates?|teintures?|urine|vernis|vieillesse|vomit?|vomissure|vin</token>
             </pattern>
             <message>Voulez-vous écrire <suggestion><match no="1" 
regexp_match="â" regexp_replace="a"/></suggestion> ?</message>
             <example type="incorrect">Une <marker>tâche</marker> de ketchup 
sur la chemise.</example>
@@ -6438,6 +6461,16 @@
           <example type="incorrect">Le serveur a été <marker>mi</marker> à 
jour.</example>
           <example type="correct">Le serveur a été mis à jour.</example>
         </rule>
+        <rule id="ETRE_EN_ALLE" name="être en allé → en être allé">
+          <pattern>
+            <token inflected="yes">être</token>
+            <token>en</token>
+            <token regexp="yes">allée?s?</token>
+          </pattern>
+          <message>Employez <suggestion>\2 \1 \3</suggestion>.</message>
+          <example type="incorrect">Elle s’<marker>est en 
allée</marker>.</example>
+          <example type="correct">Elle s’<marker>en est 
allée</marker>.</example>
+        </rule>
         <rule id="MI_EN" name="mi en service → mis en service">
           <pattern>
             <marker><token regexp="yes">mie?</token></marker>

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Languagetool-cvs mailing list
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to