Revision: 7830
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7830&view=rev
Author:   dominikoeo
Date:     2012-08-11 17:50:55 +0000 (Sat, 11 Aug 2012)
Log Message:
-----------
[fr] - detect error in *pas a pas* -> pas ?\195?\160 pas
     - don't signal error in "des judoka" because the word judoka
       in invariable according to some dictionaries.

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-11 15:10:41 UTC 
(rev 7829)
+++ trunk/JLanguageTool/src/rules/fr/grammar.xml        2012-08-11 17:50:55 UTC 
(rev 7830)
@@ -1120,6 +1120,16 @@
             </rule>
             <rule>
               <pattern>
+                <token>pas</token>
+                <marker><token>a</token></marker>
+                <token>pas</token>
+              </pattern>
+              <message>Voulez-vous écrire 
<suggestion>à</suggestion> ?</message>
+              <example type="incorrect">Pas <marker>a</marker> pas</example>
+              <example type="correct">Pas <marker>à</marker> pas</example>
+            </rule>
+            <rule>
+              <pattern>
                 <token>tout</token>
                 <marker><token>a</token></marker>
                 <token regexp="yes">fait|coup|loisirs</token>
@@ -2885,7 +2895,7 @@
                         </token>
                         <token postag="[JN] .* s" postag_regexp="yes">
                             <exception postag="V .*|.* sp" 
postag_regexp="yes"/>
-                            <exception 
regexp="yes">face|grâce|juste|internet|maximum|minimum</exception>
+                            <exception 
regexp="yes">face|grâce|juste|internet|maximum|minimum|judoka</exception>
                         </token>
                     </marker>
                     <token><exception>et</exception></token>

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