Revision: 7495
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7495&view=rev
Author:   dominikoeo
Date:     2012-06-24 21:28:32 +0000 (Sun, 24 Jun 2012)
Log Message:
-----------
[fr] fixed false positive in "C'est ma pr?\195?\169f?\195?\169r?\195?\169e".

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-06-24 21:10:48 UTC 
(rev 7494)
+++ trunk/JLanguageTool/src/rules/fr/grammar.xml        2012-06-24 21:28:32 UTC 
(rev 7495)
@@ -27,12 +27,6 @@
         <phrase id="V_NON_NR">
             <token postag="V.*" postag_regexp="yes"><exception postag="[NR].*" 
postag_regexp="yes"></exception></token>
         </phrase>
-        <phrase id="V_R_NON_N">
-            <token postag="[VR].*" postag_regexp="yes"><exception postag="N.*" 
postag_regexp="yes"></exception></token>
-        </phrase>
-        <phrase id="A_NON_N">
-            <token postag="V.*" postag_regexp="yes"><exception postag="N.*" 
postag_regexp="yes"></exception></token>
-        </phrase>
     </phrases>
     <category name="Pléonasmes">
         <!--The following rules were created by Hugo Voisard
@@ -602,12 +596,13 @@
                     <marker>
                         <token>sa</token>
                     </marker>
-                    <phraseref idref="V_R_NON_N"></phraseref>
+                    <token postag="[VR].*" postag_regexp="yes"><exception 
postag="N.*|V ppa [fe] sp?" postag_regexp="yes"></exception></token>
                 </pattern>
                 <message>Voulez-vous écrire 
<suggestion>ça</suggestion> ?</message>
                 <example type="correct">Ça va ?</example>
                 <example type="incorrect"><marker>Sa</marker> va ?</example>
                 <example type="correct">Ça voiture est en panne.</example>
+                <example type="correct">C’est ma préférée.</example>
             </rule>
         </rulegroup>
         <rule id="QUAND_QUANT" name="Quand au lien de quant">

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