Uses of Enum Class
com.yahoo.language.Language
Packages that use Language
Package
Description
-
Uses of Language in com.yahoo.language
Methods in com.yahoo.language that return LanguageModifier and TypeMethodDescriptionstatic LanguageReturns the Language from a language tagstatic LanguageLanguage.fromEncoding(String encoding) Returns the language from an encoding, orUNKNOWNif it cannot be determined.static LanguageLanguage.fromLanguageTag(String languageTag) Convenience method for callingfromLocale(LocaleFactory.fromLanguageTag(languageTag)).static LanguageLanguage.fromLocale(Locale locale) Returns theLanguagewhoselanguageCode()is equal tolocale.getLanguage(), with the following additions:static LanguageReturns the enum constant of this class with the specified name.static Language[]Language.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of Language in com.yahoo.language.detect
Methods in com.yahoo.language.detect that return LanguageConstructors in com.yahoo.language.detect with parameters of type Language -
Uses of Language in com.yahoo.language.process
Methods in com.yahoo.language.process that return LanguageModifier and TypeMethodDescriptionInvocationContext.getLanguage()Returns the language of the text, or UNKNOWN (default) to use a language independent invocation.LinguisticsParameters.language()Returns the value of thelanguagerecord component.Methods in com.yahoo.language.process with parameters of type LanguageModifier and TypeMethodDescriptionTransformer.accentDrop(String input, Language language) Remove accents from input text.Returns a list of segments produced from a string.InvocationContext.setLanguage(Language language) Sets the language of the text, or UNKNOWN to use language a independent invocation.Deprecated.use #stem(String, LinguisticsParameters)Deprecated.use #stem(String, LinguisticsParameters)Deprecated.use #tokenize(String, LinguisticsParameters)Constructors in com.yahoo.language.process with parameters of type LanguageModifierConstructorDescriptionLinguisticsParameters(Language language, StemMode stemMode, boolean removeAccents, boolean lowercase) Creates an instance of aLinguisticsParametersrecord class. -
Uses of Language in com.yahoo.language.significance
Methods in com.yahoo.language.significance with parameters of type LanguageModifier and TypeMethodDescription -
Uses of Language in com.yahoo.language.significance.impl
Methods in com.yahoo.language.significance.impl with parameters of type LanguageModifier and TypeMethodDescription -
Uses of Language in com.yahoo.language.simple
Methods in com.yahoo.language.simple that return LanguageModifier and TypeMethodDescriptionSimpleDetector.guessLanguage(byte[] buf, int offset, int length) SimpleDetector.guessLanguage(String input) Methods in com.yahoo.language.simple with parameters of type Language