@Persistent public class Pronunciation extends Object implements IPronunciation
IPronunciation
interface.
See there for details.IPronunciation.PronunciationType
Modifier and Type | Field and Description |
---|---|
protected String |
note |
protected String |
text |
protected IPronunciation.PronunciationType |
type |
Constructor and Description |
---|
Pronunciation()
Creates a new, empty pronunciation.
|
Pronunciation(IPronunciation.PronunciationType type,
String text,
String note)
Creates a new pronunciation for the given representation text,
notation type and addition information.
|
Modifier and Type | Method and Description |
---|---|
String |
getNote()
Returns additional information for this pronunciation, such as
a geographical reference.
|
String |
getText()
The representation of the pronunciation using a standardized
notation such as IPA.
|
IPronunciation.PronunciationType |
getType()
Returns the type of this pronunciation, which can be audio files
or a specific notation schema used to represent pronunciation
information.
|
protected IPronunciation.PronunciationType type
protected String text
protected String note
public Pronunciation()
public Pronunciation(IPronunciation.PronunciationType type, String text, String note)
public IPronunciation.PronunciationType getType()
IPronunciation
getType
in interface IPronunciation
public String getText()
IPronunciation
getText
in interface IPronunciation
public String getNote()
IPronunciation
getNote
in interface IPronunciation
Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.