org.languagetool.rules.uk
Class MorfologikUkrainianSpellerRule

java.lang.Object
  extended by org.languagetool.rules.Rule
      extended by org.languagetool.rules.spelling.SpellingCheckRule
          extended by org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
              extended by org.languagetool.rules.uk.MorfologikUkrainianSpellerRule

public final class MorfologikUkrainianSpellerRule
extends MorfologikSpellerRule


Field Summary
 
Fields inherited from class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
conversionLocale, speller
 
Fields inherited from class org.languagetool.rules.spelling.SpellingCheckRule
language
 
Fields inherited from class org.languagetool.rules.Rule
messages
 
Constructor Summary
MorfologikUkrainianSpellerRule(ResourceBundle messages, Language language)
           
 
Method Summary
 String getFileName()
           
 String getId()
           
protected  boolean ignoreToken(AnalyzedTokenReadings[] tokens, int idx)
           
protected  boolean isMisspelled(MorfologikSpeller speller, String word)
           
 
Methods inherited from class org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule
getAdditionalSuggestions, getDescription, match, orderSuggestions, removeAccents, setIgnoreTaggedWords, setLocale, tokenizingPattern
 
Methods inherited from class org.languagetool.rules.spelling.SpellingCheckRule
addIgnoreTokens, ignoreWord, init, isSpellingRule, isUrl, reset, resetIgnoreTokens, setConsiderIgnoreWords
 
Methods inherited from class org.languagetool.rules.Rule
addRuleMatch, clearMatches, getCategory, getCorrectExamples, getIncorrectExamples, getLocQualityIssueType, getMatches, getMatchesIndex, getUrl, isDefaultOff, isInMatches, isInRemoved, isParagraphBackTrack, setAsDeleted, setCategory, setCorrectExamples, setDefaultOff, setIncorrectExamples, setLocQualityIssueType, setParagraphBackTrack, setUrl, supportsLanguage, toRuleMatchArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MorfologikUkrainianSpellerRule

public MorfologikUkrainianSpellerRule(ResourceBundle messages,
                                      Language language)
                               throws IOException
Throws:
IOException
Method Detail

getFileName

public String getFileName()
Specified by:
getFileName in class MorfologikSpellerRule

getId

public String getId()
Specified by:
getId in class MorfologikSpellerRule

ignoreToken

protected boolean ignoreToken(AnalyzedTokenReadings[] tokens,
                              int idx)
                       throws IOException
Overrides:
ignoreToken in class SpellingCheckRule
Throws:
IOException

isMisspelled

protected boolean isMisspelled(MorfologikSpeller speller,
                               String word)
Overrides:
isMisspelled in class MorfologikSpellerRule


Copyright © 2013. All Rights Reserved.