Revision: 8161
http://languagetool.svn.sourceforge.net/languagetool/?rev=8161&view=rev
Author: dominikoeo
Date: 2012-10-06 07:43:19 +0000 (Sat, 06 Oct 2012)
Log Message:
-----------
[fr] fixed false positive in: "On est fatigu?\195?\169s."
Modified Paths:
--------------
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/fr/grammar.xml
Modified:
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/fr/grammar.xml
===================================================================
---
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/fr/grammar.xml
2012-10-06 07:14:15 UTC (rev 8160)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/fr/grammar.xml
2012-10-06 07:43:19 UTC (rev 8161)
@@ -3591,7 +3591,9 @@
<token postag="SENT_START" skip="-1">
<exception scope="next" postag="[NRZ].* [fe] .*"
postag_regexp="yes"/>
</token>
- <token postag="[NZ] m .*|R pers suj 3 m .*|R dem m .*"
postag_regexp="yes"/>
+ <token postag="[NZ] m .*|R pers suj 3 m .*|R dem m .*"
postag_regexp="yes">
+ <exception>on</exception>
+ </token>
<token postag="V etre.* 3 .*" postag_regexp="yes"/>
<marker>
<token postag="V.* ppa f .*|J f .*"
postag_regexp="yes">
@@ -3609,6 +3611,7 @@
<example type="incorrect">Celui-ci est
<marker>restée</marker>.</example>
<example type="correct">Celui-ci est resté.</example>
<example type="correct">Il est <marker>torse</marker>
nu.</example>
+ <example type="correct">On est fatigués.</example>
</rule>
<rule>
<pattern>
@@ -3740,7 +3743,9 @@
<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"/>
<marker>
<token postag="V.* ppa .* p|J . p" postag_regexp="yes">
@@ -3761,6 +3766,7 @@
<example type="incorrect">Celle-là est
<marker>folles</marker>.</example>
<example type="correct">Celle-là est folle.</example>
<example type="correct">Il est casse-couilles.</example>
+ <example type="correct">On est fatigués.</example>
</rule>
<rule>
<pattern>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits