Revision: 6829 http://languagetool.svn.sourceforge.net/languagetool/?rev=6829&view=rev Author: yakovru Date: 2012-05-05 19:59:05 +0000 (Sat, 05 May 2012) Log Message: ----------- [ru] update suggestion
Modified Paths: -------------- trunk/JLanguageTool/src/rules/ru/grammar.xml Modified: trunk/JLanguageTool/src/rules/ru/grammar.xml =================================================================== --- trunk/JLanguageTool/src/rules/ru/grammar.xml 2012-05-05 15:58:50 UTC (rev 6828) +++ trunk/JLanguageTool/src/rules/ru/grammar.xml 2012-05-05 19:59:05 UTC (rev 6829) @@ -8,7 +8,7 @@ A Russian grammar rule file for LanguageTool (http://www.languagetool.org) Copyright (C) 2008-2012 Yakov Reztsov -$Id: grammar.xml,v 1.91 2012-04-23 19:20:27 yakovru Exp $ +$Id: grammar.xml,v 1.92 2012-05-05 20:53:53 yakovru Exp $ # REVISION: $Id$ --> <rules lang="ru" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" @@ -1328,8 +1328,8 @@ <token regexp= "yes">оба|обоих|обоим|обоими</token> <token postag="NN:Fem:.*" postag_regexp="yes"><exception negate_pos="yes" postag="NN:Fem:.*" postag_regexp="yes"></exception></token> </pattern> - <message>Числительное оба (обоих, обоим, обоими) употребляется только с существительными мужского рода: <suggestion>обе \2</suggestion>,<suggestion>обеих \2</suggestion>,<suggestion>обеим \2</suggestion>,<suggestion>обеими \2</suggestion>.</message> - <url>http://ru.wikipedia.org/wiki/%D0%A1%D0%BE%D0%B1%D0%B8%D1%80%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D0%BE%D0%B5_%D1%87%D0%B8%D1%81%D0%BB%D0%B8%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D0%BE%D0%B5</url> + <message>Числительное оба (обоих, обоим, обоими) употребляется только с существительными мужского рода: <suggestion><match no="1" postag="Num:.*:(.*)" postag_regexp="yes" postag_replace="Num:Fem:$1"></match> <match no="2" /></suggestion>.</message> + <url>http://ru.wikipedia.org/wiki/%D0%A1%D0%BE%D0%B1%D0%B8%D1%80%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D0%BE%D0%B5_%D1%87%D0%B8%D1%81%D0%BB%D0%B8%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D0%BE%D0%B5</url> <short>Грамматическая ошибка.</short> <example type="correct">По обеим сторонам.</example> <example type="incorrect">По <marker>обоим сторонам</marker>.</example> @@ -1340,7 +1340,7 @@ <token regexp= "yes">обе|обеих|обеим|обеими</token> <token postag="NN:Masc:.*" postag_regexp="yes"><exception negate_pos="yes" postag="NN:Masc:.*" postag_regexp="yes"></exception></token> </pattern> - <message>Числительное обe (обеих, обеим, обеими) употребляется только с существительными женского рода: <suggestion>оба \2</suggestion>,<suggestion>обоих \2</suggestion>,<suggestion>обоим \2</suggestion>,<suggestion>обоими \2</suggestion>.</message> + <message>Числительное обe (обеих, обеим, обеими) употребляется только с существительными женского рода: <suggestion><match no="1" postag="Num:.*:(.*)" postag_regexp="yes" postag_replace="Num:Masc:$1"></match> <match no="2" /></suggestion>.</message> <url>http://ru.wikipedia.org/wiki/%D0%A1%D0%BE%D0%B1%D0%B8%D1%80%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D0%BE%D0%B5_%D1%87%D0%B8%D1%81%D0%BB%D0%B8%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D0%BE%D0%B5</url> <short>Грамматическая ошибка.</short> <example type="correct">На обоих столах.</example> 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