MaltParser 1.4.1

org.maltparser.parser.guide.instance
Interface InstanceModel

All Superinterfaces:
Model
All Known Implementing Classes:
AtomicModel, DecisionTreeModel, FeatureDivideModel

public interface InstanceModel
extends Model


Method Summary
 void addInstance(SingleDecision decision)
           
 void decreaseFrequency()
           
 FeatureVector extract()
           
 void increaseFrequency()
           
 boolean predict(SingleDecision decision)
           
 FeatureVector predictExtract(SingleDecision decision)
           
 void train()
           
 
Methods inherited from interface org.maltparser.parser.guide.Model
finalizeSentence, getGuide, getModelName, noMoreInstances, terminate
 

Method Detail

addInstance

void addInstance(SingleDecision decision)
                 throws MaltChainedException
Throws:
MaltChainedException

predict

boolean predict(SingleDecision decision)
                throws MaltChainedException
Throws:
MaltChainedException

predictExtract

FeatureVector predictExtract(SingleDecision decision)
                             throws MaltChainedException
Throws:
MaltChainedException

extract

FeatureVector extract()
                      throws MaltChainedException
Throws:
MaltChainedException

train

void train()
           throws MaltChainedException
Throws:
MaltChainedException

increaseFrequency

void increaseFrequency()

decreaseFrequency

void decreaseFrequency()

MaltParser 1.4.1

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