Revision: 7928
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7928&view=rev
Author:   dominikoeo
Date:     2012-08-26 15:01:19 +0000 (Sun, 26 Aug 2012)
Log Message:
-----------
[fr] fixed false positive in "Il est torse nu."

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-08-26 
11:24:29 UTC (rev 7927)
+++ trunk/JLanguageTool/src/resource/fr/disambiguation.xml      2012-08-26 
15:01:19 UTC (rev 7928)
@@ -719,7 +719,7 @@
         <pattern>
             <token postag="V etre .*" postag_regexp="yes" skip="2"/>
             <marker>
-                <token postag="J.*" postag_regexp="yes"/>
+                <token postag="J.*" 
postag_regexp="yes"><exception>torse</exception></token>
             </marker>
         </pattern>
         <disambig><match no="2" postag_regexp="yes" postag="J.*"/></disambig>

Modified: trunk/JLanguageTool/src/rules/fr/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/fr/grammar.xml        2012-08-26 11:24:29 UTC 
(rev 7927)
+++ trunk/JLanguageTool/src/rules/fr/grammar.xml        2012-08-26 15:01:19 UTC 
(rev 7928)
@@ -3075,6 +3075,7 @@
                 <example type="correct"><marker>Telle est</marker> la 
question.</example>
                 <example type="correct"><marker>La plus forte</marker> 
progression.</example>
                 <example type="correct">C’est une sale affaire.</example>
+                <example type="correct">Il est <marker>torse 
nu</marker>.</example>
             </rule>
             <rule name="nom féminin suivi du masculin">
                 <pattern>
@@ -3484,6 +3485,7 @@
                     <marker>
                         <token postag="V.* ppa f .*|J f .*" 
postag_regexp="yes">
                             <exception>même</exception>
+                            <exception postag="[JN] [me].*" 
postag_regexp="yes"/>
                         </token>
                     </marker>
                 </pattern>
@@ -3495,6 +3497,7 @@
                 <example type="correct">Ils sont même resté ici.</example>
                 <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>
             </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

Reply via email to