MaltParser 1.2

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)
           
 int getDecisionIndex()
           
 FeatureModel getFeatureModel()
           
 boolean predict(GuideDecision decision)
           
 boolean predictFromKBestList(GuideDecision decision)
           
 void update()
           
 void updateCardinality()
           
 
Methods inherited from interface org.maltparser.parser.guide.Model
finalizeSentence, getGuide, getModelName, noMoreInstances, terminate
 

Method Detail

update

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

predictFromKBestList

boolean predictFromKBestList(GuideDecision decision)
                             throws MaltChainedException
Throws:
MaltChainedException

getFeatureModel

FeatureModel getFeatureModel()

getDecisionIndex

int getDecisionIndex()

MaltParser 1.2

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