public class HNMFeatureFileWriter extends VoiceImportComponent
Modifier and Type | Field and Description |
---|---|
protected BasenameList |
bnlVocalizations |
protected DatabaseLayout |
db |
bnl, logger, props, props2Help
Constructor and Description |
---|
HNMFeatureFileWriter() |
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()
Return this voice import component name
|
int |
getProgress()
Return the progress of this component
|
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, setProp
protected DatabaseLayout db
protected BasenameList bnlVocalizations
public SortedMap<String,String> getDefaultProps(DatabaseLayout db)
VoiceImportComponent
getDefaultProps
in class VoiceImportComponent
db
- dbprotected void setupHelp()
setupHelp
in class VoiceImportComponent
public boolean compute() throws UnsupportedAudioFileException, IOException, MaryConfigurationException
VoiceImportComponent
compute
in class VoiceImportComponent
UnsupportedAudioFileException
IOException
MaryConfigurationException
protected void initialiseComp() throws Exception
initialiseComp
in class VoiceImportComponent
Exception
- Exceptionprotected void writeHeaderTo(DataOutput out) throws IOException
out
- outIOException
- IOExceptionpublic String getName()
getName
in class VoiceImportComponent
public int getProgress()
getProgress
in class VoiceImportComponent
public static void main(String[] args)
args
- argsCopyright © 2000–2016 DFKI GmbH. All rights reserved.