|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmarytts.tools.voiceimport.VoiceImportComponent
marytts.tools.voiceimport.HTKLabeler
public class HTKLabeler
Automatic Labelling using HTK labeller
| Field Summary | |
|---|---|
protected AllophoneSet |
allophoneSet
|
protected java.util.Map<java.lang.String,java.util.TreeMap<java.lang.String,java.lang.String>> |
dictionary
|
java.lang.String |
HTDIR
|
java.lang.String |
HTKDIR
|
java.lang.String |
INTONISEDDIR
|
protected java.io.File |
intonisedXMLDir
|
protected java.lang.String |
labExt
|
protected MaryClient |
mary
|
protected java.lang.String |
maryInputType
|
protected java.lang.String |
maryOutputType
|
protected int |
MAX_ITERATIONS
|
java.lang.String |
MAXITER
|
protected int |
noIterCompleted
|
java.lang.String |
OUTLABDIR
|
protected int |
percent
|
java.lang.String |
PHONEMEXML
|
protected int |
SP_ITERATION
|
java.lang.String |
SPITER
|
protected java.lang.String |
xmlExt
|
| Fields inherited from class marytts.tools.voiceimport.VoiceImportComponent |
|---|
bnl, logger, props, props2Help |
| Constructor Summary | |
|---|---|
HTKLabeler()
|
|
| Method Summary | |
|---|---|
boolean |
compute()
Do the computations required by this component. |
java.util.SortedMap |
getDefaultProps(DatabaseLayout db)
Get the map of properties2values containing the default values |
static java.lang.String |
getMaryXMLHeaderWithInitialBoundary(java.lang.String locale)
Converting text to RAWMARYXML with Locale |
java.lang.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. |
void |
initialiseComp()
Initialise a voice import component: component specific initialisation; to be overwritten by subclasses |
java.lang.String |
replaceBackTrickyPhones(java.lang.String lab)
Translation table for labels which are incompatible with HTK or shell filenames See common_routines.pl in HTS training. |
java.lang.String |
replaceTrickyPhones(java.lang.String lab)
Translation table for labels which are incompatible with HTK or shell filenames See common_routines.pl in HTS training. |
protected void |
setupHelp()
|
| Methods inherited from class marytts.tools.voiceimport.VoiceImportComponent |
|---|
getHelpText, getHelpTextForProp, getProp, initialise, setProp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String xmlExt
protected java.lang.String labExt
protected MaryClient mary
protected java.lang.String maryInputType
protected java.lang.String maryOutputType
protected int percent
protected java.io.File intonisedXMLDir
protected java.util.Map<java.lang.String,java.util.TreeMap<java.lang.String,java.lang.String>> dictionary
protected AllophoneSet allophoneSet
protected int MAX_ITERATIONS
protected int SP_ITERATION
protected int noIterCompleted
public final java.lang.String HTDIR
public final java.lang.String HTKDIR
public final java.lang.String OUTLABDIR
public final java.lang.String MAXITER
public java.lang.String INTONISEDDIR
public java.lang.String PHONEMEXML
public java.lang.String SPITER
| Constructor Detail |
|---|
public HTKLabeler()
| Method Detail |
|---|
public final java.lang.String getName()
VoiceImportComponent
getName in class VoiceImportComponentpublic java.util.SortedMap getDefaultProps(DatabaseLayout db)
VoiceImportComponent
getDefaultProps in class VoiceImportComponentprotected void setupHelp()
setupHelp in class VoiceImportComponentpublic void initialiseComp()
VoiceImportComponent
initialiseComp in class VoiceImportComponent
public boolean compute()
throws java.lang.Exception
compute in class VoiceImportComponentjava.lang.Exceptionpublic static java.lang.String getMaryXMLHeaderWithInitialBoundary(java.lang.String locale)
locale -
public int getProgress()
getProgress in class VoiceImportComponentpublic java.lang.String replaceTrickyPhones(java.lang.String lab)
lab -
public java.lang.String replaceBackTrickyPhones(java.lang.String lab)
lab -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||