public class HMMVoiceCompiler extends VoiceCompiler
VoiceCompiler.MavenVoiceCompiler
Modifier and Type | Field and Description |
---|---|
static String |
alpha
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
|
String |
FeaFile |
static String |
featuresFileExample
Example context feature file (TARGETFEATURES in MARY)
|
static String |
framePeriod |
static String |
gamma |
static String |
hmmFeaturesMapFile |
static String |
logGain |
static String |
mixFiltersFile
Variables for mixed excitation
|
static String |
mixFiltersFileLocation |
static String |
numFilters |
static String |
pdfDurFile
HMM pdf model files and ModelSet object
|
static String |
pdfLf0File |
static String |
pdfLf0GvFile
Global variance files
|
static String |
pdfMcpFile |
static String |
pdfMcpGvFile |
static String |
pdfStrFile |
static String |
pdfStrGvFile |
static String |
questionNumber
The following files depend on the version number and question number defined during configuration and training
|
static String |
samplingRate
Sampling frequency and frame period have to be specified (sampling freq is included in the general config)
|
static String |
treeDurFile
Tree files and TreeSet object
|
static String |
treeLf0File |
static String |
treeMcpFile |
static String |
treeStrFile |
static String |
trickyPhonesFile
trickyPhones file if any, this file could have been created during 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
|
static String |
versionNumber |
BASETIMELINE, CARTFILE, COMPILEDIR, compiler, DURTREE, F0LEFTTREE, F0MIDTREE, F0RIGHTTREE, HALFPHONEFEATDEFAC, HALFPHONEFEATSAC, HALFPHONEUNITS, JOINCOSTFEATS, JOINCOSTWEIGHTS, MVN, PHONEFEATDEF, WAVETIMELINE
bnl, db, logger, props, props2Help
Constructor and Description |
---|
HMMVoiceCompiler() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,String> |
getExtraVariableSubstitutionMap() |
protected void |
getFeatureFileExample() |
protected File[] |
getFilesForFilesystem() |
protected File[] |
getFilesForResources() |
String |
getName()
Get the name of this component
|
protected String |
getVoiceName(DatabaseLayout db) |
protected boolean |
isUnitSelectionVoice() |
protected void |
mapFeatures() |
String |
replaceBack(String lab)
Replace label with information in the global map list actualFeatureNames
|
compute, createCompiler, getDefaultProps, getProgress, setupHelp, toPackageName
getHelpText, getHelpTextForProp, getProp, initialise, initialiseComp, setProp
public static final String alpha
public static final String gamma
public static final String logGain
public static final String samplingRate
public static final String framePeriod
public static final String questionNumber
public static final String versionNumber
public static String treeDurFile
public static String treeLf0File
public static String treeMcpFile
public static String treeStrFile
public static String pdfDurFile
public static String pdfLf0File
public static String pdfMcpFile
public static String pdfStrFile
public static String pdfLf0GvFile
public static String pdfMcpGvFile
public static String pdfStrGvFile
public static final String mixFiltersFile
public static String mixFiltersFileLocation
public static final String numFilters
public static String featuresFileExample
public String FeaFile
public static final String trickyPhonesFile
public static final String hmmFeaturesMapFile
protected void mapFeatures() throws IOException, FileNotFoundException
mapFeatures
in class VoiceCompiler
IOException
- IOExceptionFileNotFoundException
- FileNotFoundExceptionprotected boolean isUnitSelectionVoice()
isUnitSelectionVoice
in class VoiceCompiler
protected String getVoiceName(DatabaseLayout db)
getVoiceName
in class VoiceCompiler
public String getName()
VoiceImportComponent
getName
in class VoiceCompiler
protected Map<String,String> getExtraVariableSubstitutionMap()
getExtraVariableSubstitutionMap
in class VoiceCompiler
protected File[] getFilesForResources()
getFilesForResources
in class VoiceCompiler
protected File[] getFilesForFilesystem()
getFilesForFilesystem
in class VoiceCompiler
protected void getFeatureFileExample() throws IOException
IOException
Copyright © 2000–2016 DFKI GmbH. All rights reserved.