|
||||||||||
| 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.DurationTreeTrainer
public class DurationTreeTrainer
A class which converts a text file in festvox format into a one-file-per-utterance format in a given directory.
| Field Summary | |
|---|---|
protected DatabaseLayout |
db
|
java.lang.String |
DURTREE
|
java.lang.String |
FEATUREFILE
|
java.lang.String |
MAXDATA
|
java.lang.String |
PROPORTIONTESTDATA
|
java.lang.String |
UNITFILE
|
| Fields inherited from class marytts.tools.voiceimport.VoiceImportComponent |
|---|
bnl, logger, props, props2Help |
| Constructor Summary | |
|---|---|
DurationTreeTrainer()
|
|
| Method Summary | |
|---|---|
boolean |
compute()
Do the computations required by this component. |
java.util.SortedMap<java.lang.String,java.lang.String> |
getDefaultProps(DatabaseLayout theDb)
Get the map of properties2values containing the default values |
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 |
static void |
main(java.lang.String[] args)
|
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 DatabaseLayout db
public final java.lang.String DURTREE
public final java.lang.String FEATUREFILE
public final java.lang.String UNITFILE
public final java.lang.String MAXDATA
public final java.lang.String PROPORTIONTESTDATA
| Constructor Detail |
|---|
public DurationTreeTrainer()
| Method Detail |
|---|
public java.lang.String getName()
VoiceImportComponent
getName in class VoiceImportComponentpublic void initialiseComp()
VoiceImportComponent
initialiseComp in class VoiceImportComponentpublic java.util.SortedMap<java.lang.String,java.lang.String> getDefaultProps(DatabaseLayout theDb)
VoiceImportComponent
getDefaultProps in class VoiceImportComponentprotected void setupHelp()
setupHelp in class VoiceImportComponent
public boolean compute()
throws java.io.IOException,
MaryConfigurationException
VoiceImportComponent
compute in class VoiceImportComponentjava.io.IOException
MaryConfigurationExceptionpublic int getProgress()
getProgress in class VoiceImportComponent
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||