public class ContextualGMMParams extends Object
Modifier and Type | Field and Description |
---|---|
GMMTrainerParams[] |
classTrainerParams |
static int |
CONSONANT_MULTIPLIER |
int |
contextClassificationType |
static int |
FRICATIVE |
static int |
FRICATIVE_GLIDELIQUID_NASAL_PLOSIVE_VOWEL_OTHER |
static int |
FRICATIVE_MULTIPLIER |
static int |
GLIDE |
static int |
GLIDELIQUID_MULTIPLIER |
static int |
LIQUID |
static int |
NASAL |
static int |
NASAL_MULTIPLIER |
static int |
NO_PHONEME_CLASS |
static int |
OTHER_MULTIPLIER |
static int |
PAUSE |
String[][] |
phoneClasses |
static int |
PHONEME_IDENTITY |
static int |
PHONOLOGY_CLASS |
static int |
PLOSIVE |
static int |
PLOSIVE_MULTIPLIER |
static int |
SILENCE_MULTIPLIER |
static int |
SILENCE_SPEECH |
static int |
SONORANT |
static int |
SPEECH_MULTIPLIER |
static int |
SYLLABIC |
static int |
VOICED |
static int |
VOWEL |
static int |
VOWEL_MULTIPLIER |
static int |
VOWEL_SILENCE_CONSONANT |
Constructor and Description |
---|
ContextualGMMParams() |
ContextualGMMParams(AllophoneSet allophoneSet,
GMMTrainerParams commonParams) |
ContextualGMMParams(AllophoneSet allophoneSet,
GMMTrainerParams[] params,
int contextClassificationTypeIn) |
ContextualGMMParams(AllophoneSet allophoneSet,
GMMTrainerParams commonParams,
int contextClassificationTypeIn) |
ContextualGMMParams(ContextualGMMParams existing) |
ContextualGMMParams(int numPhonemeClasses) |
Modifier and Type | Method and Description |
---|---|
void |
allocate(int numPhonemeClasses) |
static int[] |
findIndices(int[] phonologyClasses,
int desiredClasses) |
static Allophone[] |
getAllophones(AllophoneSet allophoneSet) |
int |
getClassIndex(String phone) |
static int[] |
getPhonologyClasses(Allophone[] phns) |
void |
read(MaryRandomAccessFile stream) |
void |
setClass(int classIndex,
String[] phones) |
void |
setClass(int classIndex,
String[] phones,
GMMTrainerParams currentClassTrainerParams) |
void |
setClasses(Allophone[] phns,
GMMTrainerParams commonParams) |
void |
setClasses(Allophone[] phns,
GMMTrainerParams[] params) |
void |
setClasses(String[][] phoneClassesIn) |
void |
setClasses(String[][] phoneClassesIn,
GMMTrainerParams[] classTrainerParamsIn) |
void |
setClassFromSinglePhoneme(int classIndex,
String phone) |
void |
setClassFromSinglePhoneme(int classIndex,
String phone,
GMMTrainerParams currentClassTrainerParams) |
void |
write(MaryRandomAccessFile stream) |
public static final int FRICATIVE
public static final int GLIDE
public static final int LIQUID
public static final int NASAL
public static final int PAUSE
public static final int PLOSIVE
public static final int SONORANT
public static final int SYLLABIC
public static final int VOICED
public static final int VOWEL
public int contextClassificationType
public static final int NO_PHONEME_CLASS
public static final int SILENCE_SPEECH
public static final int VOWEL_SILENCE_CONSONANT
public static final int PHONOLOGY_CLASS
public static final int FRICATIVE_GLIDELIQUID_NASAL_PLOSIVE_VOWEL_OTHER
public static final int PHONEME_IDENTITY
public static final int FRICATIVE_MULTIPLIER
public static final int GLIDELIQUID_MULTIPLIER
public static final int NASAL_MULTIPLIER
public static final int PLOSIVE_MULTIPLIER
public static final int VOWEL_MULTIPLIER
public static final int OTHER_MULTIPLIER
public static final int CONSONANT_MULTIPLIER
public static final int SILENCE_MULTIPLIER
public static final int SPEECH_MULTIPLIER
public String[][] phoneClasses
public GMMTrainerParams[] classTrainerParams
public ContextualGMMParams()
public ContextualGMMParams(AllophoneSet allophoneSet, GMMTrainerParams commonParams)
public ContextualGMMParams(AllophoneSet allophoneSet, GMMTrainerParams commonParams, int contextClassificationTypeIn)
public ContextualGMMParams(AllophoneSet allophoneSet, GMMTrainerParams[] params, int contextClassificationTypeIn)
public ContextualGMMParams(int numPhonemeClasses)
public ContextualGMMParams(ContextualGMMParams existing)
public static Allophone[] getAllophones(AllophoneSet allophoneSet)
public void allocate(int numPhonemeClasses)
public void setClassFromSinglePhoneme(int classIndex, String phone)
public void setClassFromSinglePhoneme(int classIndex, String phone, GMMTrainerParams currentClassTrainerParams)
public void setClasses(String[][] phoneClassesIn)
public void setClasses(String[][] phoneClassesIn, GMMTrainerParams[] classTrainerParamsIn)
public void setClasses(Allophone[] phns, GMMTrainerParams commonParams)
public void setClasses(Allophone[] phns, GMMTrainerParams[] params)
public static int[] getPhonologyClasses(Allophone[] phns)
public static int[] findIndices(int[] phonologyClasses, int desiredClasses)
public void setClass(int classIndex, String[] phones)
public void setClass(int classIndex, String[] phones, GMMTrainerParams currentClassTrainerParams)
public int getClassIndex(String phone)
public void write(MaryRandomAccessFile stream)
public void read(MaryRandomAccessFile stream)
Copyright © 2000–2016 DFKI GmbH. All rights reserved.