Revision: 9791
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9791&view=rev
Author:   yakovru
Date:     2013-03-26 19:38:28 +0000 (Tue, 26 Mar 2013)
Log Message:
-----------
[ru] Update rules

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

Modified: 
trunk/languagetool/languagetool-language-modules/ru/src/main/resources/org/languagetool/rules/ru/grammar.xml
===================================================================
--- 
trunk/languagetool/languagetool-language-modules/ru/src/main/resources/org/languagetool/rules/ru/grammar.xml
        2013-03-25 22:31:22 UTC (rev 9790)
+++ 
trunk/languagetool/languagetool-language-modules/ru/src/main/resources/org/languagetool/rules/ru/grammar.xml
        2013-03-26 19:38:28 UTC (rev 9791)
@@ -183,11 +183,11 @@
                 <pattern>
                     <!--           NN:.*   VB:.*    и      NN:.*   VB:.*       
TODO: Need improve    -->
                     <marker>
-                        <token postag="VB:.*" postag_regexp="yes" ></token>    
       
+                        <token postag="VB:.*" postag_regexp="yes" ><exception 
scope="previous" regexp="yes">[\p{Punct}]</exception></token>           
                         <token postag="NN:.*" postag_regexp="yes" 
skip="-1"><exception regexp="yes" scope="next">,|-</exception></token>
                         <token skip="-1">и</token>
                         <token postag="VB:.*" postag_regexp="yes" ></token>    
       
-                        <token postag="NN:.*" postag_regexp="yes" ><exception 
regexp="yes" scope="next">,|-</exception></token>
+                        <token postag="NN:.*" postag_regexp="yes" ><exception 
regexp="yes" scope="next">[\p{Punct}]|-</exception></token>
                     </marker>
                     <token>.</token>
                 </pattern>
@@ -201,11 +201,11 @@
                 <pattern>
                     <!--             VB:.*   NN:.*   и      VB:.*   NN:.*     
-->
                     <marker>
-                        <token postag="NN:.*" postag_regexp="yes"></token>     
      
+                        <token postag="NN:.*" postag_regexp="yes"><exception 
scope="previous" regexp="yes">[\p{Punct}]</exception></token>           
                         <token postag="VB:.*" postag_regexp="yes" 
skip="-1"><exception  regexp="yes" scope="next">,|-</exception></token>
                         <token skip="-1">и</token>
                         <token postag="NN:.*" postag_regexp="yes"></token>     
      
-                        <token postag="VB:.*" postag_regexp="yes" ><exception 
regexp="yes" scope="next">,|-</exception></token>
+                        <token postag="VB:.*" postag_regexp="yes" ><exception 
regexp="yes" scope="next">[\p{Punct}]|-</exception></token>
                     </marker>
                     <token>.</token>
                 </pattern>

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to