Constructor and Description |
---|
SimpleUtterance()
Constructor for class SimpleUtterance.
|
SimpleUtterance(java.lang.String utteranceID)
Constructor for class SimpleUtterance.
|
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String transcript,
Dictionary dictionary,
boolean isExact,
java.lang.String wordSeparator)
Add transcript with dictionary and exact flag.
|
boolean |
hasMoreTranscripts()
Returns whether there is a next transcript.
|
Transcript |
nextTranscript()
Gets next transcript.
|
void |
startTranscriptIterator()
Starts the transcript iterator.
|
java.lang.String |
toString()
Returns a string representation of this utterance.
|
public SimpleUtterance()
public SimpleUtterance(java.lang.String utteranceID)
utteranceID
- the utterance ID, usually a file name.public void add(java.lang.String transcript, Dictionary dictionary, boolean isExact, java.lang.String wordSeparator)
public void startTranscriptIterator()
startTranscriptIterator
in interface Utterance
public boolean hasMoreTranscripts()
hasMoreTranscripts
in interface Utterance
public Transcript nextTranscript()
nextTranscript
in interface Utterance
public java.lang.String toString()
toString
in class java.lang.Object