public static final class Rule.Phoneme extends java.lang.Object implements Rule.PhonemeExpr
Modifier and Type | Field and Description |
---|---|
static java.util.Comparator<Rule.Phoneme> |
COMPARATOR |
Constructor and Description |
---|
Phoneme(java.lang.CharSequence phonemeText,
Languages.LanguageSet languages) |
Phoneme(Rule.Phoneme phonemeLeft,
Rule.Phoneme phonemeRight) |
Phoneme(Rule.Phoneme phonemeLeft,
Rule.Phoneme phonemeRight,
Languages.LanguageSet languages) |
Modifier and Type | Method and Description |
---|---|
Rule.Phoneme |
append(java.lang.CharSequence str) |
Languages.LanguageSet |
getLanguages() |
java.lang.Iterable<Rule.Phoneme> |
getPhonemes() |
java.lang.CharSequence |
getPhonemeText() |
Rule.Phoneme |
join(Rule.Phoneme right)
Deprecated.
since 1.9
|
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.
|
java.lang.String |
toString() |
public static final java.util.Comparator<Rule.Phoneme> COMPARATOR
public Phoneme(java.lang.CharSequence phonemeText, Languages.LanguageSet languages)
public Phoneme(Rule.Phoneme phonemeLeft, Rule.Phoneme phonemeRight)
public Phoneme(Rule.Phoneme phonemeLeft, Rule.Phoneme phonemeRight, Languages.LanguageSet languages)
public Rule.Phoneme append(java.lang.CharSequence str)
public Languages.LanguageSet getLanguages()
public java.lang.Iterable<Rule.Phoneme> getPhonemes()
getPhonemes
in interface Rule.PhonemeExpr
public java.lang.CharSequence getPhonemeText()
@Deprecated public Rule.Phoneme join(Rule.Phoneme right)
right
- the Phoneme to joinpublic Rule.Phoneme mergeWithLanguage(Languages.LanguageSet lang)
lang
- the language set to mergepublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved