public class PhoneUnitfileWriter extends VoiceImportComponent
| Modifier and Type | Field and Description |
|---|---|
protected PhoneLabelFeatureAligner |
aligner |
protected DatabaseLayout |
db |
protected File |
maryDir |
protected String |
pauseSymbol |
protected int |
percent |
protected int |
samplingRate |
String |
UNITFILE |
protected String |
unitFileName |
protected File |
unitlabelDir |
protected String |
unitlabelExt |
bnl, logger, props, props2Help| Constructor and Description |
|---|
PhoneUnitfileWriter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compute()
Do the computations required by this component.
|
SortedMap<String,String> |
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, setPropprotected File maryDir
protected String unitFileName
protected File unitlabelDir
protected int samplingRate
protected String pauseSymbol
protected PhoneLabelFeatureAligner aligner
protected String unitlabelExt
protected DatabaseLayout db
protected int percent
public String UNITFILE
public String getName()
VoiceImportComponentgetName in class VoiceImportComponentprotected void initialiseComp()
throws Exception
VoiceImportComponentinitialiseComp in class VoiceImportComponentException - Exceptionpublic SortedMap<String,String> getDefaultProps(DatabaseLayout db)
VoiceImportComponentgetDefaultProps in class VoiceImportComponentdb - dbprotected void setupHelp()
setupHelp in class VoiceImportComponentpublic boolean compute()
throws Exception
VoiceImportComponentcompute in class VoiceImportComponentException - Exceptionpublic int getProgress()
getProgress in class VoiceImportComponentCopyright © 2000–2016 DFKI GmbH. All rights reserved.