Revision: 7480
http://languagetool.svn.sourceforge.net/languagetool/?rev=7480&view=rev
Author: dominikoeo
Date: 2012-06-23 22:44:22 +0000 (Sat, 23 Jun 2012)
Log Message:
-----------
[fr] fixed false positive in:
"De quand ?\195?\160 quand"
"Un des leurs"
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-23 21:33:09 UTC
(rev 7479)
+++ trunk/JLanguageTool/src/rules/fr/grammar.xml 2012-06-23 22:44:22 UTC
(rev 7480)
@@ -613,13 +613,14 @@
<rule id="QUAND_QUANT" name="Quand au lien de quant">
<pattern>
<marker>
- <token>quand</token>
+ <token>quand<exception
scope="previous">de</exception></token>
</marker>
<token regexp="yes">à|aux?</token>
</pattern>
<message>Voulez-vous écrire
<suggestion>quant</suggestion> ?</message>
<example type="incorrect"><marker>Quand</marker> à ma commande,
elle n’est pas arrivée.</example>
<example type="correct">Quant à ma commande, elle n’est pas
arrivée.</example>
+ <example type="correct">De quand à quand tu travailles ?</example>
</rule>
<rule id="QUANT_QUAND" name="Quant au lien de quand">
<pattern>
@@ -974,7 +975,7 @@
<marker>
<token regexp="yes">d[eé]s</token>
</marker>
- <token
regexp="yes">que?|[lmst]a|[mts]on|[lmst]es|le?|[nv]os|[nv]otre|leurs?|ce[ts]?|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|[12]?\d\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>
@@ -982,6 +983,7 @@
<example type="incorrect"><marker>Des</marker> à
présent</example>
<example type="incorrect"><marker>Des</marker> 1980, le pays
était en crise.</example>
<example type="correct"><marker>Dès</marker> 1980, le pays
était en crise.</example>
+ <example type="correct">C’est un des leurs.</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