public class DurationSoPTrainer extends VoiceImportComponent
Modifier and Type | Field and Description |
---|---|
protected DatabaseLayout |
db |
protected boolean |
interceptTerm |
protected boolean |
logDuration |
protected int |
percent |
protected int |
solutionSize |
protected boolean |
success |
protected File |
unitfeatureDir |
protected File |
unitlabelDir |
bnl, logger, props, props2Help
Constructor and Description |
---|
DurationSoPTrainer() |
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) |
String[] |
selectLinguisticFactors(String featureNames,
String label) |
protected void |
setSuccess(boolean val) |
protected void |
setupHelp() |
getHelpText, getHelpTextForProp, getProp, initialise, setProp
protected DatabaseLayout db
protected int percent
protected boolean success
protected boolean interceptTerm
protected boolean logDuration
protected int solutionSize
protected File unitlabelDir
protected File unitfeatureDir
public String getName()
VoiceImportComponent
getName
in class VoiceImportComponent
protected void initialiseComp()
VoiceImportComponent
initialiseComp
in class VoiceImportComponent
public SortedMap<String,String> getDefaultProps(DatabaseLayout dbl)
VoiceImportComponent
getDefaultProps
in class VoiceImportComponent
dbl
- dbprotected void setupHelp()
setupHelp
in class VoiceImportComponent
protected void setSuccess(boolean val)
public boolean compute() throws Exception
VoiceImportComponent
compute
in class VoiceImportComponent
Exception
- Exceptionpublic String[] selectLinguisticFactors(String featureNames, String label) throws IOException
IOException
public int getProgress()
VoiceImportComponent
getProgress
in class VoiceImportComponent
Copyright © 2000–2016 DFKI GmbH. All rights reserved.