001    package org.maltparser.parser.guide.instance;
002    
003    
004    import org.maltparser.core.exception.MaltChainedException;
005    import org.maltparser.core.feature.FeatureVector;
006    import org.maltparser.parser.guide.Model;
007    import org.maltparser.parser.history.action.SingleDecision;
008    
009    public interface InstanceModel extends Model {
010            public void addInstance(SingleDecision decision) throws MaltChainedException;
011            public boolean predict(SingleDecision decision) throws MaltChainedException;
012            public FeatureVector predictExtract(SingleDecision decision) throws MaltChainedException;
013            public FeatureVector extract() throws MaltChainedException;
014            public void train() throws MaltChainedException;
015            public void increaseFrequency();
016            public void decreaseFrequency();
017    }