public class DurationTreeTrainer extends VoiceImportComponent
| Modifier and Type | Field and Description |
|---|---|
protected DatabaseLayout |
db |
String |
DURTREE |
String |
FEATUREFILE |
String |
MAXDATA |
String |
PROPORTIONTESTDATA |
String |
UNITFILE |
bnl, logger, props, props2Help| Constructor and Description |
|---|
DurationTreeTrainer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compute()
Do the computations required by this component.
|
SortedMap<String,String> |
getDefaultProps(DatabaseLayout theDb)
Get the map of properties2values containing the default values
|
String |
getName()
Get the name of this component
|
int |
getProgress()
Provide the progress of computation, in percent, or -1 if that feature is not implemented.
|
static void |
main(String[] args) |
protected void |
setupHelp() |
getHelpText, getHelpTextForProp, getProp, initialise, initialiseComp, setPropprotected DatabaseLayout db
public final String DURTREE
public final String FEATUREFILE
public final String UNITFILE
public final String MAXDATA
public final String PROPORTIONTESTDATA
public String getName()
VoiceImportComponentgetName in class VoiceImportComponentpublic SortedMap<String,String> getDefaultProps(DatabaseLayout theDb)
VoiceImportComponentgetDefaultProps in class VoiceImportComponenttheDb - dbprotected void setupHelp()
setupHelp in class VoiceImportComponentpublic boolean compute()
throws IOException,
MaryConfigurationException
VoiceImportComponentcompute in class VoiceImportComponentIOExceptionMaryConfigurationExceptionpublic int getProgress()
getProgress in class VoiceImportComponentCopyright © 2000–2016 DFKI GmbH. All rights reserved.