Revision: 9539 http://languagetool.svn.sourceforge.net/languagetool/?rev=9539&view=rev Author: dominikoeo Date: 2013-03-03 08:21:01 +0000 (Sun, 03 Mar 2013) Log Message: ----------- [fr] fixed false alarms in rule "TOUS_LES"
Modified Paths: -------------- trunk/languagetool/languagetool-language-modules/fr/src/main/resources/org/languagetool/rules/fr/grammar.xml Modified: trunk/languagetool/languagetool-language-modules/fr/src/main/resources/org/languagetool/rules/fr/grammar.xml =================================================================== --- trunk/languagetool/languagetool-language-modules/fr/src/main/resources/org/languagetool/rules/fr/grammar.xml 2013-03-03 07:18:27 UTC (rev 9538) +++ trunk/languagetool/languagetool-language-modules/fr/src/main/resources/org/languagetool/rules/fr/grammar.xml 2013-03-03 08:21:01 UTC (rev 9539) @@ -7057,7 +7057,10 @@ <rule> <pattern> <marker> - <token>tous<exception scope="previous" regexp="yes">à|pas|pour</exception></token> + <token>tous + <exception scope="previous" regexp="yes">à|pas|pour</exception> + <exception scope="previous" postag="V.*" postag_regexp="yes"/> + </token> </marker> <token postag="D.*" postag_regexp="yes"> <exception>des</exception> @@ -7073,6 +7076,7 @@ <example type="correct">Mes amis n’apprécient pas tous la musique.</example> <example type="correct">On a tous des qualités.</example> <example type="correct">Je peux tous les lire.</example> + <example type="correct">Ils ont tous une moto.</example> </rule> <rule> <pattern> @@ -7094,9 +7098,11 @@ <rule> <pattern> <marker> - <token regexp="yes">toutes?</token> + <token regexp="yes">toutes? + <exception scope="previous" postag="V.*" postag_regexp="yes">toutes</exception> + </token> </marker> - <token postag="D.*" postag_regexp="yes"><exception>des</exception></token> + <token postag="D.*" postag_regexp="yes"><exception regexp="yes">des|du</exception></token> <token postag="[ANZ] m .*" postag_regexp="yes"> <exception postag="[ANZ] [fe] .*" postag_regexp="yes"/> </token> @@ -7106,6 +7112,7 @@ <example type="correct">Tout cet équipement</example> <example type="correct">Toutes les cours de récréation</example> <example type="correct">Les femmes portent <marker>toutes</marker> des noms à consonance étrangère.</example> + <example type="correct">Elle font toutes du business avec eux.</example> </rule> </rulegroup> <rule id="TOUT_DE_SUITE" name="toute de suite → tout de suite"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Languagetool-commits mailing list Languagetool-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-commits