| Package | Description |
|---|---|
| edu.cmu.sphinx.fst | |
| edu.cmu.sphinx.fst.operations | |
| edu.cmu.sphinx.fst.semiring | |
| edu.cmu.sphinx.linguist.g2p |
| Modifier and Type | Field and Description |
|---|---|
protected Semiring |
Fst.semiring |
| Modifier and Type | Method and Description |
|---|---|
Semiring |
Fst.getSemiring()
Get the semiring
|
| Modifier and Type | Method and Description |
|---|---|
static Fst |
Convert.importFst(java.lang.String basename,
Semiring semiring)
Imports an openfst text format Several files are imported as follows: -
basename.input.syms - basename.output.syms - basename.fst.txt
|
void |
Fst.setSemiring(Semiring semiring)
Set the Semiring
|
| Constructor and Description |
|---|
Fst(Semiring s)
Constructor specifying the fst's semiring
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Compose.augment(int label,
Fst fst,
Semiring semiring)
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 |
static Fst |
Compose.compose(Fst fst1,
Fst fst2,
Semiring semiring,
boolean sorted)
Computes the composition of two Fsts.
|
static Fst |
Compose.get(Fst fst1,
Fst fst2,
Semiring semiring)
Computes the composition of two Fsts.
|
static Fst |
Compose.getFilter(java.lang.String[] syms,
Semiring semiring)
Get a filter to use for avoiding multiple epsilon paths in the resulting
Fst
See: M.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LogSemiring
Log semiring implementation.
|
class |
ProbabilitySemiring
Probability semiring implementation.
|
class |
TropicalSemiring
Tropical semiring implementation.
|
| Constructor and Description |
|---|
Path(java.util.ArrayList<java.lang.String> path,
Semiring semiring)
Create a Path instance with specified path and semiring elements
|
Path(Semiring semiring)
Create a Path instance with specified semiring element
|