Revision: 9034
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9034&view=rev
Author:   dominikoeo
Date:     2013-01-15 21:43:47 +0000 (Tue, 15 Jan 2013)
Log Message:
-----------
[fr] improved rule TRAIT_UNION

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    
    2013-01-15 20:40:32 UTC (rev 9033)
+++ 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/fr/grammar.xml    
    2013-01-15 21:43:47 UTC (rev 9034)
@@ -20712,6 +20712,24 @@
     <rulegroup id="TRAIT_UNION" name="Trait d’union">
       <rule>
         <pattern>
+          <token regexp="yes">mort|nouveau|derniers?|premiers?</token>
+          <token regexp="yes">née?s?</token>
+        </pattern>
+        <message>Voulez-vous dire <suggestion>\1-\2</suggestion> ?</message>
+        <example type="incorrect">Elle s’occupe des <marker>nouveau 
nés</marker>.</example>
+        <example type="correct">Elle s’occupe des 
<marker>nouveau-nés</marker>.</example>
+      </rule>
+      <rule>
+        <pattern>
+          <token regexp="yes">francs?</token>
+          <token 
regexp="yes">alleux?|bourgeois(es?)?|jeux?|parlers?|quartiers?|tireurs?|tireuses?|maçon(ne(rie)?|nique)?s?</token>
+        </pattern>
+        <message>Voulez-vous dire <suggestion>\1-\2</suggestion> ?</message>
+        <example type="incorrect">C’est un <marker>franc 
maçon</marker>.</example>
+        <example type="correct">C’est un 
<marker>franc-maçon</marker>.</example>
+      </rule>
+      <rule>
+        <pattern>
           <token>va</token>
           <token>et</token>
           <token>vient</token>

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to