public class HMMVoiceMakeData extends VoiceImportComponent
Modifier and Type | Field and Description |
---|---|
String |
ADAPTSCRIPTS |
String |
CMPMARY |
String |
featureListFile |
String |
featureListMapFile |
String |
LABELMARY |
String |
LF0 |
String |
LIST |
String |
MGC
Tree files and TreeSet object
|
String |
questionsFile |
String |
QUESTIONSMARY |
String |
questionsUttFile |
String |
SCP |
String |
STR |
String |
trickyPhonesFile |
bnl, logger, props, props2Help
Constructor and Description |
---|
HMMVoiceMakeData() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkTrickyPhones(AllophoneSet allophoneSet,
String trickyFile)
This function checks if replacements or aliases for tricky phones are necessary (so HTK-HHEd can handle the phone names),
if so it will create a trickyFile containing the replacements.
|
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.
|
static void |
main(String[] args) |
protected void |
setupHelp() |
getHelpText, getHelpTextForProp, getProp, initialise, initialiseComp, setProp
public final String MGC
public final String LF0
public final String STR
public final String CMPMARY
public final String LABELMARY
public final String QUESTIONSMARY
public final String LIST
public final String SCP
public final String questionsFile
public final String questionsUttFile
public final String featureListFile
public final String featureListMapFile
public final String trickyPhonesFile
public final String ADAPTSCRIPTS
public String getName()
VoiceImportComponent
getName
in class VoiceImportComponent
public SortedMap<String,String> getDefaultProps(DatabaseLayout db)
getDefaultProps
in class VoiceImportComponent
db
- dbprotected void setupHelp()
setupHelp
in class VoiceImportComponent
public boolean compute() throws Exception
compute
in class VoiceImportComponent
Exception
- Exceptionpublic static boolean checkTrickyPhones(AllophoneSet allophoneSet, String trickyFile)
allophoneSet
- allophonesFile for the voice or language (full path).trickyFile
- name of the file where the tricky phone replacements are saved (full path).public int getProgress()
getProgress
in class VoiceImportComponent
Copyright © 2000–2016 DFKI GmbH. All rights reserved.