Package | Description |
---|---|
org.apache.commons.codec.language.bm |
Implementation details of the Beider-Morse codec.
|
Modifier and Type | Class and Description |
---|---|
static class |
Languages.SomeLanguages
Some languages, explicitly enumerated.
|
Modifier and Type | Field and Description |
---|---|
static Languages.LanguageSet |
Languages.ANY_LANGUAGE
Any/all languages.
|
static Languages.LanguageSet |
Languages.NO_LANGUAGES
No languages at all.
|
Modifier and Type | Method and Description |
---|---|
static Languages.LanguageSet |
Languages.LanguageSet.from(Set<String> langs) |
Languages.LanguageSet |
Rule.Phoneme.getLanguages() |
Languages.LanguageSet |
Lang.guessLanguages(String input)
Guesses the languages of a word.
|
Languages.LanguageSet |
Languages.SomeLanguages.merge(Languages.LanguageSet other) |
abstract Languages.LanguageSet |
Languages.LanguageSet.restrictTo(Languages.LanguageSet other) |
Languages.LanguageSet |
Languages.SomeLanguages.restrictTo(Languages.LanguageSet other) |
Modifier and Type | Method and Description |
---|---|
String |
PhoneticEngine.encode(String input,
Languages.LanguageSet languageSet)
Encodes an input string into an output phonetic representation, given a set of possible origin languages.
|
static List<Rule> |
Rule.getInstance(NameType nameType,
RuleType rt,
Languages.LanguageSet langs)
Gets rules for a combination of name type, rule type and languages.
|
static Map<String,List<Rule>> |
Rule.getInstanceMap(NameType nameType,
RuleType rt,
Languages.LanguageSet langs)
Gets rules for a combination of name type, rule type and languages.
|
Languages.LanguageSet |
Languages.SomeLanguages.merge(Languages.LanguageSet other) |
Rule.Phoneme |
Rule.Phoneme.mergeWithLanguage(Languages.LanguageSet lang)
Returns a new Phoneme with the same text but a union of its
current language set and the given one.
|
abstract Languages.LanguageSet |
Languages.LanguageSet.restrictTo(Languages.LanguageSet other) |
Languages.LanguageSet |
Languages.SomeLanguages.restrictTo(Languages.LanguageSet other) |
Constructor and Description |
---|
Phoneme(CharSequence phonemeText,
Languages.LanguageSet languages) |
Phoneme(Rule.Phoneme phonemeLeft,
Rule.Phoneme phonemeRight,
Languages.LanguageSet languages) |
Copyright © 2002–2019 The Apache Software Foundation. All rights reserved.