org.languagetool.rules.de
Class GermanSpellerRule

java.lang.Object
  extended by org.languagetool.rules.Rule
      extended by org.languagetool.rules.spelling.SpellingCheckRule
          extended by org.languagetool.rules.spelling.hunspell.HunspellRule
              extended by org.languagetool.rules.spelling.hunspell.CompoundAwareHunspellRule
                  extended by org.languagetool.rules.de.GermanSpellerRule

public class GermanSpellerRule
extends CompoundAwareHunspellRule


Field Summary
static String RULE_ID
           
 
Fields inherited from class org.languagetool.rules.spelling.hunspell.HunspellRule
dictionary, needsInit
 
Fields inherited from class org.languagetool.rules.spelling.SpellingCheckRule
language
 
Fields inherited from class org.languagetool.rules.Rule
messages
 
Constructor Summary
GermanSpellerRule(ResourceBundle messages, Language language)
           
 
Method Summary
 String getId()
           
protected  List<String> sortSuggestionByQuality(String misspelling, List<String> suggestions)
           
 
Methods inherited from class org.languagetool.rules.spelling.hunspell.CompoundAwareHunspellRule
getSuggestions
 
Methods inherited from class org.languagetool.rules.spelling.hunspell.HunspellRule
getDescription, init, match, tokenizeText
 
Methods inherited from class org.languagetool.rules.spelling.SpellingCheckRule
addIgnoreTokens, ignoreToken, ignoreWord, 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
 

Field Detail

RULE_ID

public static final String RULE_ID
See Also:
Constant Field Values
Constructor Detail

GermanSpellerRule

public GermanSpellerRule(ResourceBundle messages,
                         Language language)
Method Detail

getId

public String getId()
Overrides:
getId in class HunspellRule

sortSuggestionByQuality

protected List<String> sortSuggestionByQuality(String misspelling,
                                               List<String> suggestions)
Overrides:
sortSuggestionByQuality in class CompoundAwareHunspellRule


Copyright © 2013. All Rights Reserved.