public interface TrainManager extends Configurable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_MAXIMUM_ITERATION
The maximum number of iterations.
|
static java.lang.String |
PROP_MINIMUM_IMPROVEMENT
The minimum relative improvement of the log likelihood associated with the training data.
|
Modifier and Type | Method and Description |
---|---|
void |
copyModels(java.lang.String context)
Copy the model.
|
void |
initializeModels(java.lang.String context)
Initializes the acoustic models.
|
void |
saveModels(java.lang.String context)
Saves the acoustic models.
|
void |
train()
Do the train.
|
void |
trainContextIndependentModels(java.lang.String context)
Trains context independent models.
|
newProperties
@S4Double(defaultValue=0.20000000298023224) static final java.lang.String PROP_MINIMUM_IMPROVEMENT
@S4Integer(defaultValue=15) static final java.lang.String PROP_MAXIMUM_ITERATION
void train()
void saveModels(java.lang.String context) throws java.io.IOException
context
- the context of this TrainManagerjava.io.IOException
- if an error occurs while loading the datavoid copyModels(java.lang.String context) throws java.io.IOException
This method copies to model set, possibly to a new location and new format. This is useful if one wants to convert from binary to ascii and vice versa, or from a directory structure to a JAR file. If only one model is used, then name can be null.
context
- this TrainManager's contextjava.io.IOException
- if an error occurs while loading the datavoid initializeModels(java.lang.String context) throws java.io.IOException
context
- the context of this TrainManagerjava.io.IOException
- if something went wrongvoid trainContextIndependentModels(java.lang.String context) throws java.io.IOException
context
- the context of this train manager.java.io.IOException
- if something went wrong