Revision: 7534
http://languagetool.svn.sourceforge.net/languagetool/?rev=7534&view=rev
Author: yakovru
Date: 2012-06-27 21:02:21 +0000 (Wed, 27 Jun 2012)
Log Message:
-----------
[ru] add morfologik-speller dictionary for Russian
Added Paths:
-----------
trunk/JLanguageTool/src/java/org/languagetool/rules/ru/MorfologikRussianSpellerRule.java
Added:
trunk/JLanguageTool/src/java/org/languagetool/rules/ru/MorfologikRussianSpellerRule.java
===================================================================
---
trunk/JLanguageTool/src/java/org/languagetool/rules/ru/MorfologikRussianSpellerRule.java
(rev 0)
+++
trunk/JLanguageTool/src/java/org/languagetool/rules/ru/MorfologikRussianSpellerRule.java
2012-06-27 21:02:21 UTC (rev 7534)
@@ -0,0 +1,46 @@
+/* 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.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) {
+ super(messages, language);
+ }
+
+ @Override
+ public String getFileName() {
+ return RESOURCE_FILENAME;
+ }
+
+ public final String getId() {
+ return RULE_ID;
+ }
+
+}
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs