Revision: 7100
http://languagetool.svn.sourceforge.net/languagetool/?rev=7100&view=rev
Author: dominikoeo
Date: 2012-05-29 22:10:46 +0000 (Tue, 29 May 2012)
Log Message:
-----------
[fr] fixed false positive in "Ne laisse pas ?\195?\167a t'arr?\195?\170ter."
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-05-29 20:11:38 UTC
(rev 7099)
+++ trunk/JLanguageTool/src/rules/fr/grammar.xml 2012-05-29 22:10:46 UTC
(rev 7100)
@@ -3478,7 +3478,7 @@
<rule name="il/elle/on + 2 tokens + Verbe">
<pattern>
<token postag="R pers suj 3 .* s|R dem . s"
postag_regexp="yes">
- <exception regexp="yes">ce|celle</exception>
+ <exception
regexp="yes">ça|cela|ceci|ce|celle</exception>
<exception scope="previous"
postag="</DE>"></exception>
<exception scope="previous" postag="P"></exception>
<exception scope="previous">comme</exception>
@@ -3491,10 +3491,21 @@
<message>Vérifiez l’accord entre le pronom « \1 » et le verbe
« \4 ».</message>
<example type="incorrect"><marker>Il ne me veux</marker>
pas.</example>
<example type="correct"><marker>Il ne me veut</marker>
pas.</example>
- <example type="incorrect"><marker>Cela t’irais</marker>
bien.</example>
- <example type="correct"><marker>Cela t’irait</marker>
bien.</example>
<example type="correct">Pour cela nous en parlons à notre
mère.</example>
</rule>
+ <rule name="il/elle/on + 2 tokens + Verbe">
+ <pattern>
+ <token
regexp="yes">ça|cela|ceci|(celui|celle)-(ci|là)</token>
+ <!-- Not all combinations of 2 tokens between il/elle/on
and verb are actually possible -->
+ <token
regexp="yes">[lmnst]|[mnst]e|la|les?|[nv]ous|lui|leur</token>
+ <token
regexp="yes">[’´'‛′‘]|[mnst]e|la|les?|[vn]ous|en|y|lui|leur</token>
+ <token postag="V .*" postag_regexp="yes"><exception
postag="V .* 3 s|V.* inf" postag_regexp="yes"></exception></token>
+ </pattern>
+ <message>Vérifiez l’accord entre le pronom « \1 » et le verbe
« \4 ».</message>
+ <example type="incorrect"><marker>Ça t’irais</marker>
bien.</example>
+ <example type="correct"><marker>Ça t’irait</marker>
bien.</example>
+ <example type="correct">Ne laisse pas ça t’arrêter.</example>
+ </rule>
<rule name="il/elle/on + 3 tokens + Verbe">
<pattern>
<token postag="R pers suj 3 .* s|R dem . s"
postag_regexp="yes">
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