public class MLSAFeatureFileWriter extends VoiceImportComponent
| Modifier and Type | Field and Description |
|---|---|
protected BasenameList |
bnlVocalizations |
protected DatabaseLayout |
db |
protected VocalizationUnitFileReader |
listenerUnits |
String |
MLSADIR |
String |
OUTMLSAFILE |
String |
UNITFILE |
bnl, logger, props, props2Help| Constructor and Description |
|---|
MLSAFeatureFileWriter() |
| 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()
Initialize this component
|
static void |
main(String[] args) |
protected void |
setupHelp() |
protected void |
writeHeaderTo(DataOutput out)
Write the header of this feature file to the given DataOutput
|
getHelpText, getHelpTextForProp, getProp, initialise, setPropprotected VocalizationUnitFileReader listenerUnits
protected DatabaseLayout db
protected BasenameList bnlVocalizations
public final String MLSADIR
public final String UNITFILE
public final String OUTMLSAFILE
public 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 - Exceptionprotected void initialiseComp()
throws Exception
initialiseComp in class VoiceImportComponentException - if there is problem with basename listprotected void writeHeaderTo(DataOutput out) throws IOException
out - DataOutput to write headerIOException - if it can't write data into DataOutputpublic String getName()
VoiceImportComponentgetName in class VoiceImportComponentpublic int getProgress()
VoiceImportComponentgetProgress in class VoiceImportComponentpublic static void main(String[] args)
args - argsCopyright © 2000–2016 DFKI GmbH. All rights reserved.