Revision: 8020 http://languagetool.svn.sourceforge.net/languagetool/?rev=8020&view=rev Author: dominikoeo Date: 2012-09-10 05:55:29 +0000 (Mon, 10 Sep 2012) Log Message: ----------- [fr] fixed false positive in "Les cours ?\195?\169taient en r?\195?\169alit?\195?\169 destin?\195?\169s..."
Modified Paths: -------------- trunk/JLanguageTool/src/main/resources/org/languagetool/resource/fr/disambiguation.xml trunk/JLanguageTool/src/main/resources/org/languagetool/rules/fr/grammar.xml Modified: trunk/JLanguageTool/src/main/resources/org/languagetool/resource/fr/disambiguation.xml =================================================================== --- trunk/JLanguageTool/src/main/resources/org/languagetool/resource/fr/disambiguation.xml 2012-09-09 22:02:22 UTC (rev 8019) +++ trunk/JLanguageTool/src/main/resources/org/languagetool/resource/fr/disambiguation.xml 2012-09-10 05:55:29 UTC (rev 8020) @@ -86,7 +86,7 @@ <rule> <pattern> <token regexp="yes">une|quelques|plusieurs</token> - <marker><token regexp="yes">étranges?|larges?|drôles?|doubles?|triples?|quadruples?|sales?|solides?</token></marker> + <marker><token regexp="yes">étranges?|larges?|drôles?|doubles?|infimes?|triples?|quadruples?|sales?|solides?</token></marker> </pattern> <disambig action="filter" postag="J [ef] .*"/> </rule> @@ -1068,20 +1068,11 @@ <pattern> <token>en</token> <marker> - <token regexp="yes">général|revanche|principe</token> + <token regexp="yes">apparence|général|revanche|réalité|principe</token> </marker> </pattern> <disambig postag="A"/> </rule> - <rule id="A_PEINE" name="à peine"> - <pattern> - <token>à</token> - <marker> - <token>peine</token> - </marker> - </pattern> - <disambig postag="A"/> - </rule> <rulegroup id="TOUT_A_FAIT" name="tout à fait"> <rule> <pattern> @@ -1130,6 +1121,22 @@ <disambig postag="A"/> </rule> </rulegroup> + <rulegroup id="A_PEINE" name="à peine"> + <rule> + <pattern> + <marker><token>à</token></marker> + <token>peine</token> + </pattern> + <disambig postag="A"/> + </rule> + <rule> + <pattern> + <token>à</token> + <marker><token>peine</token></marker> + </pattern> + <disambig postag="A"/> + </rule> + </rulegroup> <rulegroup id="SANS_DOUTE" name="sans doute"> <rule> <pattern> Modified: trunk/JLanguageTool/src/main/resources/org/languagetool/rules/fr/grammar.xml =================================================================== --- trunk/JLanguageTool/src/main/resources/org/languagetool/rules/fr/grammar.xml 2012-09-09 22:02:22 UTC (rev 8019) +++ trunk/JLanguageTool/src/main/resources/org/languagetool/rules/fr/grammar.xml 2012-09-10 05:55:29 UTC (rev 8020) @@ -3192,6 +3192,7 @@ <example type="correct">Des documents ou informations tirés de la commission</example> <example type="correct"><marker>Une large</marker> majorité.</example> <example type="correct"><marker>Une étrange</marker> expérience.</example> + <example type="correct">Les cours étaient en <marker>réalité destinés</marker> à préparer les élèves.</example> </rule> </rulegroup> <rulegroup id="ACCORD_COULEUR" name="accord couleur"> 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