001package org.maltparser.parser.guide; 002 003import org.maltparser.core.exception.MaltChainedException; 004import org.maltparser.core.syntaxgraph.DependencyStructure; 005import org.maltparser.parser.DependencyParserConfig; 006/** 007* 008* @author Johan Hall 009* @since 1.1 010**/ 011public interface Guide { 012// public enum GuideMode { BATCH, ONLINE, CLASSIFY} 013 014// public void addInstance(GuideDecision decision) throws MaltChainedException; 015 public void finalizeSentence(DependencyStructure dependencyGraph) throws MaltChainedException; 016// public void noMoreInstances() throws MaltChainedException; 017 public void terminate() throws MaltChainedException; 018 019// public void predict(GuideDecision decision) throws MaltChainedException; 020// public boolean predictFromKBestList(GuideDecision decision) throws MaltChainedException; 021 022 public DependencyParserConfig getConfiguration(); 023// public GuideMode getGuideMode(); 024// public GuideHistory getHistory(); 025// public FeatureModelManager getFeatureModelManager(); 026 public String getGuideName(); 027 public void setGuideName(String guideName); 028}