marytts.tools.voiceimport
Class HMMVoiceInstaller

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

Deprecated.

@Deprecated
public class HMMVoiceInstaller
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, Marcela Charfuelan (modifications for creating hmm voice config file)

Field Summary
 java.lang.String alpha
          Deprecated. HMM Voice-specific parameters, these are parameters used during models training if using MGC: gamma=0 alpha=0.42 linear gain (default) if using LSP: gamma>0 LSP: gamma=1 alpha=0.0 linear gain/log gain Mel-LSP: gamma=1 alpha=0.42 log gain MGC-LSP: gamma=3 alpha=0.42 log gain
 java.lang.String beta
          Deprecated. Parameter beta for postfiltering
 java.lang.String createZipFile
          Deprecated.  
 java.lang.String featuresFileExample
          Deprecated. Example context feature file (TARGETFEATURES in MARY)
 java.lang.String gamma
          Deprecated.  
 java.lang.String logGain
          Deprecated.  
 java.lang.String maxLf0GvIter
          Deprecated.  
 java.lang.String maxMgcGvIter
          Deprecated.  
 java.lang.String mixFiltersFile
          Deprecated.  
 java.lang.String numFilters
          Deprecated.  
 java.lang.String pdfDurFile
          Deprecated. HMM pdf model files and ModelSet object
 java.lang.String pdfLf0File
          Deprecated.  
 java.lang.String pdfLf0GVFile
          Deprecated.  
 java.lang.String pdfMcpFile
          Deprecated.  
 java.lang.String pdfMcpGVFile
          Deprecated.  
 java.lang.String pdfStrFile
          Deprecated.  
 java.lang.String pdfStrGVFile
          Deprecated.  
 java.lang.String treeDurFile
          Deprecated. Tree files and TreeSet object
 java.lang.String treeLf0File
          Deprecated.  
 java.lang.String treeMcpFile
          Deprecated.  
 java.lang.String treeStrFile
          Deprecated.  
 boolean trickyPhones
          Deprecated.  
 java.lang.String trickyPhonesFile
          Deprecated. trickyPhones file if any, this file could have been created durin makeQuestions and makeLabels if it was created, because there are tricky phones in the allophones set, then it should be in voiceDIR/mary/trickyPhones.txt
 java.lang.String useAcousticModels
          Deprecated. Variables for allowing the use of external prosody
 java.lang.String useGV
          Deprecated. Global variance file, it contains one global mean vector and one global diagonal covariance vector
 java.lang.String useMixExc
          Deprecated. Variables for mixed excitation
 java.lang.String zipCommand
          Deprecated.  
 
Fields inherited from class marytts.tools.voiceimport.VoiceImportComponent
bnl, logger, props, props2Help
 
Constructor Summary
HMMVoiceInstaller()
          Deprecated.  
 
Method Summary
 boolean compute()
          Deprecated. Do the computations required by this component.
 java.util.SortedMap<java.lang.String,java.lang.String> getDefaultProps(DatabaseLayout db)
          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

alpha

public final java.lang.String alpha
Deprecated. 
HMM Voice-specific parameters, these are parameters used during models training if using MGC: gamma=0 alpha=0.42 linear gain (default) if using LSP: gamma>0 LSP: gamma=1 alpha=0.0 linear gain/log gain Mel-LSP: gamma=1 alpha=0.42 log gain MGC-LSP: gamma=3 alpha=0.42 log gain


gamma

public final java.lang.String gamma
Deprecated. 

logGain

public final java.lang.String logGain
Deprecated. 

beta

public final java.lang.String beta
Deprecated. 
Parameter beta for postfiltering


treeDurFile

public final java.lang.String treeDurFile
Deprecated. 
Tree files and TreeSet object


treeLf0File

public final java.lang.String treeLf0File
Deprecated. 

treeMcpFile

public final java.lang.String treeMcpFile
Deprecated. 

treeStrFile

public final java.lang.String treeStrFile
Deprecated. 

pdfDurFile

public final java.lang.String pdfDurFile
Deprecated. 
HMM pdf model files and ModelSet object


pdfLf0File

public final java.lang.String pdfLf0File
Deprecated. 

pdfMcpFile

public final java.lang.String pdfMcpFile
Deprecated. 

pdfStrFile

public final java.lang.String pdfStrFile
Deprecated. 

useGV

public final java.lang.String useGV
Deprecated. 
Global variance file, it contains one global mean vector and one global diagonal covariance vector


maxMgcGvIter

public final java.lang.String maxMgcGvIter
Deprecated. 

maxLf0GvIter

public final java.lang.String maxLf0GvIter
Deprecated. 

pdfLf0GVFile

public final java.lang.String pdfLf0GVFile
Deprecated. 

pdfMcpGVFile

public final java.lang.String pdfMcpGVFile
Deprecated. 

pdfStrGVFile

public final java.lang.String pdfStrGVFile
Deprecated. 

useMixExc

public final java.lang.String useMixExc
Deprecated. 
Variables for mixed excitation


mixFiltersFile

public final java.lang.String mixFiltersFile
Deprecated. 

numFilters

public final java.lang.String numFilters
Deprecated. 

featuresFileExample

public java.lang.String featuresFileExample
Deprecated. 
Example context feature file (TARGETFEATURES in MARY)


trickyPhonesFile

public final java.lang.String trickyPhonesFile
Deprecated. 
trickyPhones file if any, this file could have been created durin makeQuestions and makeLabels if it was created, because there are tricky phones in the allophones set, then it should be in voiceDIR/mary/trickyPhones.txt


trickyPhones

public boolean trickyPhones
Deprecated. 

useAcousticModels

public final java.lang.String useAcousticModels
Deprecated. 
Variables for allowing the use of external prosody


createZipFile

public final java.lang.String createZipFile
Deprecated. 

zipCommand

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

HMMVoiceInstaller

public HMMVoiceInstaller()
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 db)
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.