Revision: 7544
http://languagetool.svn.sourceforge.net/languagetool/?rev=7544&view=rev
Author: dominikoeo
Date: 2012-06-28 18:38:22 +0000 (Thu, 28 Jun 2012)
Log Message:
-----------
[fr] fixed false positive in things like: "Allons nous asseoir ici."
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-28 18:37:23 UTC
(rev 7543)
+++ trunk/JLanguageTool/src/rules/fr/grammar.xml 2012-06-28 18:38:22 UTC
(rev 7544)
@@ -5038,28 +5038,36 @@
</rule>
<rule>
<pattern>
+ <marker>
<token postag="V .* 1 p" postag_regexp="yes">
<exception postag="R pers suj .*" postag_regexp="yes"
scope="previous"></exception>
</token>
<token postag="R pers suj 1 p"></token>
+ </marker>
+ <token><exception
regexp="yes">(re)?(asse?oir|laver)</exception></token>
</pattern>
<message>Voulez-vous dire
<suggestion>\1-\2</suggestion> ?</message>
<example type="incorrect">Que <marker>mangeons
nous</marker> ?</example>
<example type="correct">Que mangeons-nous ?</example>
+ <example type="correct">Allons nous asseoir ici.</example>
</rule>
<rule>
<pattern>
+ <marker>
<token postag="V .* 2 p" postag_regexp="yes">
<exception postag="R pers suj .*" postag_regexp="yes"
scope="previous"></exception>
<exception regexp="yes">veuillez|sachez</exception>
</token>
<token postag="R pers suj 2 p"></token>
+ </marker>
+ <token><exception
regexp="yes">(re)?(asse?oir|laver)</exception></token>
</pattern>
<message>Voulez-vous dire
<suggestion>\1-\2</suggestion> ?</message>
<example type="incorrect">Que <marker>mangez
vous</marker> ?</example>
<example type="correct">Que mangez-vous ?</example>
<example type="correct">Veuillez vous rendre à
l’accueil.</example>
<example type="correct">Sachez vous éloigner.</example>
+ <example type="correct">Vous pouvez vous asseoir.</example>
</rule>
<rule>
<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