public interface DecisionModel extends Model
Modifier and Type | Method and Description |
---|---|
void |
addInstance(FeatureModel featureModel,
GuideDecision decision) |
FeatureVector |
extract(FeatureModel featureModel) |
int |
getDecisionIndex() |
boolean |
predict(FeatureModel featureModel,
GuideDecision decision) |
FeatureVector |
predictExtract(FeatureModel featureModel,
GuideDecision decision) |
boolean |
predictFromKBestList(FeatureModel featureModel,
GuideDecision decision) |
finalizeSentence, getGuide, getModelName, noMoreInstances, terminate
void addInstance(FeatureModel featureModel, GuideDecision decision) throws MaltChainedException
MaltChainedException
boolean predict(FeatureModel featureModel, GuideDecision decision) throws MaltChainedException
MaltChainedException
FeatureVector predictExtract(FeatureModel featureModel, GuideDecision decision) throws MaltChainedException
MaltChainedException
FeatureVector extract(FeatureModel featureModel) throws MaltChainedException
MaltChainedException
boolean predictFromKBestList(FeatureModel featureModel, GuideDecision decision) throws MaltChainedException
MaltChainedException
int getDecisionIndex()
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.