Revision: 7689 http://languagetool.svn.sourceforge.net/languagetool/?rev=7689&view=rev Author: dominikoeo Date: 2012-07-10 20:24:33 +0000 (Tue, 10 Jul 2012) Log Message: ----------- [fr] - fix in disambiguation of the word "est". - fix incorrect suggestion in rule SUR_ACCENT.
Modified Paths: -------------- trunk/JLanguageTool/src/resource/fr/disambiguation.xml trunk/JLanguageTool/src/rules/fr/grammar.xml Modified: trunk/JLanguageTool/src/resource/fr/disambiguation.xml =================================================================== --- trunk/JLanguageTool/src/resource/fr/disambiguation.xml 2012-07-10 18:49:06 UTC (rev 7688) +++ trunk/JLanguageTool/src/resource/fr/disambiguation.xml 2012-07-10 20:24:33 UTC (rev 7689) @@ -48,8 +48,7 @@ </rule> <rule name="est" id="EST"> <pattern> - <token regexp="yes">[dl]<exception scope="previous">ne</exception></token> - + <token regexp="yes">[dl]<exception scope="previous" regexp="yes">ne|il|elle</exception><exception scope="previous" postag="[NZ].*" postag_regexp="yes"/></token> <token regexp="yes">[’´'‛′‘]</token> <marker> <token>est</token> Modified: trunk/JLanguageTool/src/rules/fr/grammar.xml =================================================================== --- trunk/JLanguageTool/src/rules/fr/grammar.xml 2012-07-10 18:49:06 UTC (rev 7688) +++ trunk/JLanguageTool/src/rules/fr/grammar.xml 2012-07-10 20:24:33 UTC (rev 7689) @@ -1326,7 +1326,7 @@ <token regexp="yes">de?</token> <token><exception postag_regexp="yes" postag="J .*p"></exception></token> </pattern> - <message>Voulez-vous écrire <suggestion><match no="1" regexp_match="(.).(.*)" regexp_replace="$1û$2"></match></suggestion> ?</message> + <message>Voulez-vous écrire <suggestion><match no="2" regexp_match="(.).(.*)" regexp_replace="$1û$2"></match></suggestion> ?</message> <example type="incorrect">Il est <marker>sur</marker> de lui.</example> <example type="correct">Il est <marker>sûr</marker> de lui.</example> <example type="incorrect">Nous nous sentions toujours <marker>surs</marker> de nous.</example> 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