marytts.tools.voiceimport
Class VoiceInstaller

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

Deprecated.

@Deprecated
public class VoiceInstaller
extends VoiceImportComponent

Install a voice by copying the voice data to marybase/lib/voices/voicename/ and creating a config file marybase/conf/locale-voicename.config

Author:
Anna Hunecke

Field Summary
 java.lang.String BASETIMELINE
          Deprecated.  
 java.lang.String CARTFILE
          Deprecated.  
 java.lang.String CONCATENATORCLASS
          Deprecated.  
 java.lang.String CREATEZIPFILE
          Deprecated.  
 java.lang.String DURTREE
          Deprecated.  
 java.lang.String EXAMPLETEXT
          Deprecated.  
 java.lang.String F0LEFTTREE
          Deprecated.  
 java.lang.String F0MIDTREE
          Deprecated.  
 java.lang.String F0RIGHTTREE
          Deprecated.  
 java.lang.String HALFPHONEFEATDEFAC
          Deprecated.  
 java.lang.String HALFPHONEFEATSAC
          Deprecated.  
 java.lang.String HALFPHONEUNITS
          Deprecated.  
 java.lang.String JOINCOSTFEATDEF
          Deprecated.  
 java.lang.String JOINCOSTFEATS
          Deprecated.  
 java.lang.String LEGACYACOUSTICMODELS
          Deprecated.  
 java.lang.String PHONEFEATDEF
          Deprecated.  
 java.lang.String TIMELINEREADERCLASS
          Deprecated.  
 java.lang.String WAVETIMELINE
          Deprecated.  
 java.lang.String ZIPCOMMAND
          Deprecated.  
 
Fields inherited from class marytts.tools.voiceimport.VoiceImportComponent
bnl, logger, props, props2Help
 
Constructor Summary
VoiceInstaller()
          Deprecated.  
 
Method Summary
 boolean compute()
          Deprecated. Do the computations required by this component.
 java.util.SortedMap<java.lang.String,java.lang.String> getDefaultProps(DatabaseLayout theDb)
          Deprecated. Get the map of properties2values containing the default values
 java.lang.String getName()
          Deprecated. Get the name of this component
 int getProgress()
          Deprecated. Provide the progress of computation, in percent, or -1 if that feature is not implemented.
protected  void setupHelp()
          Deprecated.  
 
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

CARTFILE

public final java.lang.String CARTFILE
Deprecated. 

DURTREE

public final java.lang.String DURTREE
Deprecated. 

F0LEFTTREE

public final java.lang.String F0LEFTTREE
Deprecated. 

F0MIDTREE

public final java.lang.String F0MIDTREE
Deprecated. 

F0RIGHTTREE

public final java.lang.String F0RIGHTTREE
Deprecated. 

CONCATENATORCLASS

public final java.lang.String CONCATENATORCLASS
Deprecated. 

TIMELINEREADERCLASS

public final java.lang.String TIMELINEREADERCLASS
Deprecated. 

HALFPHONEFEATSAC

public final java.lang.String HALFPHONEFEATSAC
Deprecated. 

HALFPHONEFEATDEFAC

public final java.lang.String HALFPHONEFEATDEFAC
Deprecated. 

HALFPHONEUNITS

public final java.lang.String HALFPHONEUNITS
Deprecated. 

JOINCOSTFEATS

public final java.lang.String JOINCOSTFEATS
Deprecated. 

JOINCOSTFEATDEF

public final java.lang.String JOINCOSTFEATDEF
Deprecated. 

PHONEFEATDEF

public final java.lang.String PHONEFEATDEF
Deprecated. 

EXAMPLETEXT

public final java.lang.String EXAMPLETEXT
Deprecated. 

WAVETIMELINE

public final java.lang.String WAVETIMELINE
Deprecated. 

BASETIMELINE

public final java.lang.String BASETIMELINE
Deprecated. 

CREATEZIPFILE

public final java.lang.String CREATEZIPFILE
Deprecated. 

ZIPCOMMAND

public final java.lang.String ZIPCOMMAND
Deprecated. 

LEGACYACOUSTICMODELS

public final java.lang.String LEGACYACOUSTICMODELS
Deprecated. 
Constructor Detail

VoiceInstaller

public VoiceInstaller()
Deprecated. 
Method Detail

getName

public java.lang.String getName()
Deprecated. 
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 theDb)
Deprecated. 
Get the map of properties2values containing the default values

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

setupHelp

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

compute

public boolean compute()
                throws java.lang.Exception
Deprecated. 
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()
Deprecated. 
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.