Revision: 7645
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7645&view=rev
Author:   dominikoeo
Date:     2012-07-03 19:29:20 +0000 (Tue, 03 Jul 2012)
Log Message:
-----------
[fr] fixed false positive in "Je trouve cela passionnant."

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-07-03 18:57:18 UTC 
(rev 7644)
+++ trunk/JLanguageTool/src/rules/fr/grammar.xml        2012-07-03 19:29:20 UTC 
(rev 7645)
@@ -970,7 +970,7 @@
                     <marker>
                         <token regexp="yes">d[eé]s</token>
                     </marker>
-                    <token 
regexp="yes">que?|[lmst]a|[mts]on|[lmst]es|le?[nv]os|cette|lors|après|maintenant|à|toujours|midi|minuit|aujourd|hier|demain|une?|janvier|f[eé]vrier|mars|avril|mai|juin|juillet|a[uû]ot|septembre|octobre|novembre|d[eé]cembre|vendémiaire|brumaire|frimaire|nivôse|pluviôse|ventôse|germinal|floréal|prairial|messidor|thermidor|fructidor|lundi|mardi|mercredi|jeudi|vendredi|samedi|dimanche|P[âa]ques|No[ëe]l|[12]?\d\d\d</token>
+                    <token 
regexp="yes">que?|[lmst]a|[mts]on|[lmst]es|le?[nv]os|cette|lors|après|maintenant|à|toujours|midi|minuit|aujourd|hier|demain|une?|janvier|f[eé]vrier|mars|avril|mai|juin|juillet|a[uû]ot|septembre|octobre|novembre|d[eé]cembre|vendémiaire|brumaire|frimaire|nivôse|pluviôse|ventôse|germinal|floréal|prairial|messidor|thermidor|fructidor|lundi|mardi|mercredi|jeudi|vendredi|samedi|dimanche|P[âa]ques|No[ëe]l|1\d\d\d|20\d\d</token>
                 </pattern>
                 <message>Voulez-vous écrire <suggestion><match no="1" 
regexp_match="(.).." regexp_replace="$1ès"></match></suggestion> ?</message>
                 <example type="incorrect">Tu repars <marker>des</marker> qu’il 
arrive.</example>
@@ -3463,7 +3463,7 @@
             <rule name="il/elle/on + 0 tokens + Verbe">
                 <pattern>
                     <token postag="R pers suj 3 .* s|R dem . s" 
postag_regexp="yes">
-                        <exception 
regexp="yes">ce|(celui|celle)(-ci)?</exception>
+                        <exception 
regexp="yes">ce(la|ci)?|(celui|celle)(-ci)?</exception>
                         <exception scope="previous" 
postag="&lt;/DE&gt;"></exception>
                         <exception scope="previous" postag="P"></exception>
                     </token>
@@ -3480,6 +3480,7 @@
                 <example type="correct">Celle adressée à mon ami</example>
                 <example type="correct">À elle reviennent toutes les 
maisons.</example>
                 <example type="correct">Des polluants comme celui-ci viennent 
de la combustion.</example>
+                <example type="correct">Je trouve cela passionnant.</example>
             </rule>
             <rule name="il/elle/on + 1 token + Verbe">
                 <pattern>

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to