public class CustomTranslation extends GenericModel
"Sunday" as translation for "Sun."), an
International Phonetic Alphabet (IPA) representation (<phoneme alphabet="ipa" ph="tɹaɪnˈaɪtɹəglɪsəɹɨn"></phoneme>), an IBM
Symbolic Phonetic Representation (SPR) (<phoneme alphabet="spr" ph="trYn1YtrxglIsxrXn"></phoneme>), or a mix of them
(try<phoneme alphabet="ipa" ph="nˈaɪtɹəglɪsəɹɨn"></phoneme>)| Constructor and Description |
|---|
CustomTranslation()
Instantiates a new custom translation.
|
CustomTranslation(String word,
String translation)
Creates a new CustomTranslation.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTranslation()
Returns the custom translation.
|
String |
getWord()
Returns the original word.
|
void |
setTranslation(String translation)
Sets the custom translation.
|
void |
setWord(String word)
Sets the original word.
|
equals, hashCode, toStringpublic CustomTranslation()
public String getWord()
public void setWord(String word)
word - the wordpublic String getTranslation()
public void setTranslation(String translation)
sunday
<phoneme alphabet="ipa" ph="tɹaɪnˈaɪtɹəglɪsəɹɨn"></phoneme>
try<phoneme alphabet="ipa" ph="nˈaɪtɹəglɪsəɹɨn"></phoneme><phoneme alphabet="spr" ph="trYn1YtrxglIsxrXn"></phoneme>translation - the translationCopyright © 2015–2016. All rights reserved.