public class HMMParameterExtractor extends VoiceImportComponent
Modifier and Type | Field and Description |
---|---|
String |
MARYBASE |
String |
OUTHMMDIR |
protected int |
percent |
String |
PHONEFEATS |
String |
PLAB |
String |
PPARAMETERS |
String |
PSLAB |
String |
PWAVE |
String |
USEGV |
String |
VOICECONFIG |
String |
VOICENAME |
bnl, logger, props, props2Help
Constructor and Description |
---|
HMMParameterExtractor() |
Modifier and Type | Method and Description |
---|---|
boolean |
compute()
Do the computations required by this component.
|
void |
generateParameters(String file,
String contextFeaDir,
String outputDir)
Stand alone testing using a TARGETFEATURES list of files as input.
|
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
|
protected void |
setupHelp() |
getHelpText, getHelpTextForProp, getProp, initialise, setProp
public final String MARYBASE
public final String VOICECONFIG
public final String VOICENAME
public final String PHONEFEATS
public final String OUTHMMDIR
public final String PPARAMETERS
public final String PLAB
public final String PWAVE
public final String PSLAB
public final String USEGV
protected int percent
protected void setupHelp()
setupHelp
in class VoiceImportComponent
public SortedMap<String,String> getDefaultProps(DatabaseLayout db)
VoiceImportComponent
getDefaultProps
in class VoiceImportComponent
db
- dbpublic final String getName()
VoiceImportComponent
getName
in class VoiceImportComponent
protected void initialiseComp()
VoiceImportComponent
initialiseComp
in class VoiceImportComponent
public boolean compute() throws Exception
VoiceImportComponent
compute
in class VoiceImportComponent
Exception
- Exceptionpublic int getProgress()
VoiceImportComponent
getProgress
in class VoiceImportComponent
public void generateParameters(String file, String contextFeaDir, String outputDir) throws IOException, InterruptedException
file
- filecontextFeaDir
- contextFeaDiroutputDir
- outputDirIOException
- IOExceptionInterruptedException
- InterruptedExceptionCopyright © 2000–2016 DFKI GmbH. All rights reserved.