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 Language
Returns the Language from a language tagstatic Language
Language.fromEncoding
(String encoding) Returns the language from an encoding, orUNKNOWN
if it cannot be determined.static Language
Language.fromLanguageTag
(String languageTag) Convenience method for callingfromLocale(LocaleFactory.fromLanguageTag(languageTag))
.static Language
Language.fromLocale
(Locale locale) Returns theLanguage
whoselanguageCode()
is equal tolocale.getLanguage()
, with the following additions:static Language
Returns 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.opennlp
Methods in com.yahoo.language.opennlp with parameters of type Language -
Uses of Language in com.yahoo.language.process
Methods in com.yahoo.language.process that return LanguageModifier and TypeMethodDescriptionEmbedder.Context.getLanguage()
Returns the language of the text, or UNKNOWN (default) to use a language independent embeddingMethods in com.yahoo.language.process with parameters of type LanguageModifier and TypeMethodDescriptionTransformer.accentDrop
(String input, Language language) Remove accents from input text.Split input-string into tokens, and returned a list of tokens in unprocessed form (i.e.Embedder.Context.setLanguage
(Language language) Sets the language of the text, or UNKNOWN to use language independent embeddingStem input according to specified stemming mode.Returns the tokens produced from an input string under the rules of the given Language and additional options -
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