Revision: 6372
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6372&view=rev
Author:   dominikoeo
Date:     2012-01-29 13:32:30 +0000 (Sun, 29 Jan 2012)
Log Message:
-----------
[fr] - fixed false positive in "Le contrat est n?\195?\169goci?\195?\169 de 
gr?\195?\169 ?\195?\160 gr?\195?\169".
     - fixed rule R_AVANTAGE which was reporting the same error twice
     - fixed warnings in "ant test" in rule QUE_AVOIR (some skip="..."
       should not have been there).

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-01-29 12:02:11 UTC 
(rev 6371)
+++ trunk/JLanguageTool/src/rules/fr/grammar.xml        2012-01-29 13:32:30 UTC 
(rev 6372)
@@ -645,6 +645,7 @@
           <token>d</token>
           <token regexp="yes">[’´'‛′‘]</token>
           <token regexp="yes">avantages?</token>
+          <token negate="yes" regexp="yes">de|du|d</token> <!-- avoids 
reporting error twice -->
         </pattern>
         <message>Voulez-vous écrire 
<suggestion>davantage</suggestion> ?</message>
         <example type="incorrect">Je pense <marker>d’avantage</marker> à cette 
solution.</example>
@@ -3882,8 +3883,8 @@
           <token negate="yes" 
regexp="yes">plus|moins|de|à|appareil|[’´'‛′‘]/</token>
           <token postag="N . p" postag_regexp="yes"/>
           <token regexp="yes" skip="2">que?</token>
-          <token postag="V avoir ind.*" postag_regexp="yes" 
skip="2"><exception postag="A" scope="next"/></token>
-          <token postag="V ppa.* s" postag_regexp="yes" skip="1"><exception 
postag="V inf" scope="next"/></token>
+          <token postag="V avoir ind.*" postag_regexp="yes" skip="2"/>
+          <token postag="V ppa.* s" postag_regexp="yes"/>
         </pattern>
         <message>Si « \2 » est l’antécédent du relatif « \3 », vérifiez 
l’accord du participe « \5 » en nombre.</message>
         <example type="correct">Les documents qu’ils <marker>ont 
achetés</marker>.</example>
@@ -3897,7 +3898,7 @@
           <token postag="N . s" postag_regexp="yes"/>
           <token regexp="yes" skip="2">que?</token>
           <token postag="V avoir ind.*" postag_regexp="yes" skip="2"/>
-          <token postag="V ppa.* p" postag_regexp="yes"><exception postag="V 
inf" scope="next"/></token>
+          <token postag="V ppa.* p" postag_regexp="yes"/>
         </pattern>
         <message>Si « \2 » est l’antécédent du relatif « \3 », vérifiez 
l’accord du participe « \5 » en nombre.</message>
         <example type="correct">Le document qu’ils <marker>ont 
acheté</marker>.</example>
@@ -3909,7 +3910,7 @@
           <token postag="N f .*" postag_regexp="yes"><exception 
regexp="yes">impression|fois</exception></token>
           <token regexp="yes" skip="2">que?</token>
           <token postag="V avoir ind.*" postag_regexp="yes" skip="2"/>
-          <token postag="V ppa m .*" postag_regexp="yes"><exception postag="V 
inf" scope="next"/></token>
+          <token postag="V ppa m .*" postag_regexp="yes"></token>
         </pattern>
         <message>Si « \2 » est l’antécédent du relatif « \3 », vérifiez 
l’accord du participe « \5 » en genre.</message>
         <example type="correct">La femme que j’<marker>ai 
aidée</marker>.</example>
@@ -3927,7 +3928,7 @@
           <token postag="N m .*" postag_regexp="yes"/>
           <token regexp="yes" skip="2">que?</token>
           <token postag="V avoir ind.*" postag_regexp="yes" skip="2"/>
-          <token postag="V ppa f .*" postag_regexp="yes"><exception postag="V 
inf" scope="next"/></token>
+          <token postag="V ppa f .*" postag_regexp="yes"></token>
         </pattern>
         <message>Si « \2 » est l’antécédent du relatif « \3 », vérifiez 
l’accord du participe « \5 » en genre.</message>
         <example type="correct">L’homme que j’<marker>ai 
aidé</marker>.</example>
@@ -19861,12 +19862,13 @@
     </rule>
     <rule id="ETRE_GRE" name="être gré">
       <pattern mark_to="-1">
-        <token inflected="yes" skip="2">être</token>
+        <token inflected="yes">être</token>
         <token>gré</token>
       </pattern>
       <message>« Être gré » est un tour critiqué. Employez 
<suggestion>savoir</suggestion>.</message>
       <example type="incorrect"><marker>être</marker> gré</example>
       <example type="correct"><marker>savoir gré</marker></example>
+      <example type="correct">Le contrat est négocié de gré à gré.</example>
     </rule>
     <rulegroup id="PIRE_ALLER" name="pire(-)aller">
       <rule>

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


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Languagetool-cvs mailing list
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to