public class F0CARTTrainer extends VoiceImportComponent
| Modifier and Type | Field and Description |
|---|---|
protected DatabaseLayout |
db |
protected File |
f0DescFile |
protected File |
f0Dir |
String |
F0LEFTTREEFILE |
String |
F0MIDTREEFILE |
String |
F0RIGHTTREEFILE |
protected String |
featureExt |
String |
FEATUREFILE |
String |
ISHNMTIMELINE |
protected File |
leftF0FeaturesFile |
protected File |
midF0FeaturesFile |
protected int |
percent |
protected File |
rightF0FeaturesFile |
String |
STEPWISETRAINING |
String |
UNITFILE |
protected boolean |
useStepwiseTraining |
protected File |
wagonLeftTreeFile |
protected File |
wagonMidTreeFile |
protected File |
wagonRightTreeFile |
String |
WAVETIMELINE |
bnl, logger, props, props2Help| Constructor and Description |
|---|
F0CARTTrainer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compute()
Do the computations required by this component.
|
SortedMap<String,String> |
getDefaultProps(DatabaseLayout dbl)
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.
|
protected void |
initialiseComp()
Initialise a voice import component: component specific initialisation; to be overwritten by subclasses
|
static void |
main(String[] args) |
protected void |
setupHelp() |
getHelpText, getHelpTextForProp, getProp, initialise, setPropprotected File f0Dir
protected File leftF0FeaturesFile
protected File midF0FeaturesFile
protected File rightF0FeaturesFile
protected File f0DescFile
protected File wagonLeftTreeFile
protected File wagonMidTreeFile
protected File wagonRightTreeFile
protected String featureExt
protected DatabaseLayout db
protected int percent
protected boolean useStepwiseTraining
public final String STEPWISETRAINING
public final String FEATUREFILE
public final String UNITFILE
public final String WAVETIMELINE
public final String ISHNMTIMELINE
public final String F0LEFTTREEFILE
public final String F0RIGHTTREEFILE
public final String F0MIDTREEFILE
public String getName()
VoiceImportComponentgetName in class VoiceImportComponentprotected void initialiseComp()
VoiceImportComponentinitialiseComp in class VoiceImportComponentpublic SortedMap<String,String> getDefaultProps(DatabaseLayout dbl)
VoiceImportComponentgetDefaultProps in class VoiceImportComponentdbl - 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.