Package org.languagetool.language
Class Japanese
java.lang.Object
org.languagetool.Language
org.languagetool.language.Japanese
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates language specific sentence tokenizer.Creates language specific part-of-speech tagger.Creates language specific word tokenizer.A file with commons words, either in the classpath or as a filename in the file system.String[]Get this language's country options , e.g.Get the name(s) of the maintainer(s) for this language ornull.getName()Get this language's name in English, e.g.getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Get the rules classes that should run for texts in this language.Get this language's character code, e.g.Methods inherited from class org.languagetool.Language
adaptSuggestion, adjustMatch, createDefaultChunker, createDefaultDisambiguator, createDefaultJLanguageTool, createDefaultPostDisambiguationChunker, createDefaultSpellingRule, createDefaultSynthesizer, equals, equalsConsiderVariantsIfSpecified, filterRuleMatches, getChunker, getClosingDoubleQuote, getClosingSingleQuote, getConsistencyRulePrefix, getDefaultDisabledRulesForVariant, getDefaultEnabledRulesForVariant, getDefaultLanguageVariant, getDefaultRulePriorityForStyle, getDefaultSpellingRule, getDefaultSpellingRule, getDisambiguationUnifier, getDisambiguationUnifierConfiguration, getDisambiguator, getIgnoredCharactersRegex, getLanguageModel, getLocale, getLocaleWithCountryAndVariant, getMaintainedState, 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
-
Japanese
public Japanese()
-
-
Method Details
-
getShortCode
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
-
getName
Description copied from class:LanguageGet this language's name in English, e.g.EnglishorGerman (Germany). -
getCountries
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.
-
getCommonWordsPath
Description copied from class:LanguageA file with commons words, either in the classpath or as a filename in the file system.- Overrides:
getCommonWordsPathin classLanguage
-
getMaintainers
Description copied from class:LanguageGet the name(s) of the maintainer(s) for this language ornull.- Specified by:
getMaintainersin classLanguage
-
getRelevantRules
public List<Rule> getRelevantRules(ResourceBundle messages, UserConfig userConfig, Language motherTongue, List<Language> altLanguages) Description copied from class:LanguageGet the rules classes that should run for texts in this language.- Specified by:
getRelevantRulesin classLanguage
-
createDefaultTagger
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
-
createDefaultWordTokenizer
Description copied from class:LanguageCreates language specific word tokenizer. This function will be called each time inLanguage.getWordTokenizer()if word tokenizer is not set.- Overrides:
createDefaultWordTokenizerin classLanguage
-
createDefaultSentenceTokenizer
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
-