Revision: 9343
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9343&view=rev
Author:   dominikoeo
Date:     2013-02-09 19:34:10 +0000 (Sat, 09 Feb 2013)
Log Message:
-----------
[fr] fixed false positive in: "Mon fils n'arrive pas ?\195?\160..."

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

Modified: 
trunk/languagetool/languagetool-language-modules/fr/src/main/resources/org/languagetool/rules/fr/grammar.xml
===================================================================
--- 
trunk/languagetool/languagetool-language-modules/fr/src/main/resources/org/languagetool/rules/fr/grammar.xml
        2013-02-09 17:48:04 UTC (rev 9342)
+++ 
trunk/languagetool/languagetool-language-modules/fr/src/main/resources/org/languagetool/rules/fr/grammar.xml
        2013-02-09 19:34:10 UTC (rev 9343)
@@ -5790,7 +5790,9 @@
         <pattern>
           <token postag="SENT_START|C coor|R rel .*" postag_regexp="yes"/>
           <token postag="D.*" postag_regexp="yes"/>
-          <token postag="N . p" postag_regexp="yes"/>
+          <token postag="N . p" postag_regexp="yes">
+            <exception postag="N . sp?" postag_regexp="yes"/>
+          </token>
           <!-- Not all combinations of tokens are actually possible -->
           <token regexp="yes">[lmnt]|[mnt]e|la|les?|lui|leur</token>
           <token 
regexp="yes">[’´'‛′‘]|[mnt]e|la|les?|[vn]ous|en|y|lui|leur</token>
@@ -5805,6 +5807,7 @@
         <example type="correct">Les camions n’arrivent pas.</example>
         <example type="correct">Les cuillères en bois commencent à 
moisir.</example>
         <example type="correct">Ces choses nous les partageons.</example>
+        <example type="correct">Mon fils n’arrive pas à faire les 
additions.</example>
       </rule>
       <rule name="sujet pluriel + 3 tokens + verbe singulier">
         <pattern>

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


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to