| Package | Description |
|---|---|
| edu.gtts.sautrela.wfsa |
Provides classes for Markov modeling
|
| edu.gtts.sautrela.wfsa.models |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Alphabet<Y extends Symbol> |
interface |
DWFSA<S extends State,Y extends Symbol,T extends Transition<S,Y>>
Deterministic Weighted Finite-State Automata
|
interface |
NdWFSA<S extends State,Y extends Symbol,T extends Transition<S,Y>>
Non-Deterministic Weighted Finite-State Automata
|
interface |
Transition<S extends State,Y extends Symbol>
Note: this interface has a natural ordering that is inconsistent with equals.
|
interface |
WFSA<S extends State,Y extends Symbol,T extends Transition<S,Y>>
Weighted Finite-State Automata
|
| Modifier and Type | Method and Description |
|---|---|
static <S extends State,Y extends Symbol,T extends Transition<S,Y>> |
Decoder.getPath(WFSA<S,Y,T> wfa,
java.util.List<Y> symbolList,
double beam,
int verbose)
Returns the state path or most probable state path for a given symbol list
|
static <S extends State,Y extends Symbol,T extends Transition<S,Y>> |
Util.getProb(WFSA<S,Y,T> wfa,
java.util.List<Y> obs) |
static <S extends State,Y extends Symbol,T extends Transition<S,Y>> |
Util.getProb(WFSA<S,Y,T> wfa,
java.util.List<Y> obs,
double beam) |
static <Y1 extends Symbol,Y2 extends Symbol> |
Util.getSymbolList(WFSA<?,Y1,?> A,
java.util.List<Y2> symbolList)
Returns the Symbol
List of a given Symbol List
from another Alphabet |
static <Y1 extends Symbol,Y2 extends Symbol> |
Util.getSymbolList(WFSA<?,Y1,?> A,
java.util.List<Y2> symbolList)
Returns the Symbol
List of a given Symbol List
from another Alphabet |
static <Y extends Symbol> |
Util.getSymbolListFromNames(WFSA<?,Y,?> A,
java.util.List<java.lang.String> symbolNameList)
Returns the Symbol
List of a given Symbol-name List |
static <S extends State,Y extends Symbol,T extends Transition<S,Y>> |
Trainer.ML(WFSA<S,Y,T> wfa,
java.util.Collection<java.util.List<Y>> data,
Trainer.Method method,
double beam,
int verbose)
Trains a WFSA using the Maximun Likelihood criteria
|
static <S extends State,Y extends Symbol,T extends Transition<S,Y>> |
Trainer.ML(WFSA<S,Y,T> wfa,
java.util.Collection<java.util.List<Y>> data,
Trainer.Method method,
double beam,
int verbose,
double mapCount)
Trains a WFSA using the Maximun Likelihood criteria
|
static <S extends State,Y extends Symbol,T extends Transition<S,Y>> |
Util.randomSymbolList(WFSA<S,Y,T> wfa)
Generates a random non-null list of Symbols for a
WFSA. |
| Modifier and Type | Method and Description |
|---|---|
static WFSA<State,Symbol,Transition<State,Symbol>> |
Util.newWFSAInstance(org.xml.sax.InputSource is)
Instantiates a WFSA using a XML description found via an
InputSource |
static WFSA<State,Symbol,Transition<State,Symbol>> |
Util.newWFSAInstance(org.xml.sax.InputSource is)
Instantiates a WFSA using a XML description found via an
InputSource |
static WFSA<State,Symbol,Transition<State,Symbol>> |
Util.newWFSAInstance(org.xml.sax.InputSource is,
Alphabet<Symbol> alphabet)
Instantiates a WFSA using a XML description found via an
InputSource
and using an existing Alphabet. |
static WFSA<State,Symbol,Transition<State,Symbol>> |
Util.newWFSAInstance(org.xml.sax.InputSource is,
Alphabet<Symbol> alphabet)
Instantiates a WFSA using a XML description found via an
InputSource
and using an existing Alphabet. |
| Modifier and Type | Method and Description |
|---|---|
static WFSA<State,Symbol,Transition<State,Symbol>> |
Util.newWFSAInstance(org.xml.sax.InputSource is,
Alphabet<Symbol> alphabet)
Instantiates a WFSA using a XML description found via an
InputSource
and using an existing Alphabet. |
| Modifier and Type | Class and Description |
|---|---|
class |
ContinuousAlphabet<Y extends Symbol> |
class |
DefaultAlphabet<Y extends Symbol> |
class |
DefaultTransition<S extends State,Y extends Symbol> |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultSymbol |
class |
HMM.Symbol |
class |
KTLSS.OOVSymbol |
class |
KTLSS.Symbol |
| Modifier and Type | Method and Description |
|---|---|
Symbol |
DefaultDWFSA.getSymbolByName(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
Alphabet<Symbol> |
DefaultDWFSA.getAlphabet() |
Alphabet<Symbol> |
LMM.getAlphabet() |
Alphabet<Symbol> |
TreeModel.getAlphabet() |
DefaultTransition<edu.gtts.sautrela.wfsa.models.DefaultDWFSA.State,Symbol> |
DefaultDWFSA.getRandomTrans(edu.gtts.sautrela.wfsa.models.DefaultDWFSA.State state) |
DefaultTransition<edu.gtts.sautrela.wfsa.models.DefaultDWFSA.State,Symbol> |
DefaultDWFSA.getTrans(edu.gtts.sautrela.wfsa.models.DefaultDWFSA.State state,
Symbol symbol) |
| Modifier and Type | Method and Description |
|---|---|
DefaultTransition<edu.gtts.sautrela.wfsa.models.DefaultDWFSA.State,Symbol> |
DefaultDWFSA.getTrans(edu.gtts.sautrela.wfsa.models.DefaultDWFSA.State state,
Symbol symbol) |
LMM.xTransition[] |
LMM.getTrans(LMM.xState from,
Symbol symbol) |
edu.gtts.sautrela.wfsa.models.TreeModel.Transition_[] |
TreeModel.getTrans(edu.gtts.sautrela.wfsa.models.TreeModel.State_ from,
Symbol symbol) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultDWFSA.incrementTrainCount(DefaultTransition<edu.gtts.sautrela.wfsa.models.DefaultDWFSA.State,Symbol> t,
double count) |
| Constructor and Description |
|---|
LMM.LayerConnectionException(java.lang.String upperName,
Symbol symbol,
java.lang.String lowerName) |