Revision: 8734
http://languagetool.svn.sourceforge.net/languagetool/?rev=8734&view=rev
Author: dominikoeo
Date: 2012-12-30 23:08:38 +0000 (Sun, 30 Dec 2012)
Log Message:
-----------
[fr] - detect error in: *tache ingrate* -> "t?\195?\162che ingrate"
- fixed false positive in "Une taille 38 impos?\195?\169e aux mannequins."
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-12-30 21:56:36 UTC (rev 8733)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/fr/grammar.xml
2012-12-30 23:08:38 UTC (rev 8734)
@@ -2189,6 +2189,15 @@
</rule>
<rule>
<pattern>
+ <marker><token regexp="yes">taches?</token></marker>
+ <token regexp="yes">ingrates?</token>
+ </pattern>
+ <message>Voulez-vous écrire <suggestion><match no="1"
regexp_match="a" regexp_replace="â"/></suggestion> ?</message>
+ <example type="incorrect">Une <marker>tache</marker>
ingrate.</example>
+ <example type="correct">Une <marker>tâche</marker>
ingrate.</example>
+ </rule>
+ <rule>
+ <pattern>
<token>à</token>
<token>la</token>
<marker><token>tache</token></marker>
@@ -2942,7 +2951,11 @@
</rule>
<rule name="nombre pluriel suivi du singulier">
<pattern>
- <token regexp="yes">[2-9]|[1-9]\d+<exception
regexp="yes">[12]\d\d\d</exception><exception
scope="previous">,</exception></token>
+ <token regexp="yes">[2-9]|[1-9]\d+
+ <exception regexp="yes">[12]\d\d\d</exception>
+ <exception scope="previous"
spacebefore="no">,</exception>
+ <exception scope="previous">taille</exception>
+ </token>
<token postag="[JN] .* s" postag_regexp="yes">
<exception
regexp="yes">allée|avenue|balade|boulevard|chaussée|chemin|cour|impasse|place|route|rue|ruelle|quai|sentier|square|janvier|février|avril|mai|juin|juillet|ao[uû]t|septembre|octobre|novembre|décembre|vendémiaire|brumaire|frimaire|nivôse|pluviôse|ventôse|germinal|floréal|prairial|messidor|thermidor|fructidor</exception>
</token>
@@ -2956,6 +2969,7 @@
<example type="correct">Il sera élu en 2010 maire de la
ville.</example>
<example type="incorrect">Le pays est découpé en <marker>4
partie</marker>.</example>
<example type="correct">Le pays est découpé en 4
parties.</example>
+ <example type="correct">Une taille 38 imposée aux
mannequins.</example>
</rule>
<rule name="singulier suivi du pluriel">
<pattern>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits