public class SimpleControlFile extends java.lang.Object implements ControlFile
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DICTIONARY |
PROP_AUDIO_FILE, PROP_TOTAL_BATCHES, PROP_TRANSCRIPT_FILE, PROP_WHICH_BATCH| Constructor and Description |
|---|
SimpleControlFile() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreUtterances()
Returns whether there is another utterance.
|
void |
newProperties(PropertySheet ps)
This method is called when this configurable component needs to be reconfigured.
|
Utterance |
nextUtterance()
Gets the next utterance.
|
void |
startUtteranceIterator()
Gets an iterator for utterances.
|
@S4Component(type=TrainerDictionary.class) public static final java.lang.String DICTIONARY
public void newProperties(PropertySheet ps) throws PropertyException
ConfigurablenewProperties in interface Configurableps - a property sheet holding the new dataPropertyException - if there is a problem with the properties.public void startUtteranceIterator()
startUtteranceIterator in interface ControlFilepublic boolean hasMoreUtterances()
hasMoreUtterances in interface ControlFilepublic Utterance nextUtterance()
nextUtterance in interface ControlFile