Revision: 7786 http://languagetool.svn.sourceforge.net/languagetool/?rev=7786&view=rev Author: dominikoeo Date: 2012-08-04 18:09:19 +0000 (Sat, 04 Aug 2012) Log Message: ----------- [fr] - fixed false positive in: "Je ne trouve pas ?\195?\167a int?\195?\169ressant". - turn off by default a few rules in category "Anglicismes".
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-08-04 15:28:13 UTC (rev 7785) +++ trunk/JLanguageTool/src/rules/fr/grammar.xml 2012-08-04 18:09:19 UTC (rev 7786) @@ -4085,14 +4085,29 @@ <message>Vérifiez l’accord entre le pronom « \1 » et le verbe « \2 ».</message> <example type="incorrect"><marker>Il travaillent</marker></example> <example type="correct">Il travaille</example> - <example type="incorrect"><marker>Ça fonctionnent</marker>.</example> - <example type="correct">Ça fonctionne.</example> <example type="correct">Ce sont des histoires.</example> <example type="correct">Celle adressée à mon ami</example> <example type="correct">À elle reviennent toutes les maisons.</example> <example type="correct">Des polluants comme celui-ci viennent de la combustion.</example> <example type="correct">Je trouve cela passionnant.</example> </rule> + <rule name="ça + 0 tokens + Verbe"> + <pattern> + <token postag="SENT_START|C coor" postag_regexp="yes"/> + <marker> + <token>ça</token> + <token postag="V .*" postag_regexp="yes"> + <exception postag="V .* 3 s" postag_regexp="yes"/> + </token> + </marker> + </pattern> + <message>Vérifiez l’accord entre le pronom « \2 » et le verbe « \3 ».</message> + <example type="incorrect"><marker>Ça fonctionnent</marker>.</example> + <example type="correct">Ça fonctionne.</example> + <example type="incorrect">Et <marker>ça fonctionnent</marker>.</example> + <example type="correct">Et ça fonctionne.</example> + <example type="correct">Je ne trouve pas ça intéressant.</example> + </rule> <rule name="il/elle/on + 1 token + Verbe"> <pattern> <token postag="R pers suj 3 .* s|R dem . s" postag_regexp="yes"> @@ -15329,7 +15344,7 @@ <example type="incorrect"><marker>must</marker></example> <example type="correct"><marker>incontournable</marker></example> </rule> - <rule id="PARKING" name="parking"> + <rule default="off" id="PARKING" name="parking"> <pattern> <token regexp="yes">parking|parkings</token> </pattern> @@ -15633,7 +15648,7 @@ <example type="incorrect"><marker>flannelette</marker></example> <example type="correct"><marker>finette</marker></example> </rule> - <rule id="FAN" name="fan"> + <rule default="off" id="FAN" name="fan"> <pattern> <token regexp="yes">fan|fans</token> </pattern> @@ -16104,7 +16119,7 @@ <example type="correct"><marker>clin d’aluminium</marker></example> </rule> </rulegroup> - <rulegroup id="FAST_FOOD" name="fast food"> + <rulegroup default="off" id="FAST_FOOD" name="fast food"> <rule> <pattern> <token regexp="yes">fast|fasts</token> 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 Languagetool-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-cvs