marytts.tools.voiceimport
Class HMMVoiceDataPreparation

java.lang.Object
  extended by marytts.tools.voiceimport.VoiceImportComponent
      extended by marytts.tools.voiceimport.HMMVoiceDataPreparation

public class HMMVoiceDataPreparation
extends VoiceImportComponent


Field Summary
 java.lang.String ADAPTSCRIPTS
          Tree files and TreeSet object
 java.lang.String RAW2WAVCOMMAND
           
 java.lang.String UTT2TRANSCOMMAND
           
 java.lang.String WAV2RAWCOMMAND
           
 
Fields inherited from class marytts.tools.voiceimport.VoiceImportComponent
bnl, logger, props, props2Help
 
Constructor Summary
HMMVoiceDataPreparation()
           
 
Method Summary
 boolean compute()
          Do the computations required by this component.
 java.util.SortedMap<java.lang.String,java.lang.String> getDefaultProps(DatabaseLayout db)
          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.
protected  void setupHelp()
           
 
Methods inherited from class marytts.tools.voiceimport.VoiceImportComponent
getHelpText, getHelpTextForProp, getProp, initialise, initialiseComp, setProp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADAPTSCRIPTS

public final java.lang.String ADAPTSCRIPTS
Tree files and TreeSet object


RAW2WAVCOMMAND

public final java.lang.String RAW2WAVCOMMAND

WAV2RAWCOMMAND

public final java.lang.String WAV2RAWCOMMAND

UTT2TRANSCOMMAND

public final java.lang.String UTT2TRANSCOMMAND
Constructor Detail

HMMVoiceDataPreparation

public HMMVoiceDataPreparation()
Method Detail

getName

public java.lang.String getName()
Description copied from class: VoiceImportComponent
Get the name of this component

Specified by:
getName in class VoiceImportComponent
Returns:
the name

getDefaultProps

public java.util.SortedMap<java.lang.String,java.lang.String> getDefaultProps(DatabaseLayout db)
Get the map of properties2values containing the default values

Specified by:
getDefaultProps in class VoiceImportComponent
Returns:
map of props2values

setupHelp

protected void setupHelp()
Specified by:
setupHelp in class VoiceImportComponent

compute

public boolean compute()
                throws java.lang.Exception
Do the computations required by this component.

Specified by:
compute in class VoiceImportComponent
Returns:
true on success, false on failure
Throws:
java.lang.Exception

getProgress

public int getProgress()
Provide the progress of computation, in percent, or -1 if that feature is not implemented.

Specified by:
getProgress in class VoiceImportComponent
Returns:
-1 if not implemented, or an integer between 0 and 100.