MaltParser 1.4.1

org.maltparser.parser.algorithm.twoplanar
Class TwoPlanar

java.lang.Object
  extended by org.maltparser.parser.TransitionSystem
      extended by org.maltparser.parser.algorithm.twoplanar.TwoPlanar

public class TwoPlanar
extends TransitionSystem

Author:
Carlos Gomez Rodriguez

Field Summary
protected static int LEFTARC
           
protected static int REDUCE
           
protected static int REDUCEBOTH
           
protected static int RIGHTARC
           
protected static int SHIFT
           
protected static int SWITCH
           
 
Fields inherited from class org.maltparser.parser.TransitionSystem
actionContainers, arcLabelActionContainers, propagationManager, tableHandlers, transActionContainer, transitionTableHandler
 
Constructor Summary
TwoPlanar()
           
 
Method Summary
protected  void addAvailableTransitionToTable(TransitionTable ttable)
           
 void apply(GuideUserAction currentAction, ParserConfiguration config)
           
 GuideUserAction defaultAction(GuideUserHistory history, ParserConfiguration configuration)
           
 GuideUserAction getDeterministicAction(GuideUserHistory history, ParserConfiguration config)
           
 String getName()
           
protected  void initWithDefaultTransitions(GuideUserHistory history)
           
 boolean permissible(GuideUserAction currentAction, ParserConfiguration config)
           
 
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

SWITCH

protected static final int SWITCH
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

REDUCE

protected static final int REDUCE
See Also:
Constant Field Values

REDUCEBOTH

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

TwoPlanar

public TwoPlanar()
          throws MaltChainedException
Throws:
MaltChainedException
Method Detail

apply

public void apply(GuideUserAction currentAction,
                  ParserConfiguration config)
           throws MaltChainedException
Specified by:
apply 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

permissible

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

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.