public class VocalizationUnitfileWriter extends VoiceImportComponent
Modifier and Type | Field and Description |
---|---|
protected BasenameList |
bnlVocalizations |
protected DatabaseLayout |
db |
String |
LABELDIR |
protected int |
percent |
String |
PMARKDIR |
String |
PMDIR |
String |
PMEXT |
protected int |
samplingRate |
String |
UNITFILE |
protected String |
unitFileName |
protected File |
unitlabelDir |
protected String |
unitlabelExt |
protected String |
vocalizationsDir |
bnl, logger, props, props2Help
Constructor and Description |
---|
VocalizationUnitfileWriter() |
Modifier and Type | Method and Description |
---|---|
boolean |
compute()
Do the computations required by this component.
|
SortedMap |
getDefaultProps(DatabaseLayout db)
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, setProp
protected String vocalizationsDir
protected BasenameList bnlVocalizations
protected String unitFileName
protected File unitlabelDir
protected int samplingRate
protected String unitlabelExt
protected DatabaseLayout db
protected int percent
public String LABELDIR
public String UNITFILE
public final String PMARKDIR
public final String PMDIR
public final String PMEXT
public String getName()
VoiceImportComponent
getName
in class VoiceImportComponent
protected void initialiseComp()
VoiceImportComponent
initialiseComp
in class VoiceImportComponent
public SortedMap getDefaultProps(DatabaseLayout db)
VoiceImportComponent
getDefaultProps
in class VoiceImportComponent
db
- dbprotected void setupHelp()
setupHelp
in class VoiceImportComponent
public boolean compute() throws IOException, MaryConfigurationException
VoiceImportComponent
compute
in class VoiceImportComponent
IOException
MaryConfigurationException
public int getProgress()
getProgress
in class VoiceImportComponent
Copyright © 2000–2018 DFKI GmbH. All rights reserved.