MaltParser 1.4.1

org.maltparser.parser.algorithm.stack
Class NonProjective

java.lang.Object
  extended by org.maltparser.parser.TransitionSystem
      extended by org.maltparser.parser.algorithm.stack.NonProjective

public class NonProjective
extends TransitionSystem

Author:
Johan Hall

Field Summary
protected static int LEFTARC
           
protected static int RIGHTARC
           
protected static int SHIFT
           
protected static int SWAP
           
 
Fields inherited from class org.maltparser.parser.TransitionSystem
actionContainers, arcLabelActionContainers, propagationManager, tableHandlers, transActionContainer, transitionTableHandler
 
Constructor Summary
NonProjective()
           
 
Method Summary
protected  void addAvailableTransitionToTable(TransitionTable ttable)
           
 void apply(GuideUserAction currentAction, ParserConfiguration configuration)
           
 GuideUserAction defaultAction(GuideUserHistory history, ParserConfiguration configuration)
           
 GuideUserAction getDeterministicAction(GuideUserHistory history, ParserConfiguration config)
           
 String getName()
           
protected  void initWithDefaultTransitions(GuideUserHistory history)
           
 boolean permissible(GuideUserAction currentAction, ParserConfiguration configuration)
           
 
Methods inherited from class org.maltparser.parser.TransitionSystem
addEdgeLabels, copyAction, getActionString, getPropagationManager, getTableHandlers, getTransitionTableHandler, initTableHandlers, initTransitionSystem, isActionContainersLabeled, setPropagationManager, updateActionContainers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHIFT

protected static final int SHIFT
See Also:
Constant Field Values

SWAP

protected static final int SWAP
See Also:
Constant Field Values

RIGHTARC

protected static final int RIGHTARC
See Also:
Constant Field Values

LEFTARC

protected static final int LEFTARC
See Also:
Constant Field Values
Constructor Detail

NonProjective

public NonProjective()
              throws MaltChainedException
Throws:
MaltChainedException
Method Detail

apply

public void apply(GuideUserAction currentAction,
                  ParserConfiguration configuration)
           throws MaltChainedException
Specified by:
apply in class TransitionSystem
Throws:
MaltChainedException

permissible

public boolean permissible(GuideUserAction currentAction,
                           ParserConfiguration configuration)
                    throws MaltChainedException
Specified by:
permissible in class TransitionSystem
Throws:
MaltChainedException

getDeterministicAction

public GuideUserAction getDeterministicAction(GuideUserHistory history,
                                              ParserConfiguration config)
                                       throws MaltChainedException
Specified by:
getDeterministicAction in class TransitionSystem
Throws:
MaltChainedException

addAvailableTransitionToTable

protected void addAvailableTransitionToTable(TransitionTable ttable)
                                      throws MaltChainedException
Specified by:
addAvailableTransitionToTable in class TransitionSystem
Throws:
MaltChainedException

initWithDefaultTransitions

protected void initWithDefaultTransitions(GuideUserHistory history)
                                   throws MaltChainedException
Specified by:
initWithDefaultTransitions in class TransitionSystem
Throws:
MaltChainedException

getName

public String getName()
Specified by:
getName in class TransitionSystem

defaultAction

public GuideUserAction defaultAction(GuideUserHistory history,
                                     ParserConfiguration configuration)
                              throws MaltChainedException
Specified by:
defaultAction in class TransitionSystem
Throws:
MaltChainedException

MaltParser 1.4.1

Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.