001 package org.maltparser.parser.history.action; 002 003 import org.maltparser.core.exception.MaltChainedException; 004 import org.maltparser.parser.history.container.TableContainer; 005 import org.maltparser.parser.history.container.TableContainer.RelationToNextDecision; 006 import org.maltparser.parser.history.kbest.KBestList; 007 /** 008 * 009 * @author Johan Hall 010 * @since 1.1 011 **/ 012 public interface SingleDecision extends GuideDecision { 013 public void addDecision(int code) throws MaltChainedException; 014 public void addDecision(String symbol) throws MaltChainedException; 015 public int getDecisionCode() throws MaltChainedException; 016 public String getDecisionSymbol() throws MaltChainedException; 017 public int getDecisionCode(String symbol) throws MaltChainedException; 018 public KBestList getKBestList() throws MaltChainedException; 019 public boolean updateFromKBestList() throws MaltChainedException; 020 public boolean continueWithNextDecision() throws MaltChainedException; 021 public TableContainer getTableContainer(); 022 public RelationToNextDecision getRelationToNextDecision(); 023 }