A C D E F G H I L M N O P R S T U V Z 

A

accuracy - Static variable in class edu.cmu.sphinx.fst.semiring.Semiring
 
addArc(Arc) - Method in class edu.cmu.sphinx.fst.ImmutableState
 
addArc(Arc) - Method in class edu.cmu.sphinx.fst.State
Add an outgoing arc to the state
addState(State) - Method in class edu.cmu.sphinx.fst.Fst
Adds a state to the fst
addState(State) - Method in class edu.cmu.sphinx.fst.ImmutableFst
 
apply(Fst, Comparator<Arc>) - Static method in class edu.cmu.sphinx.fst.operations.ArcSort
Applies the ArcSort on the provided fst.
apply(Fst) - Static method in class edu.cmu.sphinx.fst.operations.Connect
Trims an Fst, removing states and arcs that are not on successful paths.
apply(Fst) - Static method in class edu.cmu.sphinx.fst.operations.ExtendFinal
Extends an Fst to a single final state.
apply(Fst, ProjectType) - Static method in class edu.cmu.sphinx.fst.operations.Project
Projects an fst onto its domain or range by either copying each arc's input label to its output label or vice versa.
Arc - Class in edu.cmu.sphinx.fst
The fst's arc implementation.
Arc() - Constructor for class edu.cmu.sphinx.fst.Arc
Default Constructor
Arc(int, int, float, State) - Constructor for class edu.cmu.sphinx.fst.Arc
Arc Constructor
arcSort(Comparator<Arc>) - Method in class edu.cmu.sphinx.fst.ImmutableState
 
ArcSort - Class in edu.cmu.sphinx.fst.operations
ArcSort operation.
arcSort(Comparator<Arc>) - Method in class edu.cmu.sphinx.fst.State
Shorts the arc's ArrayList based on the provided Comparator
augment(int, Fst, Semiring) - Static method in class edu.cmu.sphinx.fst.operations.Compose
Augments the labels of an Fst in order to use it for composition avoiding multiple epsilon paths in the resulting Fst Augment can be applied to both Fst and ImmutableFst, as immutable fsts hold an additional null arc for that operation

C

compare(Arc, Arc) - Method in class edu.cmu.sphinx.fst.operations.ILabelCompare
 
compare(Arc, Arc) - Method in class edu.cmu.sphinx.fst.operations.OLabelCompare
 
Compose - Class in edu.cmu.sphinx.fst.operations
Compose operation.
compose(Fst, Fst, Semiring, boolean) - Static method in class edu.cmu.sphinx.fst.operations.Compose
Computes the composition of two Fsts.
Connect - Class in edu.cmu.sphinx.fst.operations
Connect operation.
Connect() - Constructor for class edu.cmu.sphinx.fst.operations.Connect
 
Convert - Class in edu.cmu.sphinx.fst.openfst
Provides the required functionality in order to convert from/to openfst's text format

D

deleteArc(int) - Method in class edu.cmu.sphinx.fst.ImmutableState
 
deleteArc(int) - Method in class edu.cmu.sphinx.fst.State
Delete an arc based on its index
deleteState(State) - Method in class edu.cmu.sphinx.fst.Fst
Deletes a state
deleteState(State) - Method in class edu.cmu.sphinx.fst.ImmutableFst
 
Determinize - Class in edu.cmu.sphinx.fst.operations
Determize operation.
divide(float, float) - Method in class edu.cmu.sphinx.fst.semiring.LogSemiring
 
divide(float, float) - Method in class edu.cmu.sphinx.fst.semiring.ProbabilitySemiring
 
divide(float, float) - Method in class edu.cmu.sphinx.fst.semiring.Semiring
Semiring's divide operation
divide(float, float) - Method in class edu.cmu.sphinx.fst.semiring.TropicalSemiring
 

E

edu.cmu.sphinx.fst - package edu.cmu.sphinx.fst
Provides the basic fst classes.
edu.cmu.sphinx.fst.openfst - package edu.cmu.sphinx.fst.openfst
Provides classes required to convert from/to openFst text format.
edu.cmu.sphinx.fst.operations - package edu.cmu.sphinx.fst.operations
Provides classes for fst operations.
edu.cmu.sphinx.fst.semiring - package edu.cmu.sphinx.fst.semiring
Provides semiring related classes.
edu.cmu.sphinx.fst.utils - package edu.cmu.sphinx.fst.utils
Provides a set of utility classes.
equals(Object) - Method in class edu.cmu.sphinx.fst.Arc
 
equals(Object) - Method in class edu.cmu.sphinx.fst.Fst
 
equals(Object) - Method in class edu.cmu.sphinx.fst.ImmutableFst
 
equals(Object) - Method in class edu.cmu.sphinx.fst.ImmutableState
 
equals(Object) - Method in class edu.cmu.sphinx.fst.semiring.Semiring
 
equals(Object) - Method in class edu.cmu.sphinx.fst.State
 
equals(Object) - Method in class edu.cmu.sphinx.fst.utils.Pair
 
export(Fst, String) - Static method in class edu.cmu.sphinx.fst.openfst.Convert
Exports an fst to the openfst text format Several files are created as follows: - basename.input.syms - basename.output.syms - basename.fst.txt See OpenFst Quick Tour
Export - Class in edu.cmu.sphinx.fst.openfst
Provides a command line utility to convert a java binary fst model to openfst's text format
ExtendFinal - Class in edu.cmu.sphinx.fst.operations
Extend an Fst to a single final state and undo operations.

F

Fst - Class in edu.cmu.sphinx.fst
A mutable finite state transducer implementation.
Fst() - Constructor for class edu.cmu.sphinx.fst.Fst
Default Constructor
Fst(int) - Constructor for class edu.cmu.sphinx.fst.Fst
Constructor specifying the initial capacity of the states ArrayList (this is an optimization used in various operations)
Fst(Semiring) - Constructor for class edu.cmu.sphinx.fst.Fst
Constructor specifying the fst's semiring

G

get(Fst, Fst, Semiring) - Static method in class edu.cmu.sphinx.fst.operations.Compose
Computes the composition of two Fsts.
get(Fst) - Static method in class edu.cmu.sphinx.fst.operations.Determinize
Determinizes an fst.
get(Fst, int, boolean) - Static method in class edu.cmu.sphinx.fst.operations.NShortestPaths
Calculates the n-best shortest path from the initial to the final state.
get(Fst) - Static method in class edu.cmu.sphinx.fst.operations.Reverse
Reverses an fst
get(Fst) - Static method in class edu.cmu.sphinx.fst.operations.RmEpsilon
Removes epsilon transitions from an fst.
getArc(int) - Method in class edu.cmu.sphinx.fst.ImmutableState
 
getArc(int) - Method in class edu.cmu.sphinx.fst.State
Get an arc based on it's index the arcs ArrayList
getFilter(String[], Semiring) - Static method in class edu.cmu.sphinx.fst.operations.Compose
Get a filter to use for avoiding multiple epsilon paths in the resulting Fst See: M.
getFinalWeight() - Method in class edu.cmu.sphinx.fst.State
Get the state's final Weight
getId() - Method in class edu.cmu.sphinx.fst.State
Get the state's id
getIlabel() - Method in class edu.cmu.sphinx.fst.Arc
Get the input label's id
getIndex(String[], String) - Static method in class edu.cmu.sphinx.fst.utils.Utils
Get the position (index) of a particular string in a Strings array.
getIsyms() - Method in class edu.cmu.sphinx.fst.Fst
Get the input symbols' array
getLeft() - Method in class edu.cmu.sphinx.fst.utils.Pair
Get the left element of the Pair
getNextState() - Method in class edu.cmu.sphinx.fst.Arc
Get the next state
getNumArcs() - Method in class edu.cmu.sphinx.fst.ImmutableState
 
getNumArcs() - Method in class edu.cmu.sphinx.fst.State
Get the number of outgoing arcs
getNumStates() - Method in class edu.cmu.sphinx.fst.Fst
Get the number of states in the fst
getNumStates() - Method in class edu.cmu.sphinx.fst.ImmutableFst
 
getOlabel() - Method in class edu.cmu.sphinx.fst.Arc
Get the output label's id
getOsyms() - Method in class edu.cmu.sphinx.fst.Fst
Get the output symbols' array
getRight() - Method in class edu.cmu.sphinx.fst.utils.Pair
Get the right element of the Pair
getSemiring() - Method in class edu.cmu.sphinx.fst.Fst
Get the semiring
getStart() - Method in class edu.cmu.sphinx.fst.Fst
Get the initial states
getState(int) - Method in class edu.cmu.sphinx.fst.Fst
 
getState(int) - Method in class edu.cmu.sphinx.fst.ImmutableFst
 
getWeight() - Method in class edu.cmu.sphinx.fst.Arc
Get the arc's weight

H

hashCode() - Method in class edu.cmu.sphinx.fst.ImmutableState
 
hashCode() - Method in class edu.cmu.sphinx.fst.State
 
hashCode() - Method in class edu.cmu.sphinx.fst.utils.Pair
 

I

id - Variable in class edu.cmu.sphinx.fst.State
 
ILabelCompare - Class in edu.cmu.sphinx.fst.operations
Comparator used in ArcSort for sorting based on input labels
ILabelCompare() - Constructor for class edu.cmu.sphinx.fst.operations.ILabelCompare
 
ImmutableFst - Class in edu.cmu.sphinx.fst
An immutable finite state transducer implementation.
ImmutableState - Class in edu.cmu.sphinx.fst
The fst's immutable state implementation.
ImmutableState() - Constructor for class edu.cmu.sphinx.fst.ImmutableState
Default protected constructor.
ImmutableState(int) - Constructor for class edu.cmu.sphinx.fst.ImmutableState
Constructor specifying the capacity of the arcs array.
Import - Class in edu.cmu.sphinx.fst.openfst
Provides a command line utility to convert an Fst in openfst's text format to java binary fst model
importFst(String, Semiring) - Static method in class edu.cmu.sphinx.fst.openfst.Convert
Imports an openfst text format Several files are imported as follows: - basename.input.syms - basename.output.syms - basename.fst.txt
initialNumArcs - Variable in class edu.cmu.sphinx.fst.State
 
isMember(float) - Method in class edu.cmu.sphinx.fst.semiring.LogSemiring
 
isMember(float) - Method in class edu.cmu.sphinx.fst.semiring.ProbabilitySemiring
 
isMember(float) - Method in class edu.cmu.sphinx.fst.semiring.Semiring
Checks if a value is a valid one the semiring
isMember(float) - Method in class edu.cmu.sphinx.fst.semiring.TropicalSemiring
 
isyms - Variable in class edu.cmu.sphinx.fst.Fst
 

L

loadModel(String) - Static method in class edu.cmu.sphinx.fst.Fst
Deserializes an Fst from disk
loadModel(InputStream) - Static method in class edu.cmu.sphinx.fst.ImmutableFst
Deserializes an ImmutableFst from an InputStream
loadModel(String) - Static method in class edu.cmu.sphinx.fst.ImmutableFst
Deserializes an ImmutableFst from disk
LogSemiring - Class in edu.cmu.sphinx.fst.semiring
Log semiring implementation.
LogSemiring() - Constructor for class edu.cmu.sphinx.fst.semiring.LogSemiring
 

M

main(String[]) - Static method in class edu.cmu.sphinx.fst.openfst.Export
Exports a java binary model to openfst text format Several files are exported as follows: - basename.input.syms - basename.output.syms - basename.fst.txt
main(String[]) - Static method in class edu.cmu.sphinx.fst.openfst.Import
Imports an openfst text format and serializes it as java binary model Several files are imported as follows: - basename.input.syms - basename.output.syms - basename.fst.txt

N

naturalLess(float, float) - Method in class edu.cmu.sphinx.fst.semiring.Semiring
NATURAL ORDER By definition: a <= b iff a + b = a The natural order is a negative partial order iff the semiring is idempotent.
NShortestPaths - Class in edu.cmu.sphinx.fst.operations
N-shortest paths operation.

O

OLabelCompare - Class in edu.cmu.sphinx.fst.operations
Comparator used in ArcSort for sorting based on output labels
OLabelCompare() - Constructor for class edu.cmu.sphinx.fst.operations.OLabelCompare
 
one() - Method in class edu.cmu.sphinx.fst.semiring.LogSemiring
 
one() - Method in class edu.cmu.sphinx.fst.semiring.ProbabilitySemiring
 
one() - Method in class edu.cmu.sphinx.fst.semiring.Semiring
Semiring's one element
one() - Method in class edu.cmu.sphinx.fst.semiring.TropicalSemiring
 
osyms - Variable in class edu.cmu.sphinx.fst.Fst
 

P

Pair<L,R> - Class in edu.cmu.sphinx.fst.utils
Pairs two elements Original code obtained by http://stackoverflow.com/questions/521171/a-java-collection-of-value -pairs-tuples
Pair(L, R) - Constructor for class edu.cmu.sphinx.fst.utils.Pair
Constructor specifying the left and right elements of the Pair.
plus(float, float) - Method in class edu.cmu.sphinx.fst.semiring.LogSemiring
 
plus(float, float) - Method in class edu.cmu.sphinx.fst.semiring.ProbabilitySemiring
 
plus(float, float) - Method in class edu.cmu.sphinx.fst.semiring.Semiring
Semiring's plus operation
plus(float, float) - Method in class edu.cmu.sphinx.fst.semiring.TropicalSemiring
 
ProbabilitySemiring - Class in edu.cmu.sphinx.fst.semiring
Probability semiring implementation.
ProbabilitySemiring() - Constructor for class edu.cmu.sphinx.fst.semiring.ProbabilitySemiring
 
Project - Class in edu.cmu.sphinx.fst.operations
Project operation.
ProjectType - Enum in edu.cmu.sphinx.fst.operations
Enum used in Project operation.

R

readStringMap(ObjectInputStream) - Static method in class edu.cmu.sphinx.fst.Fst
Deserializes a symbol map from an ObjectInputStream
remapStateIds() - Method in class edu.cmu.sphinx.fst.Fst
Remaps the states' ids.
Reverse - Class in edu.cmu.sphinx.fst.operations
Reverse operation.
reverse(float) - Method in class edu.cmu.sphinx.fst.semiring.LogSemiring
 
reverse(float) - Method in class edu.cmu.sphinx.fst.semiring.ProbabilitySemiring
 
reverse(float) - Method in class edu.cmu.sphinx.fst.semiring.Semiring
 
reverse(float) - Method in class edu.cmu.sphinx.fst.semiring.TropicalSemiring
 
RmEpsilon - Class in edu.cmu.sphinx.fst.operations
Remove epsilon operation.
round(float, int) - Static method in class edu.cmu.sphinx.fst.utils.Utils
Rounds a float number to the specified number of decimal digits

S

saveModel(String) - Method in class edu.cmu.sphinx.fst.Fst
Saves binary model to disk
saveModel(String) - Method in class edu.cmu.sphinx.fst.ImmutableFst
 
search(ArrayList<String>, ArrayList<String>, int) - Static method in class edu.cmu.sphinx.fst.utils.Utils
Searches an ArrayList of Strings starting from a specific position for a pattern
semiring - Variable in class edu.cmu.sphinx.fst.Fst
 
Semiring - Class in edu.cmu.sphinx.fst.semiring
Abstract semiring class.
Semiring() - Constructor for class edu.cmu.sphinx.fst.semiring.Semiring
 
setArc(int, Arc) - Method in class edu.cmu.sphinx.fst.ImmutableState
Set an arc at the specified position in the arcs' array.
setArc(int, Arc) - Method in class edu.cmu.sphinx.fst.State
Set an arc at the specified position in the arcs' ArrayList.
setArcs(Arc[]) - Method in class edu.cmu.sphinx.fst.ImmutableState
Set the state's arcs array
setArcs(ArrayList<Arc>) - Method in class edu.cmu.sphinx.fst.State
Set the state's arcs ArrayList
setFinalWeight(float) - Method in class edu.cmu.sphinx.fst.State
Set the state's final weight
setIlabel(int) - Method in class edu.cmu.sphinx.fst.Arc
Set the input label's id
setIsyms(String[]) - Method in class edu.cmu.sphinx.fst.Fst
Set the input symbols
setLeft(L) - Method in class edu.cmu.sphinx.fst.utils.Pair
Set the left element of the Pair
setNextState(State) - Method in class edu.cmu.sphinx.fst.Arc
Set the next state
setOlabel(int) - Method in class edu.cmu.sphinx.fst.Arc
Set the output label's id
setOsyms(String[]) - Method in class edu.cmu.sphinx.fst.Fst
Set the output symbols
setRight(R) - Method in class edu.cmu.sphinx.fst.utils.Pair
Set the right element of the Pair
setSemiring(Semiring) - Method in class edu.cmu.sphinx.fst.Fst
Set the Semiring
setStart(State) - Method in class edu.cmu.sphinx.fst.Fst
Set the initial state
setWeight(float) - Method in class edu.cmu.sphinx.fst.Arc
Set the arc's weight
shortestDistance(Fst) - Static method in class edu.cmu.sphinx.fst.operations.NShortestPaths
Calculates the shortest distances from each state to the final.
split_string(String, String) - Static method in class edu.cmu.sphinx.fst.utils.Utils
Splits a string into an ArrayList of Strings based on a text delimiter
start - Variable in class edu.cmu.sphinx.fst.Fst
 
State - Class in edu.cmu.sphinx.fst
The fst's mutable state implementation.
State() - Constructor for class edu.cmu.sphinx.fst.State
Default Constructor
State(float) - Constructor for class edu.cmu.sphinx.fst.State
Constructor specifying the state's final weight
State(int) - Constructor for class edu.cmu.sphinx.fst.State
Constructor specifying the initial capacity of the arc's ArrayList (this is an optimization used in various operations)

T

times(float, float) - Method in class edu.cmu.sphinx.fst.semiring.LogSemiring
 
times(float, float) - Method in class edu.cmu.sphinx.fst.semiring.ProbabilitySemiring
 
times(float, float) - Method in class edu.cmu.sphinx.fst.semiring.Semiring
Semiring's times operation
times(float, float) - Method in class edu.cmu.sphinx.fst.semiring.TropicalSemiring
 
toString() - Method in class edu.cmu.sphinx.fst.Arc
 
toString() - Method in class edu.cmu.sphinx.fst.Fst
 
toString() - Method in class edu.cmu.sphinx.fst.ImmutableFst
 
toString() - Method in class edu.cmu.sphinx.fst.semiring.Semiring
 
toString() - Method in class edu.cmu.sphinx.fst.State
 
toString() - Method in class edu.cmu.sphinx.fst.utils.Pair
 
toStringArray(HashMap<String, Integer>) - Static method in class edu.cmu.sphinx.fst.utils.Utils
Convert a HashMap to Strings array
TropicalSemiring - Class in edu.cmu.sphinx.fst.semiring
Tropical semiring implementation.
TropicalSemiring() - Constructor for class edu.cmu.sphinx.fst.semiring.TropicalSemiring
 

U

undo(Fst) - Static method in class edu.cmu.sphinx.fst.operations.ExtendFinal
Undo of the extend operation
Utils - Class in edu.cmu.sphinx.fst.utils
Several genearl use utility functions needed by the fst framework
Utils() - Constructor for class edu.cmu.sphinx.fst.utils.Utils
 

V

valueOf(String) - Static method in enum edu.cmu.sphinx.fst.operations.ProjectType
Returns the enum constant of this type with the specified name.
values() - Static method in enum edu.cmu.sphinx.fst.operations.ProjectType
Returns an array containing the constants of this enum type, in the order they are declared.

Z

zero() - Method in class edu.cmu.sphinx.fst.semiring.LogSemiring
 
zero() - Method in class edu.cmu.sphinx.fst.semiring.ProbabilitySemiring
 
zero() - Method in class edu.cmu.sphinx.fst.semiring.Semiring
Semiring's zero element
zero() - Method in class edu.cmu.sphinx.fst.semiring.TropicalSemiring
 
A C D E F G H I L M N O P R S T U V Z