|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcc.mallet.fst.SumLatticeFactory
cc.mallet.fst.SumLatticeScaling.Factory
public static class SumLatticeScaling.Factory
| Constructor Summary | |
|---|---|
SumLatticeScaling.Factory()
|
|
| Method Summary | |
|---|---|
SumLattice |
newSumLattice(Transducer trans,
Sequence input,
Sequence output,
Transducer.Incrementor incrementor,
boolean saveXis,
LabelAlphabet outputAlphabet)
Returns a SumLattice object to run forward-backward. |
| Methods inherited from class cc.mallet.fst.SumLatticeFactory |
|---|
newSumLattice, newSumLattice, newSumLattice, newSumLattice, newSumLattice, newSumLattice |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SumLatticeScaling.Factory()
| Method Detail |
|---|
public SumLattice newSumLattice(Transducer trans,
Sequence input,
Sequence output,
Transducer.Incrementor incrementor,
boolean saveXis,
LabelAlphabet outputAlphabet)
SumLatticeFactory
newSumLattice in class SumLatticeFactorytrans - Transducer modelinput - Input sequenceoutput - If output is null then the forward-backward is not constrained to match the outputincrementor - If null then do not update the weightssaveXis - If true then save the transition weights as welloutputAlphabet - If outputAlphabet is non-null, this will create a LabelVector for each
position in the output sequence indicating the probability distribution
over possible outputs at that time index.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||