| Modifier and Type | Method and Description |
|---|---|
Unit |
UnitSearchState.getUnit()
Gets the unit
|
| Modifier and Type | Field and Description |
|---|---|
static Unit[] |
Unit.EMPTY_ARRAY |
static Unit |
UnitManager.SILENCE
The silence unit
|
| Modifier and Type | Method and Description |
|---|---|
Unit |
Unit.getBaseUnit()
Gets the base unit associated with this HMM
|
Unit |
HMM.getBaseUnit()
Gets the base unit associated with this HMM
|
static Unit[] |
Unit.getEmptyContext(int size)
Creates and returns an empty context with the given size.
|
Unit[] |
LeftRightContext.getLeftContext()
Retrieves the left context for this unit
|
Unit[] |
LeftRightContext.getRightContext()
Retrieves the right context for this unit
|
Unit |
HMM.getUnit()
Gets the unit associated with this HMM
|
Unit |
HMMPool.getUnit(int unitID)
Gets the unit for the given id
|
Unit |
UnitManager.getUnit(java.lang.String name)
Gets or creates a unit from the unit pool
|
Unit |
UnitManager.getUnit(java.lang.String name,
boolean filler)
Gets or creates a unit from the unit pool
|
Unit |
UnitManager.getUnit(java.lang.String name,
boolean filler,
Context context)
Gets or creates a unit from the unit pool
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<Unit> |
AcousticModel.getContextIndependentUnitIterator()
Returns an iterator that can be used to iterate through all the CI units in the acoustic model
|
| Modifier and Type | Method and Description |
|---|---|
static LeftRightContext |
LeftRightContext.get(Unit[] leftContext,
Unit[] rightContext)
Factory method for creating a left/right context
|
static LeftRightContext |
LeftRightContext.get(Unit[] leftContext,
Unit[] rightContext)
Factory method for creating a left/right context
|
static java.lang.String |
LeftRightContext.getContextName(Unit[] context)
Gets the context name for a particular array of units
|
HMM |
HMMPool.getHMM(Unit base,
Unit lc,
Unit rc,
HMMPosition pos)
Retrieves an HMM for a unit in context.
|
int |
HMMPool.getID(Unit unit)
given a unit return its ID
|
static boolean |
Unit.isContextMatch(Unit[] a,
Unit[] b)
Checks to see that there is 100% overlap in the given contexts
|
static boolean |
Unit.isContextMatch(Unit[] a,
Unit[] b)
Checks to see that there is 100% overlap in the given contexts
|
HMM |
AcousticModel.lookupNearestHMM(Unit unit,
HMMPosition position,
boolean exactMatch)
Given a unit, returns the HMM that best matches the given unit.
|
| Modifier and Type | Method and Description |
|---|---|
Unit |
SenoneHMM.getBaseUnit()
Gets the base unit associated with this HMM
|
Unit |
SenoneHMM.getUnit()
Gets the unit associated with this HMM
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<Unit> |
TiedStateAcousticModel.getContextIndependentUnitIterator()
Returns an iterator that can be used to iterate through all the CI units in the acoustic model
|
java.util.Map<java.lang.String,Unit> |
Sphinx3Loader.getContextIndependentUnits() |
java.util.Map<java.lang.String,Unit> |
Saver.getContextIndependentUnits()
Returns the map of context indepent units.
|
java.util.Map<java.lang.String,Unit> |
Loader.getContextIndependentUnits()
Returns the map of context indepent units.
|
java.util.Map<java.lang.String,Unit> |
KaldiLoader.getContextIndependentUnits()
Returns the map of context indepent units.
|
java.util.Map<java.lang.String,Unit> |
HTKLoader.getContextIndependentUnits() |
| Modifier and Type | Method and Description |
|---|---|
HMM |
LazyHmmManager.get(HMMPosition position,
Unit unit) |
HMM |
HMMManager.get(HMMPosition position,
Unit unit)
Retrieves an HMM by position and unit
|
SenoneSequence |
TiedStateAcousticModel.getCompositeSenoneSequence(Unit unit,
HMMPosition position)
Get a composite senone sequence given the unit.
|
HMM |
TiedStateAcousticModel.lookupNearestHMM(Unit unit,
HMMPosition position,
boolean exactMatch)
Given a unit, returns the HMM that best matches the given unit.
|
| Constructor and Description |
|---|
SenoneHMM(Unit unit,
SenoneSequence senoneSequence,
float[][] transitionMatrix,
HMMPosition position)
Constructs an HMM
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,Unit> |
Sphinx3Saver.getContextIndependentUnits() |
java.util.Map<java.lang.String,Unit> |
ModelInitializerLoader.getContextIndependentUnits() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<Unit> |
TrivialAcousticModel.getContextIndependentUnitIterator()
Returns an iterator that can be used to iterate through all the CI units in the acoustic model
|
| Modifier and Type | Method and Description |
|---|---|
HMM |
TrivialAcousticModel.lookupNearestHMM(Unit unit,
HMMPosition position,
boolean exactMatch)
Given a unit, returns the HMM that best matches the given unit.
|
| Modifier and Type | Field and Description |
|---|---|
protected Unit |
PhoneNonEmittingSearchState.unit |
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<Unit> |
AllphoneLinguist.getUnits(SenoneSequence senoneSeq) |
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<HMM> |
AllphoneLinguist.getCDSuccessors(Unit lc,
Unit base) |
| Constructor and Description |
|---|
PhoneNonEmittingSearchState(Unit unit,
AllphoneLinguist linguist,
float insertionProb,
float languageProb) |
PhoneWordSearchState(Unit unit,
AllphoneLinguist linguist,
float insertionProb,
float languageProb) |
| Modifier and Type | Method and Description |
|---|---|
protected Unit |
TextDictionary.getCIUnit(java.lang.String name,
boolean isFiller)
Gets a context independent unit.
|
protected Unit |
MappingDictionary.getCIUnit(java.lang.String name,
boolean isFiller)
Gets a context independent unit.
|
Unit[] |
Pronunciation.getUnits()
Retrieves the units for this pronunciation
|
| Constructor and Description |
|---|
Pronunciation(Unit[] units,
java.lang.String tag,
float probability)
Creates a pronunciation
|
| Constructor and Description |
|---|
Pronunciation(java.util.List<Unit> units)
Creates a pronunciation with defaults
|
Pronunciation(java.util.List<Unit> units,
java.lang.String tag,
float probability)
Creates a pronunciation
|
| Modifier and Type | Method and Description |
|---|---|
Unit |
UnitState.getUnit()
Gets the unit associated with this state
|
| Constructor and Description |
|---|
ExtendedUnitState(PronunciationState parent,
int which,
Unit unit)
Creates a UnitState.
|
UnitState(PronunciationState parent,
int which,
Unit unit)
Creates a UnitState.
|
UnitState(Unit unit,
HMMPosition position)
Creates a UnitState with the given unit and HMM position.
|
| Modifier and Type | Method and Description |
|---|---|
Unit |
LexTreeLinguist.LexTreeEndUnitState.getUnit()
Returns the base unit associated with this state
|
Unit |
LexTreeLinguist.LexTreeUnitState.getUnit()
Returns the base unit associated with this state
|
| Modifier and Type | Method and Description |
|---|---|
abstract Unit |
FrameStatistics.getBestUnit()
Gets the unit that had the best score for this frame
|