org.maltparser.parser.guide.decision
Interface DecisionModel
- All Superinterfaces:
- Model
- All Known Implementing Classes:
- BranchedDecisionModel, OneDecisionModel, SeqDecisionModel
public interface DecisionModel
- extends Model
- Since:
- 1.1
- Author:
- Johan Hall
updateFeatureModel
void updateFeatureModel()
throws MaltChainedException
- Throws:
MaltChainedException
updateCardinality
void updateCardinality()
throws MaltChainedException
- Throws:
MaltChainedException
addInstance
void addInstance(GuideDecision decision)
throws MaltChainedException
- Throws:
MaltChainedException
predict
boolean predict(GuideDecision decision)
throws MaltChainedException
- Throws:
MaltChainedException
predictExtract
FeatureVector predictExtract(GuideDecision decision)
throws MaltChainedException
- Throws:
MaltChainedException
extract
FeatureVector extract()
throws MaltChainedException
- Throws:
MaltChainedException
predictFromKBestList
boolean predictFromKBestList(GuideDecision decision)
throws MaltChainedException
- Throws:
MaltChainedException
getFeatureModel
FeatureModel getFeatureModel()
getDecisionIndex
int getDecisionIndex()
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.