public class NonProjective extends TransitionSystem
Modifier and Type | Field and Description |
---|---|
protected static int |
LEFTARC |
protected static int |
RIGHTARC |
protected static int |
SHIFT |
protected static int |
SWAP |
actionContainers, arcLabelActionContainers, decisionSettingsSplitPattern, transActionContainer, transitionTableHandler
Constructor and Description |
---|
NonProjective(PropagationManager propagationManager) |
Modifier and Type | Method and Description |
---|---|
protected void |
addAvailableTransitionToTable(TransitionTable ttable) |
void |
apply(GuideUserAction currentAction,
ParserConfiguration configuration) |
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 configuration) |
addEdgeLabels, copyAction, getActionString, getTableHandlers, initTableHandlers, initTableHandlers, initTransitionSystem, isActionContainersLabeled, updateActionContainers
protected static final int SHIFT
protected static final int SWAP
protected static final int RIGHTARC
protected static final int LEFTARC
public NonProjective(PropagationManager propagationManager) throws MaltChainedException
MaltChainedException
public void apply(GuideUserAction currentAction, ParserConfiguration configuration) throws MaltChainedException
apply
in class TransitionSystem
MaltChainedException
public boolean permissible(GuideUserAction currentAction, ParserConfiguration configuration) throws MaltChainedException
permissible
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 GuideUserAction defaultAction(GuideUserHistory history, ParserConfiguration configuration) throws MaltChainedException
defaultAction
in class TransitionSystem
MaltChainedException
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.