Revision: 8457
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=8457&view=rev
Author:   dominikoeo
Date:     2012-11-26 20:04:46 +0000 (Mon, 26 Nov 2012)
Log Message:
-----------
[fr] fixed false positive.

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-11-26 19:25:31 UTC (rev 8456)
+++ 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/fr/grammar.xml    
    2012-11-26 20:04:46 UTC (rev 8457)
@@ -3974,7 +3974,9 @@
                     <token postag="SENT_START" skip="-1">
                         <exception scope="next" postag="[NR].* [me] .*" 
postag_regexp="yes"/>
                     </token>
-                    <token postag="[NZ] f .*|R pers suj 3 f .*" 
postag_regexp="yes"/>
+                    <token postag="[NZ] f .*|R pers suj 3 f .*" 
postag_regexp="yes">
+                        <exception postag="[NZJ] [em] .*" postag_regexp="yes"/>
+                    </token>
                     <token inflected="yes" postag="V .* 3 .*" 
postag_regexp="yes" regexp="yes">devoir|pouvoir|semble</token>
                     <token>être</token>
                     <marker>
@@ -3986,6 +3988,7 @@
                 <example type="correct">Une corrélation peut être 
<marker>observée</marker>.</example>
                 <example type="incorrect">Martine peut être 
<marker>amusant</marker>.</example>
                 <example type="correct">Martine peut être 
<marker>amusante</marker>.</example>
+                <example type="correct">Les composants électroniques peuvent 
être nettoyés.</example>
             </rule>
             <rule>
                 <pattern>
@@ -6096,7 +6099,9 @@
             </rule>
             <rule>
                 <pattern>
-                    <token postag="N .*" postag_regexp="yes"></token>
+                    <token postag="N .*" postag_regexp="yes">
+                      <exception postag="V.*" postag_regexp="yes"/>
+                    </token>
                     <token regexp="yes">l[àa]</token>
                     <token postag="M .*" postag_regexp="yes"/>
                 </pattern>
@@ -6104,6 +6109,7 @@
                 <example type="incorrect">Il faisait froid cet <marker>hiver 
là.</marker></example>
                 <example type="incorrect">Il faisait froid cet <marker>hiver 
la.</marker></example>
                 <example type="correct">Il faisait froid cet 
<marker>hiver-là.</marker></example>
+                <example type="correct">Veux-tu aller là ?</example>
             </rule>
         </rulegroup>
 

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


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to