Package org.languagetool.language
Class Swedish
java.lang.Object
org.languagetool.Language
org.languagetool.language.Swedish
Deprecated.
this language is unmaintained in LT and might be removed in a future release if we cannot find contributors for it (deprecated since 3.6)
Actively maintained since v6.2+
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Creates language specific disambiguator.Deprecated.Creates language specific sentence tokenizer.protected SpellingCheckRulecreateDefaultSpellingRule(ResourceBundle messages) Deprecated.Deprecated.Creates language specific part-of-speech synthesizer.Deprecated.Creates language specific part-of-speech tagger.String[]Deprecated.Get this language's country options , e.g.Deprecated.Information about whether the support for this language in LanguageTool is actively maintained.Deprecated.Get the name(s) of the maintainer(s) for this language ornull.getName()Deprecated.Get this language's name in English, e.g.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Deprecated.Get the rules classes that should run for texts in this language.Deprecated.Get this language's character code, e.g.Methods inherited from class org.languagetool.Language
adaptSuggestion, adjustMatch, createDefaultChunker, createDefaultJLanguageTool, createDefaultPostDisambiguationChunker, createDefaultWordTokenizer, equals, equalsConsiderVariantsIfSpecified, filterRuleMatches, getChunker, getClosingDoubleQuote, getClosingSingleQuote, getCommonWordsPath, getConsistencyRulePrefix, getDefaultDisabledRulesForVariant, getDefaultEnabledRulesForVariant, getDefaultLanguageVariant, getDefaultRulePriorityForStyle, getDefaultSpellingRule, getDefaultSpellingRule, getDisambiguationUnifier, getDisambiguationUnifierConfiguration, getDisambiguator, getIgnoredCharactersRegex, getLanguageModel, getLocale, getLocaleWithCountryAndVariant, getMultitokenSpeller, getOpeningDoubleQuote, getOpeningSingleQuote, getPatternRules, getPostDisambiguationChunker, getPriorityForId, getPriorityMap, getRelevantLanguageModelCapableRules, getRelevantLanguageModelRules, getRelevantRemoteRules, getRelevantRulesGlobalConfig, getRemoteEnhancedRules, getRuleFileNames, getRulePriority, getSentenceTokenizer, getShortCodeWithCountryAndVariant, getSynthesizer, getTagger, getTranslatedName, getUnifier, getUnifierConfiguration, getVariant, getWordTokenizer, hashCode, hasMinMatchesRules, hasNGramFalseFriendRule, hasVariant, isAdvancedTypographyEnabled, isExternal, isHiddenFromGui, isSpellcheckOnlyLanguage, isVariant, prepareLineForSpeller, setChunker, setDisambiguator, setPostDisambiguationChunker, setSentenceTokenizer, setSynthesizer, setTagger, setWordTokenizer, toAdvancedTypography, toString
-
Constructor Details
-
Swedish
public Swedish()Deprecated.
-
-
Method Details
-
getName
Deprecated.Description copied from class:LanguageGet this language's name in English, e.g.EnglishorGerman (Germany). -
getShortCode
Deprecated.Description copied from class:LanguageGet this language's character code, e.g.enfor English. For most languages this is a two-letter code according to ISO 639-1, but for those languages that don't have a two-letter code, a three-letter code according to ISO 639-2 is returned. The country parameter (e.g. "US"), if any, is not returned.- Specified by:
getShortCodein classLanguage
-
getCountries
Deprecated.Description copied from class:LanguageGet this language's country options , e.g.US(as inen-US) orPL(as inpl-PL).- Specified by:
getCountriesin classLanguage- Returns:
- String[] - array of country options for the language.
-
createDefaultTagger
Deprecated.Description copied from class:LanguageCreates language specific part-of-speech tagger. The tagger must not benull, but it can be a trivial pseudo-tagger that only assignsnulltags. This function will be called each time inLanguage.getTagger()()} if tagger is not set.- Overrides:
createDefaultTaggerin classLanguage
-
createDefaultSentenceTokenizer
Deprecated.Description copied from class:LanguageCreates language specific sentence tokenizer. This function will be called each time inLanguage.getSentenceTokenizer()if sentence tokenizer is not set.- Overrides:
createDefaultSentenceTokenizerin classLanguage
-
createDefaultDisambiguator
Deprecated.Description copied from class:LanguageCreates language specific disambiguator. This function will be called each time inLanguage.getDisambiguator()if disambiguator is not set.- Overrides:
createDefaultDisambiguatorin classLanguage
-
createDefaultSynthesizer
Deprecated.Description copied from class:LanguageCreates language specific part-of-speech synthesizer. This function will be called each time inLanguage.getSynthesizer()if synthesizer is not set.- Overrides:
createDefaultSynthesizerin classLanguage
-
getMaintainers
Deprecated.Description copied from class:LanguageGet the name(s) of the maintainer(s) for this language ornull.- Specified by:
getMaintainersin classLanguage
-
getMaintainedState
Deprecated.Description copied from class:LanguageInformation about whether the support for this language in LanguageTool is actively maintained. If not, the user interface might show a warning.- Overrides:
getMaintainedStatein classLanguage
-
getRelevantRules
public List<Rule> getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) throws IOException Deprecated.Description copied from class:LanguageGet the rules classes that should run for texts in this language.- Specified by:
getRelevantRulesin classLanguage- Throws:
IOException
-
createDefaultSpellingRule
@Nullable protected SpellingCheckRule createDefaultSpellingRule(ResourceBundle messages) throws IOException Deprecated.- Overrides:
createDefaultSpellingRulein classLanguage- Throws:
IOException
-