Revision: 8231
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=8231&view=rev
Author:   dominikoeo
Date:     2012-10-17 19:47:26 +0000 (Wed, 17 Oct 2012)
Log Message:
-----------
[fr] - fixed false positive with "A priori" at the beginning of sentence.
     - fixed false positive in rule QUE_AVOIR

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-17 12:10:14 UTC (rev 8230)
+++ 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/fr/grammar.xml    
    2012-10-17 19:47:26 UTC (rev 8231)
@@ -1077,10 +1077,12 @@
                     <marker>
                         <token>A</token>
                     </marker>
+                    <token><exception>priori</exception></token>
                 </pattern>
                 <message>Voulez-vous écrire 
<suggestion>À</suggestion> ?</message>
                 <example type="incorrect"><marker>A</marker> quelle heure 
arrive-t-il ?</example>
                 <example type="correct"><marker>À</marker> quelle heure 
arrive-t-il ?</example>
+                <example type="correct">A priori, il devrait arriver à 
l'heure.</example>
             </rule>
             <rule>
                 <pattern>
@@ -5366,7 +5368,9 @@
             <rule>
                 <pattern>
                     <token negate="yes" 
regexp="yes">plus|moins|de|[’´'‛′‘]/</token>
-                    <token postag="N . s" postag_regexp="yes"/>
+                    <token postag="N . s" postag_regexp="yes">
+                      <exception postag="V.*" postag_regexp="yes"/>
+                    </token>
                     <token regexp="yes" skip="2">que?</token>
                     <marker>
                         <token postag="V avoir ind.*" postag_regexp="yes" 
skip="2"/>
@@ -5376,6 +5380,7 @@
                 <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>
                 <example type="incorrect">Le document qu’ils <marker>ont 
achetés</marker>.</example>
+                <example type="correct">Tout cela pour dire qu’on a longtemps 
été confrontés à ce problème.</example>
             </rule>
             <rule>
                 <pattern>

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


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to