Package cc.mallet.fst
Class MEMM
- java.lang.Object
-
- cc.mallet.fst.Transducer
-
- cc.mallet.fst.CRF
-
- cc.mallet.fst.MEMM
-
- All Implemented Interfaces:
java.io.Serializable
public class MEMM extends CRF implements java.io.Serializable
A Maximum Entropy Markov Model.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MEMM.State
protected static class
MEMM.TransitionIterator
-
Nested classes/interfaces inherited from class cc.mallet.fst.CRF
CRF.Factors
-
Nested classes/interfaces inherited from class cc.mallet.fst.Transducer
Transducer.Incrementor
-
-
Field Summary
-
Fields inherited from class cc.mallet.fst.CRF
cachedNumParametersStamp, featureInducers, featureSelections, globalFeatureSelection, initialStates, inputAlphabet, name2state, numParameters, outputAlphabet, parameters, states, weightsStructureChangeStamp, weightsValueChangeStamp
-
Fields inherited from class cc.mallet.fst.Transducer
CERTAIN_WEIGHT, IMPOSSIBLE_WEIGHT, inputPipe, outputPipe
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CRF.State
newState(java.lang.String name, int index, double initialWeight, double finalWeight, java.lang.String[] destinationNames, java.lang.String[] labelNames, java.lang.String[][] weightNames, CRF crf)
-
Methods inherited from class cc.mallet.fst.CRF
addFullyConnectedStates, addFullyConnectedStatesForBiLabels, addFullyConnectedStatesForLabels, addFullyConnectedStatesForThreeQuarterLabels, addFullyConnectedStatesForTriLabels, addOrderNStates, addSelfTransitioningStateForAllLabels, addStartState, addStartState, addState, addState, addState, addState, addStatesForBiLabelsConnectedAsIn, addStatesForHalfLabelsConnectedAsIn, addStatesForLabelsConnectedAsIn, addStatesForThreeQuarterLabelsConnectedAsIn, evaluate, freezeWeights, freezeWeights, getDefaultWeights, getInputAlphabet, getNumParameters, getOutputAlphabet, getParameter, getParameter, getParameters, getParametersAbsNorm, getState, getState, getWeights, getWeights, getWeights, getWeightsIndex, getWeightsName, getWeightsStructureChangeStamp, getWeightsValueChangeStamp, induceFeaturesFor, initialStateIterator, isTrainable, isWeightsFrozen, numStates, predict, print, print, setAsStartState, setDefaultWeight, setDefaultWeights, setFeatureSelection, setParameter, setParameter, setWeights, setWeights, setWeights, setWeightsDimensionAsIn, setWeightsDimensionAsIn, setWeightsDimensionDensely, unfreezeWeights, weightsStructureChanged, weightsValueChanged, write
-
Methods inherited from class cc.mallet.fst.Transducer
averageTokenAccuracy, canIterateAllTransitions, generatePath, getInputPipe, getMaxLatticeFactory, getOutputPipe, getSumLatticeFactory, isGenerative, label, less_efficient_sumLogProb, no_longer_needed_sumNegLogProb, setMaxLatticeFactory, setSumLatticeFactory, stateIndexOfString, sumLogProb, transduce, transduce
-
-