Revision: 9733
http://languagetool.svn.sourceforge.net/languagetool/?rev=9733&view=rev
Author: dominikoeo
Date: 2013-03-19 21:08:37 +0000 (Tue, 19 Mar 2013)
Log Message:
-----------
[fr] fixed false alarms in rule ETRE_VPPA_OU_ADJ.
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-03-19 21:04:24 UTC (rev 9732)
+++
trunk/languagetool/languagetool-language-modules/fr/src/main/resources/org/languagetool/rules/fr/grammar.xml
2013-03-19 21:08:37 UTC (rev 9733)
@@ -4460,7 +4460,7 @@
<token regexp="yes">(est|était|fût|serait|sera-t)-elle</token>
<marker>
<token postag="[VJ] .*" postag_regexp="yes">
- <exception postag="V ppa [fe] sp?|[JZ] [fe] sp?"
postag_regexp="yes"/>
+ <exception postag="V ppa [fe] sp?|[JNZ] [fe] sp?"
postag_regexp="yes"/>
</token>
</marker>
</pattern>
@@ -4475,13 +4475,15 @@
<example type="incorrect">Est-elle <marker>souriants</marker>
?</example>
<example type="incorrect">Est-elle <marker>souriantes</marker>
?</example>
<example type="correct">Est-elle <marker>souriante</marker> ?</example>
+ <example type="incorrect">Est-elle <marker>aveugles</marker>
?</example>
+ <example type="correct">Est-elle <marker>aveugle</marker> ?</example>
</rule>
<rule>
<pattern>
<token
regexp="yes">(sont|étaient|furent|seraient|seront)-elles</token>
<marker>
<token postag="[VJ] .*" postag_regexp="yes">
- <exception postag="V ppa [fe] s?p|[JZ] [fe] s?p"
postag_regexp="yes"/>
+ <exception postag="V ppa [fe] s?p|[JNZ] [fe] s?p"
postag_regexp="yes"/>
</token>
</marker>
</pattern>
@@ -4496,13 +4498,15 @@
<example type="incorrect">Sont-elles <marker>souriants</marker>
?</example>
<example type="incorrect">Sont-elles <marker>souriante</marker>
?</example>
<example type="correct">Sont-elles <marker>souriantes</marker>
?</example>
+ <example type="incorrect">Sont-elles <marker>aveugle</marker>
?</example>
+ <example type="correct">Sont-elles <marker>aveugles</marker>
?</example>
</rule>
<rule>
<pattern>
<token regexp="yes">(est|était|fût|serait|sera-t)-il</token>
<marker>
<token postag="[VJ] .*" postag_regexp="yes">
- <exception postag="V ppa [me] sp?|[JZ] [me] sp?"
postag_regexp="yes"/>
+ <exception postag="V ppa [me] sp?|[JNZ] [me] sp?"
postag_regexp="yes"/>
</token>
</marker>
</pattern>
@@ -4517,13 +4521,15 @@
<example type="incorrect">Est-il <marker>souriants</marker> ?</example>
<example type="incorrect">Est-il <marker>souriantes</marker>
?</example>
<example type="correct">Est-il <marker>souriant</marker> ?</example>
+ <example type="incorrect">Est-il <marker>aveugles</marker> ?</example>
+ <example type="correct">Est-il <marker>aveugle</marker> ?</example>
</rule>
<rule>
<pattern>
<token regexp="yes">(sont|étaient|furent|seraient|seront)-ils</token>
<marker>
<token postag="[VJ] .*" postag_regexp="yes">
- <exception postag="V ppa [me] s?p|[JZ] [me] s?p"
postag_regexp="yes"/>
+ <exception postag="V ppa [me] s?p|[JNZ] [me] s?p"
postag_regexp="yes"/>
</token>
</marker>
</pattern>
@@ -4538,6 +4544,8 @@
<example type="incorrect">Sont-ils <marker>souriante</marker>
?</example>
<example type="incorrect">Sont-ils <marker>souriantes</marker>
?</example>
<example type="correct">Sont-ils <marker>souriants</marker> ?</example>
+ <example type="incorrect">Sont-ils <marker>aveugle</marker> ?</example>
+ <example type="correct">Sont-ils <marker>aveugles</marker> ?</example>
</rule>
<rule>
<pattern>
@@ -4545,7 +4553,7 @@
<token
regexp="yes">assez|beaucoup|bien|déjà|encore|enfin|juste|mieux|moins|parfois|pas|peut-être|plus|presque|toujours|trop</token>
<marker>
<token postag="[VJ] .*" postag_regexp="yes">
- <exception postag="V ppa [fe] sp?|[JZ] [fe] sp?"
postag_regexp="yes"/>
+ <exception postag="V ppa [fe] sp?|[JNZ] [fe] sp?"
postag_regexp="yes"/>
</token>
</marker>
</pattern>
@@ -4560,6 +4568,8 @@
<example type="incorrect">Est-elle déjà <marker>souriants</marker>
?</example>
<example type="incorrect">Est-elle déjà <marker>souriantes</marker>
?</example>
<example type="correct">Est-elle déjà <marker>souriante</marker>
?</example>
+ <example type="incorrect">Est-elle encore <marker>aveugles</marker>
?</example>
+ <example type="correct">Est-elle encore <marker>aveugle</marker>
?</example>
</rule>
<rule>
<pattern>
@@ -4567,7 +4577,7 @@
<token
regexp="yes">assez|beaucoup|bien|déjà|encore|enfin|juste|mieux|moins|parfois|pas|peut-être|plus|presque|toujours|trop</token>
<marker>
<token postag="[VJ] .*" postag_regexp="yes">
- <exception postag="V ppa [fe] s?p|[JZ] [fe] s?p"
postag_regexp="yes"/>
+ <exception postag="V ppa [fe] s?p|[JNZ] [fe] s?p"
postag_regexp="yes"/>
</token>
</marker>
</pattern>
@@ -4582,6 +4592,8 @@
<example type="incorrect">Sont-elles déjà <marker>souriants</marker>
?</example>
<example type="incorrect">Sont-elles déjà <marker>souriante</marker>
?</example>
<example type="correct">Sont-elles déjà <marker>souriantes</marker>
?</example>
+ <example type="incorrect">Ne sont-elles pas <marker>aveugle</marker>
?</example>
+ <example type="correct">Ne sont-elles pas <marker>aveugles</marker>
?</example>
</rule>
<rule>
<pattern>
@@ -4589,7 +4601,7 @@
<token
regexp="yes">assez|beaucoup|bien|déjà|encore|enfin|juste|mieux|moins|parfois|pas|peut-être|plus|presque|toujours|trop</token>
<marker>
<token postag="[VJ] .*" postag_regexp="yes">
- <exception postag="V ppa [me] sp?|[JZ] [me] sp?"
postag_regexp="yes"/>
+ <exception postag="V ppa [me] sp?|[JNZ] [me] sp?"
postag_regexp="yes"/>
</token>
</marker>
</pattern>
@@ -4604,6 +4616,8 @@
<example type="incorrect">Est-il déjà <marker>souriants</marker>
?</example>
<example type="incorrect">Est-il déjà <marker>souriantes</marker>
?</example>
<example type="correct">Est-il déjà <marker>sourianes</marker>
?</example>
+ <example type="incorrect">N’est-il pas <marker>aveugles</marker>
?</example>
+ <example type="correct">N’est-il pas <marker>aveugle</marker>
?</example>
</rule>
<rule>
<pattern>
@@ -4611,7 +4625,7 @@
<token
regexp="yes">assez|beaucoup|bien|déjà|encore|enfin|juste|mieux|moins|parfois|pas|peut-être|plus|presque|toujours|trop</token>
<marker>
<token postag="[VJ] .*" postag_regexp="yes">
- <exception postag="V ppa [me] s?p|[JZ] [me] s?p"
postag_regexp="yes"/>
+ <exception postag="V ppa [me] s?p|[JNZ] [me] s?p"
postag_regexp="yes"/>
</token>
</marker>
</pattern>
@@ -4626,6 +4640,8 @@
<example type="incorrect">Sont-ils déjà <marker>souriante</marker>
?</example>
<example type="incorrect">Sont-ils déjà <marker>souriantes</marker>
?</example>
<example type="correct">Sont-ils déjà <marker>souriants</marker>
?</example>
+ <example type="incorrect">Ne sont-ils pas <marker>aveugle</marker>
?</example>
+ <example type="correct">Ne sont-ils pas <marker>aveugles</marker>
?</example>
</rule>
<rule>
<pattern>
@@ -4652,7 +4668,7 @@
<token
regexp="yes">assez|beaucoup|bien|déjà|encore|enfin|juste|mieux|moins|parfois|pas|peut-être|plus|presque|toujours|trop</token>
<marker>
<token postag="[VJ] .*" postag_regexp="yes">
- <exception postag="V ppa . sp?|[JZ] . sp?" postag_regexp="yes"/>
+ <exception postag="V ppa . sp?|[JNZ] . sp?" postag_regexp="yes"/>
</token>
</marker>
</pattern>
@@ -4663,13 +4679,15 @@
<example type="incorrect">Es-tu déjà <marker>arrivez</marker>
?</example>
<example type="correct">Es-tu déjà <marker>arrivée</marker> ?</example>
<example type="correct">Es-tu déjà <marker>arrivé</marker> ?</example>
+ <example type="incorrect">Es-tu presque <marker>aveugles</marker>
?</example>
+ <example type="correct">Es-tu presque <marker>aveugle</marker>
?</example>
</rule>
<rule>
<pattern>
<token regexp="yes">(sommes|étions|fûmes|seri?ons)-nous</token>
<marker>
<token postag="[VJ] .*" postag_regexp="yes">
- <exception postag="V ppa . s?p|[JZ] . s?p" postag_regexp="yes"/>
+ <exception postag="V ppa . s?p|[JNZ] . s?p" postag_regexp="yes"/>
</token>
</marker>
</pattern>
@@ -4680,6 +4698,8 @@
<example type="incorrect">Sommes-nous <marker>arrivez</marker>
?</example>
<example type="correct">Sommes-nous <marker>arrivés</marker>
?</example>
<example type="correct">Sommes-nous <marker>arrivées</marker>
?</example>
+ <example type="incorrect">Étions-nous <marker>aveugle</marker>
?</example>
+ <example type="correct">Étions-nous <marker>aveugles</marker>
?</example>
</rule>
<rule>
<pattern>
@@ -4687,7 +4707,7 @@
<token
regexp="yes">assez|beaucoup|bien|déjà|encore|enfin|juste|mieux|moins|parfois|pas|peut-être|plus|presque|toujours|trop</token>
<marker>
<token postag="[VJ] .*" postag_regexp="yes">
- <exception postag="V ppa . s?p|[JZ] . s?p" postag_regexp="yes"/>
+ <exception postag="V ppa . s?p|[JNZ] . s?p" postag_regexp="yes"/>
</token>
</marker>
</pattern>
@@ -4698,6 +4718,8 @@
<example type="incorrect">Sommes-nous déjà <marker>arrivez</marker>
?</example>
<example type="correct">Sommes-nous déjà <marker>arrivés</marker>
?</example>
<example type="correct">Sommes-nous déjà <marker>arrivées</marker>
?</example>
+ <example type="incorrect">Ne sommes-nous pas <marker>aveugle</marker>
?</example>
+ <example type="correct">Ne sommes-nous pas <marker>aveugles</marker>
?</example>
</rule>
</rulegroup>
<rulegroup id="PEUT_ETRE_VPPA_OU_ADJ" name="peut être + participe présent">
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits