public class ArcEager extends TransitionSystem
Modifier and Type | Field and Description |
---|---|
protected static int |
LEFTARC |
protected static int |
REDUCE |
protected static int |
RIGHTARC |
protected static int |
SHIFT |
protected static int |
UNSHIFT |
actionContainers, arcLabelActionContainers, decisionSettingsSplitPattern, transActionContainer, transitionTableHandler
Constructor and Description |
---|
ArcEager(PropagationManager propagationManager) |
Modifier and Type | Method and Description |
---|---|
protected void |
addAvailableTransitionToTable(TransitionTable ttable) |
void |
apply(GuideUserAction currentAction,
ParserConfiguration config) |
GuideUserAction |
defaultAction(GuideUserHistory history,
ParserConfiguration configuration) |
GuideUserAction |
getDeterministicAction(GuideUserHistory history,
ParserConfiguration config) |
java.lang.String |
getName() |
protected void |
initWithDefaultTransitions(GuideUserHistory history) |
boolean |
permissible(GuideUserAction currentAction,
ParserConfiguration config) |
addEdgeLabels, copyAction, getActionString, getTableHandlers, initTableHandlers, initTableHandlers, initTransitionSystem, isActionContainersLabeled, updateActionContainers
protected static final int SHIFT
protected static final int REDUCE
protected static final int RIGHTARC
protected static final int LEFTARC
protected static final int UNSHIFT
public ArcEager(PropagationManager propagationManager) throws MaltChainedException
MaltChainedException
public void apply(GuideUserAction currentAction, ParserConfiguration config) throws MaltChainedException
apply
in class TransitionSystem
MaltChainedException
public GuideUserAction getDeterministicAction(GuideUserHistory history, ParserConfiguration config) throws MaltChainedException
getDeterministicAction
in class TransitionSystem
MaltChainedException
protected void addAvailableTransitionToTable(TransitionTable ttable) throws MaltChainedException
addAvailableTransitionToTable
in class TransitionSystem
MaltChainedException
protected void initWithDefaultTransitions(GuideUserHistory history) throws MaltChainedException
initWithDefaultTransitions
in class TransitionSystem
MaltChainedException
public java.lang.String getName()
getName
in class TransitionSystem
public boolean permissible(GuideUserAction currentAction, ParserConfiguration config) throws MaltChainedException
permissible
in class TransitionSystem
MaltChainedException
public GuideUserAction defaultAction(GuideUserHistory history, ParserConfiguration configuration) throws MaltChainedException
defaultAction
in class TransitionSystem
MaltChainedException
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.