/* LanguageTool, a natural language style checker 
 * Copyright (C) 2012 Marcin Miłkowski (http://www.languagetool.org)
 * 
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
 * USA
 */

package org.languagetool.rules.ru;

import java.io.IOException;
import java.util.ResourceBundle;

import org.languagetool.Language;
import org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule;

public final class MorfologikRussianSpellerRule extends MorfologikSpellerRule {

  public static final String RULE_ID = "MORFOLOGIK_RULE_RU_RU";

  private static final String RESOURCE_FILENAME = "/ru/hunspell/ru_RU.dict";

  public MorfologikRussianSpellerRule(ResourceBundle messages, Language language) throws IOException {
    super(messages, language);
  }

  @Override
  public String getFileName() {
    return RESOURCE_FILENAME;
  }

  @Override
  public String getId() {
    return RULE_ID;
  }

}

@@ -1018,16 +1018,56 @@
 guage;%0D%0A
+import org.languagetool.rules.Example;%0D%0A
 import o
@@ -1500,16 +1500,310 @@
 uage);%0D%0A
+    addExamplePair(Example.wrong(%22%D0%92%D1%81%D0%B5 %D1%81%D1%87%D0%B0%D1%81%D1%82%D0%BB%D0%B8%D0%B2%D1%8B%D0%B5 %D1%81%D0%B5%D0%BC%D1%8C%D0%B8 %D0%BF%D0%BE%D1%85%D0%BE%D0%B6%D0%B8 %D0%B4%D1%80%D1%83%D0%B3 %D0%BD%D0%B0 %D0%B4%D1%80%D1%83%D0%B3%D0%B0, %3Cmarker%3E%D0%BA%D0%B0%D0%B6%D0%B4%D1%8F%3C/marker%3E %D0%BD%D0%B5%D1%81%D1%87%D0%B0%D1%81%D1%82%D0%BB%D0%B8%D0%B2%D0%B0%D1%8F %D1%81%D0%B5%D0%BC%D1%8C%D1%8F %D0%BD%D0%B5%D1%81%D1%87%D0%B0%D1%81%D1%82%D0%BB%D0%B8%D0%B2%D0%B0 %D0%BF%D0%BE-%D1%81%D0%B2%D0%BE%D0%B5%D0%BC%D1%83.%22),%0D%0A                   Example.fixed(%22%D0%92%D1%81%D0%B5 %D1%81%D1%87%D0%B0%D1%81%D1%82%D0%BB%D0%B8%D0%B2%D1%8B%D0%B5 %D1%81%D0%B5%D0%BC%D1%8C%D0%B8 %D0%BF%D0%BE%D1%85%D0%BE%D0%B6%D0%B8 %D0%B4%D1%80%D1%83%D0%B3 %D0%BD%D0%B0 %D0%B4%D1%80%D1%83%D0%B3%D0%B0, %3Cmarker%3E%D0%BA%D0%B0%D0%B6%D0%B4%D0%B0%D1%8F%3C/marker%3E %D0%BD%D0%B5%D1%81%D1%87%D0%B0%D1%81%D1%82%D0%BB%D0%B8%D0%B2%D0%B0%D1%8F %D1%81%D0%B5%D0%BC%D1%8C%D1%8F %D0%BD%D0%B5%D1%81%D1%87%D0%B0%D1%81%D1%82%D0%BB%D0%B8%D0%B2%D0%B0 %D0%BF%D0%BE-%D1%81%D0%B2%D0%BE%D0%B5%D0%BC%D1%83.%22));%0D%0A
   %7D%0D%0A%0D%0A 

add example pair