org.maltparserx.parser.guide.Guide Maven / Gradle / Ivy
package org.maltparserx.parser.guide;
import org.maltparserx.core.exception.MaltChainedException;
import org.maltparserx.core.syntaxgraph.DependencyStructure;
import org.maltparserx.parser.DependencyParserConfig;
/**
*
* @author Johan Hall
* @since 1.1
**/
public interface Guide {
// public enum GuideMode { BATCH, ONLINE, CLASSIFY}
// public void addInstance(GuideDecision decision) throws MaltChainedException;
public void finalizeSentence(DependencyStructure dependencyGraph) throws MaltChainedException;
// public void noMoreInstances() throws MaltChainedException;
public void terminate() throws MaltChainedException;
// public void predict(GuideDecision decision) throws MaltChainedException;
// public boolean predictFromKBestList(GuideDecision decision) throws MaltChainedException;
public DependencyParserConfig getConfiguration();
// public GuideMode getGuideMode();
// public GuideHistory getHistory();
// public FeatureModelManager getFeatureModelManager();
public String getGuideName();
public void setGuideName(String guideName);
}