Revision: 8106
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=8106&view=rev
Author:   yakovru
Date:     2012-09-27 20:12:08 +0000 (Thu, 27 Sep 2012)
Log Message:
-----------
[ru] Add exception

Modified Paths:
--------------
    trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ru/grammar.xml

Modified: 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ru/grammar.xml
===================================================================
--- 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ru/grammar.xml    
    2012-09-27 16:57:01 UTC (rev 8105)
+++ 
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ru/grammar.xml    
    2012-09-27 20:12:08 UTC (rev 8106)
@@ -1426,7 +1426,7 @@
             <rule>
                 <pattern>
                     <token regexp="yes">пятеро|шестеро|семеро</token>
-                    <token postag="NN:Fem:.*" postag_regexp="yes"><exception 
regexp = "yes">были|стали</exception></token>
+                    <token postag="NN:Fem:.*" postag_regexp="yes"><exception 
negate_pos="yes" postag="NN:Fem:.*" postag_regexp="yes"></exception><exception 
regexp = "yes">были|стали</exception></token>
                 </pattern>
                 <message>Собирательные числительные (двое, трое, четверо, 
пятеро, шестеро, семеро) не употребляются с существительными женского рода:
                     <suggestion><match no="1" regexp_match="(пят|шест|сем)еро" 
regexp_replace="$1ь"></match> <match no="2"></match></suggestion>
@@ -1440,7 +1440,7 @@
             <rule>
                 <pattern>
                     <token>двое</token>
-                    <token postag="NN:Fem:.*" postag_regexp="yes"><exception 
regexp = "yes">были|стали</exception></token>
+                    <token postag="NN:Fem:.*" postag_regexp="yes"><exception 
negate_pos="yes" postag="NN:Fem:.*" postag_regexp="yes"></exception><exception 
regexp = "yes">были|стали</exception></token>
                 </pattern>
                 <message>Собирательные числительные (двое, трое, четверо, 
пятеро, шестеро, семеро) не употребляются с существительными женского рода:
                     <suggestion>две <match no="2" 
postag="NN:Fem:PL:Nom"></match></suggestion>
@@ -1453,7 +1453,7 @@
             <rule>
                 <pattern>
                     <token>трое</token>
-                    <token postag="NN:Fem:.*" postag_regexp="yes"><exception 
regexp = "yes">были|стали</exception></token>
+                    <token postag="NN:Fem:.*" postag_regexp="yes"><exception 
negate_pos="yes" postag="NN:Fem:.*" postag_regexp="yes"></exception><exception 
regexp = "yes">были|стали</exception></token>
                 </pattern>
                 <message>Собирательные числительные (двое, трое, четверо, 
пятеро, шестеро, семеро) не употребляются с существительными женского рода:
                     <suggestion>три <match no="2" 
postag="NN:Fem:PL:Nom"></match></suggestion>
@@ -1466,7 +1466,7 @@
             <rule>
                 <pattern>
                     <token>четверо</token>
-                    <token postag="NN:Fem:.*" postag_regexp="yes"><exception 
regexp = "yes">были|стали</exception></token>
+                    <token postag="NN:Fem:.*" postag_regexp="yes"><exception 
negate_pos="yes" postag="NN:Fem:.*" postag_regexp="yes"></exception><exception 
regexp = "yes">были|стали</exception></token>
                 </pattern>
                 <message>Собирательные числительные (двое, трое, четверо, 
пятеро, шестеро, семеро) не употребляются с существительными женского рода:
                     <suggestion>четыре <match no="2" 
postag="NN:Fem:PL:Nom"></match></suggestion>

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://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to