Package | Description |
---|---|
org.apache.commons.codec.language.bm |
Implementation details of the Beider-Morse codec.
|
Modifier and Type | Method and Description |
---|---|
RuleType |
PhoneticEngine.getRuleType()
Gets the RuleType being used.
|
RuleType |
BeiderMorseEncoder.getRuleType()
Gets the rule type currently in operation.
|
static RuleType |
RuleType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuleType[] |
RuleType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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 List<Rule> |
Rule.getInstance(NameType nameType,
RuleType rt,
String lang)
Gets rules for a combination of name type, rule type and a single language.
|
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.
|
static Map<String,List<Rule>> |
Rule.getInstanceMap(NameType nameType,
RuleType rt,
String lang)
Gets rules for a combination of name type, rule type and a single language.
|
void |
BeiderMorseEncoder.setRuleType(RuleType ruleType)
Sets the rule type to apply.
|
Constructor and Description |
---|
PhoneticEngine(NameType nameType,
RuleType ruleType,
boolean concat)
Generates a new, fully-configured phonetic engine.
|
PhoneticEngine(NameType nameType,
RuleType ruleType,
boolean concat,
int maxPhonemes)
Generates a new, fully-configured phonetic engine.
|
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.