Revision: 9406
http://languagetool.svn.sourceforge.net/languagetool/?rev=9406&view=rev
Author: dominikoeo
Date: 2013-02-17 18:51:27 +0000 (Sun, 17 Feb 2013)
Log Message:
-----------
[fr] fixed couple of false positives.
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-02-17 18:03:15 UTC (rev 9405)
+++
trunk/languagetool/languagetool-language-modules/fr/src/main/resources/org/languagetool/rules/fr/grammar.xml
2013-02-17 18:51:27 UTC (rev 9406)
@@ -3475,7 +3475,9 @@
<pattern>
<token postag="SENT_START" skip="2"/>
<marker>
- <token postag="N m.*" postag_regexp="yes"/>
+ <token postag="N m.*" postag_regexp="yes">
+ <exception postag="N [fe].*" postag_regexp="yes"/>
+ </token>
<token postag="P"/>
<token regexp="yes">laquelle|lesquelles</token>
</marker>
@@ -3483,6 +3485,7 @@
<message>« \2 » et « \4 » ne semblent pas bien accordés en
genre.</message>
<example type="incorrect">L’<marker>homme avec laquelle</marker> tu
parles</example>
<example type="correct">La <marker>femme avec laquelle</marker> tu
parles</example>
+ <example type="correct">La faux avec laquelle on fauche.</example>
</rule>
<rule>
<pattern>
@@ -4037,7 +4040,7 @@
<exception scope="next" postag="[NR].*p" postag_regexp="yes"/>
<exception scope="next">et</exception>
</token>
- <token postag="Z . sp?|N . s|R pers suj.* s|R dem.* s"
postag_regexp="yes"/>
+ <token postag="Z . sp?|N . s|R pers suj.* s|R dem.* s"
postag_regexp="yes"><exception>on</exception></token>
<token postag="V etre .*s" postag_regexp="yes"/>
<token postag="A"/>
<marker>
@@ -4047,6 +4050,7 @@
<message>Le mot pluriel « \5 » n’est pas accordé en nombre avec le mot
singulier « \2 ».</message>
<example type="incorrect">Tu étais très
<marker>jeunes</marker>.</example>
<example type="correct">Tu étais très jeune.</example>
+ <example type="correct">On était tellement
<marker>fatigués</marker>.</example>
</rule>
<rule>
<pattern>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
is your hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials, tech docs,
whitepapers, evaluation guides, and opinion stories. Check out the most
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits