Revision: 8147
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=8147&view=rev
Author:   dominikoeo
Date:     2012-10-01 19:14:42 +0000 (Mon, 01 Oct 2012)
Log Message:
-----------
[fr] - fixed false positive in:
       "Anne menait elle aussi sa petite existence"
     - removed 2 dubious rules: A_TOUTES_FINS_UTILES & ACCIDENT_INDUSTRIEL

Modified Paths:
--------------
    trunk/JLanguageTool/src/main/resources/org/languagetool/rules/fr/grammar.xml

Modified: 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/fr/grammar.xml
===================================================================
--- 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/fr/grammar.xml    
    2012-10-01 18:49:57 UTC (rev 8146)
+++ 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/fr/grammar.xml    
    2012-10-01 19:14:42 UTC (rev 8147)
@@ -5919,18 +5919,38 @@
                         </token>
                         <token regexp="yes">.*[^aec]</token>
                     </and>
-                    <token regexp="yes">il|elle|on</token>
+                    <token regexp="yes">il|on</token>
                 </pattern>
                 <message>Voulez-vous dire 
<suggestion>\1-\2</suggestion> ?</message>
                 <example type="incorrect">Que <marker>prend 
il</marker> ?</example>
                 <example type="correct">Que prend-il ?</example>
-                <example type="correct">C’est elle qui vient.</example>
                 <example type="correct">Notre point de <marker>départ 
on</marker> pouvait le voir d’ici.</example>
             </rule>
             <rule>
                 <pattern>
+                  <marker>
                     <and>
                         <token postag="V.* 3 s" postag_regexp="yes">
+                            <exception postag="[^V].*" postag_regexp="yes"/>
+                            <exception regexp="yes" 
scope="previous">[’´'‛′‘]</exception>
+                            <exception postag="R pers suj .*" 
postag_regexp="yes" scope="previous"/>
+                        </token>
+                        <token regexp="yes">.*[^aec]</token>
+                    </and>
+                    <token>elle</token>
+                  </marker>
+                  <token><exception>aussi</exception></token>
+                </pattern>
+                <message>Voulez-vous dire 
<suggestion>\1-\2</suggestion> ?</message>
+                <example type="incorrect">Que <marker>prend 
elle</marker> ?</example>
+                <example type="correct">Que prend-elle ?</example>
+                <example type="correct">C’est elle qui vient.</example>
+                <example type="correct">Anne menait elle aussi sa petite 
existence.</example>
+            </rule>
+            <rule>
+                <pattern>
+                    <and>
+                        <token postag="V.* 3 s" postag_regexp="yes">
                             <exception>cela</exception>
                             <exception postag="N.*" postag_regexp="yes"/>
                             <exception postag="R pers suj .*" 
postag_regexp="yes" scope="previous"/>
@@ -14257,17 +14277,6 @@
             <example type="incorrect"><marker>à toutes fins 
pratiques</marker></example>
             <example type="correct"><marker>pratiquement</marker></example>
         </rule>
-        <rule id="A_TOUTES_FINS_UTILES" name="à toutes fins utiles">
-            <pattern>
-                <token>à</token>
-                <token regexp="yes">toutes?</token>
-                <token regexp="yes">fins?</token>
-                <token regexp="yes">utiles?</token>
-            </pattern>
-            <message>« À toutes fins pratiques » est un anglicisme. Employez 
<suggestion>pratiquement</suggestion>.</message>
-            <example type="incorrect"><marker>à toutes fins 
utiles</marker></example>
-            <example type="correct"><marker>pratiquement</marker></example>
-        </rule>
         <rule id="POUR_AUSSI_PEU_QUE" name="pour aussi peu que">
             <pattern>
                 <token>pour</token>
@@ -17638,15 +17647,6 @@
             <example type="incorrect"><marker>attaque 
cardiaque</marker></example>
             <example type="correct"><marker>crise cardiaque</marker></example>
         </rule>
-        <rule id="ACCIDENT_INDUSTRIEL" name="accident industriel">
-            <pattern>
-                <token regexp="yes">accident|accidents</token>
-                <token regexp="yes">industriel|industriels</token>
-            </pattern>
-            <message>« Accident industriel » est un anglicisme (industrial 
accident). Employez <suggestion>accident de travail</suggestion>, 
<suggestion>accident du travail</suggestion>.</message>
-            <example type="incorrect"><marker>accident 
industriel</marker></example>
-            <example type="correct"><marker>accident du 
travail</marker></example>
-        </rule>
         <rule id="PICKLE" name="pickle">
             <pattern>
                 <token regexp="yes">pickle|pickles</token>

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


------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to