    001    package org.maltparser.parser.guide;
    002
    003    import org.maltparser.core.exception.MaltChainedException;
    004    import org.maltparser.core.feature.FeatureModelManager;
    005    import org.maltparser.core.feature.FeatureVector;
    006    import org.maltparser.parser.history.GuideHistory;
    007    import org.maltparser.parser.history.action.GuideDecision;
    008
    009    public interface ClassifierGuide extends Guide {
    010            public enum GuideMode { BATCH, CLASSIFY}
    011
    012            public void addInstance(GuideDecision decision) throws MaltChainedException;
    013            public void noMoreInstances() throws MaltChainedException;
    014            public void predict(GuideDecision decision) throws MaltChainedException;
    015            public FeatureVector predictExtract(GuideDecision decision) throws MaltChainedException;
    016            public FeatureVector extract() throws MaltChainedException;
    017            public boolean predictFromKBestList(GuideDecision decision) throws MaltChainedException;
    018
    019            public GuideMode getGuideMode();
    020            public GuideHistory getHistory();
    021            public FeatureModelManager getFeatureModelManager();
    022    }