Revision: 7746 http://languagetool.svn.sourceforge.net/languagetool/?rev=7746&view=rev Author: dominikoeo Date: 2012-07-22 20:07:34 +0000 (Sun, 22 Jul 2012) Log Message: ----------- [fr] fixed false positive in: "Je parle anglais mais je ne suis pas Anglais." "Le poules du couvent couvent."
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-07-22 19:40:55 UTC (rev 7745) +++ trunk/JLanguageTool/src/rules/fr/grammar.xml 2012-07-22 20:07:34 UTC (rev 7746) @@ -22165,7 +22165,7 @@ <rulegroup id="LANGUES" name="langues"> <rule> <pattern> - <token inflected="yes" regexp="yes" skip="8">parler|cours|leçon|apprendre|étudier|traduire|enseigner|professeur|enseignant|dictionnaire|méthode</token> + <token inflected="yes" regexp="yes" skip="5">parler|cours|leçon|apprendre|étudier|traduire|enseigner|professeur|enseignant|dictionnaire|méthode</token> <marker> <token regexp="yes">(?-i)Afrikaans|Albanais|Allemand|Alsacien|Anglais|Arabe|Aragonais|Aroumain|Arménien|Asturien|Awadhi|Basque|Bengali|Biélorusse|Birman|Bhojpuri|Bosniaque|Breton|Bulgare|Cantonais|Catalan|Chamorro|Cherokee|Chinois|Corse|Cornique|Coréen|Croate|Danois|Divehi|Écossais|Espagnol|Espéranto|Estonien|Féroïen|Farsi|[FP]ilipino|Finnois|Flamand|Français|Frison|Galicien|Gallois|Gaulois|Géorgien|Grec|Gujarati|Hakka|Haoussa|Hawaïen|Hébreu|Hindi|Hmong|Hollandais|Hongrois|Javanais|Ido|Indonésien|Interlingua|Islandais|Italien|Irlandais|Japonais|Jinyu|Kanna[dr]a|Kazakh|Kikongo|Klingon|Khmer|Kurde|Ladino|Laotien|Latin|Ligurien|Limbourgeois|Lituanien|Lojban|Lombard|Luxembourgeois|Macédonien|Maithili|Malais|Malayalam|Maldivien|Malgache|Maltais|Mandarin|Mannois|Maori|Marathi|Marwari|Moldave|Mongol|Mooré|Napolitain|Néerlandais|Norvégien|Occitan|Oriya|Ourdou|Ouzbek|Persan|Peul|Piémontais|Polonais|Portugais|Provençal|Quechua|Romanche|Roumain|Russe|Sans[ck]rit|Sarde|Serbe|Sicilien|Sindhi|Slovaque|Slovène|Soundanais|Sorabe|Suédois|Swahili|Tagalog|Tahitien|Tamoul|Tatar|Tchèque|Télogou|Thaï|Turc|Ukrainien|Vénitien|Vietnamien|Volapük|Wallon|Wo?u|Yiddish|Xhosa|Xiang|Zoulou<exception scope="previous" inflected="yes">être</exception><exception scope="previous" regexp="yes">en|[dl]es|une?</exception> </token> @@ -22174,6 +22174,7 @@ <message>Les noms de langues n’ont pas de majuscule en français.</message> <example type="incorrect">Mon professeur d’<marker>Anglais</marker> est Irlandais.</example> <example type="correct">Mon professeur d’anglais est Irlandais.</example> + <example type="correct">Je parle anglais mais je ne suis pas Anglais.</example> </rule> <rule> <pattern> @@ -22388,7 +22389,7 @@ <exception postag="N m s">est</exception> </token> <token spacebefore="yes"> - <exception regexp="yes">vous|nous|mieux|faire|en|donnant</exception><match no="0"/> + <exception regexp="yes">vous|nous|mieux|faire|en|donnant|couvent</exception><match no="0"/> </token> </pattern> <message>Faute de frappe possible : un mot est répété : \1 \2. Correction : <suggestion>\1</suggestion>.</message> @@ -22401,6 +22402,7 @@ <example type="correct">C’est donnant donnant</example> <example type="incorrect">Il <marker>est est</marker> de ce coté.</example> <example type="correct">L’est est de ce coté.</example> + <example type="correct">Les poules du couvent couvent.</example> </rule> <rule> <pattern> 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