Package org.languagetool
Class DynamicHunspellLanguage
- java.lang.Object
-
- org.languagetool.Language
-
- org.languagetool.DynamicLanguage
-
- org.languagetool.DynamicHunspellLanguage
-
class DynamicHunspellLanguage extends DynamicLanguage
-
-
Field Summary
-
Fields inherited from class org.languagetool.DynamicLanguage
code, dictPath, name
-
-
Constructor Summary
Constructors Constructor Description DynamicHunspellLanguage(java.lang.String name, java.lang.String code, java.io.File dictPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Rule>
getRelevantRules(java.util.ResourceBundle messages, UserConfig userConfig, Language motherTongue, java.util.List<Language> altLanguages)
Get the rules classes that should run for texts in this language.-
Methods inherited from class org.languagetool.DynamicLanguage
getCommonWordsPath, getCountries, getMaintainers, getName, getPatternRules, getRuleFileNames, getShortCode, isSpellcheckOnlyLanguage
-
Methods inherited from class org.languagetool.Language
equals, equalsConsiderVariantsIfSpecified, getChunker, getDefaultDisabledRulesForVariant, getDefaultEnabledRulesForVariant, getDefaultLanguageVariant, getDisambiguationUnifier, getDisambiguationUnifierConfiguration, getDisambiguator, getIgnoredCharactersRegex, getLanguageModel, getLocale, getLocaleWithCountryAndVariant, getMaintainedState, getPostDisambiguationChunker, getPriorityForId, getRelevantLanguageModelCapableRules, getRelevantLanguageModelRules, getRelevantNeuralNetworkModels, getRelevantRulesGlobalConfig, getRelevantWord2VecModelRules, getSentenceTokenizer, getShortCodeWithCountryAndVariant, getSynthesizer, getTagger, getTranslatedName, getUnifier, getUnifierConfiguration, getVariant, getWord2VecModel, getWordTokenizer, hashCode, hasNGramFalseFriendRule, hasVariant, initLanguageModel, isExternal, isHiddenFromGui, isVariant, toString
-
-
-
-
Method Detail
-
getRelevantRules
public java.util.List<Rule> getRelevantRules(java.util.ResourceBundle messages, UserConfig userConfig, Language motherTongue, java.util.List<Language> altLanguages) throws java.io.IOException
Description copied from class:Language
Get the rules classes that should run for texts in this language.- Specified by:
getRelevantRules
in classLanguage
- Throws:
java.io.IOException
-
-