MaltParser 1.4.1

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

Method Summary
 void addInstance(GuideDecision decision)
           
 FeatureVector extract()
           
 int getDecisionIndex()
           
 FeatureModel getFeatureModel()
           
 boolean predict(GuideDecision decision)
           
 FeatureVector predictExtract(GuideDecision decision)
           
 boolean predictFromKBestList(GuideDecision decision)
           
 void updateCardinality()
           
 void updateFeatureModel()
           
 
Methods inherited from interface org.maltparser.parser.guide.Model
finalizeSentence, getGuide, getModelName, noMoreInstances, terminate
 

Method Detail

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()

MaltParser 1.4.1

Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.