org.maltparser.parser.algorithm.nivre.malt04
Class NivreStandardMalt04
java.lang.Object
org.maltparser.parser.algorithm.nivre.Nivre
org.maltparser.parser.algorithm.nivre.malt04.NivreMalt04
org.maltparser.parser.algorithm.nivre.malt04.NivreStandardMalt04
- All Implemented Interfaces:
- ParsingAlgorithm
public class NivreStandardMalt04
- extends NivreMalt04
- Since:
- 1.0
- Author:
- Joakim Nivre, Johan Hall
Fields inherited from class org.maltparser.parser.algorithm.nivre.Nivre |
actionContainers, arcLabelActionContainers, complexTransition, configuration, currentAction, history, input, NORMAL, postProcessing, pushActionContainer, pushTable, RELAXED, rootHandling, SHIFT, stack, STRICT, tableHandlers, transActionContainer, transitionTableHandler |
Methods inherited from class org.maltparser.parser.algorithm.nivre.Nivre |
addEdgeLabels, addTransition, clear, getArcLabels, getConfiguration, getHistory, getInputNode, getLeftTarget, getNode, getRightTarget, getRootHandling, getStackNode, initHistory, initPostProcessing, initRootHandling, isActionContainersLabeled |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REDUCE
protected static final int REDUCE
- 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
NivreStandardMalt04
public NivreStandardMalt04(SingleMalt configuration)
throws MaltChainedException
- Throws:
MaltChainedException
transition
protected void transition(DependencyStructure parseDependencyGraph)
throws MaltChainedException
- Specified by:
transition
in class NivreMalt04
- Throws:
MaltChainedException
checkParserAction
protected boolean checkParserAction(DependencyStructure parseDependencyGraph)
throws MaltChainedException
- Specified by:
checkParserAction
in class NivreMalt04
- Throws:
MaltChainedException
oraclePredict
protected void oraclePredict(DependencyStructure gold,
DependencyStructure parseDependencyGraph)
throws MaltChainedException
- Specified by:
oraclePredict
in class NivreMalt04
- Throws:
MaltChainedException
getTransition
protected int getTransition()
- Specified by:
getTransition
in class Nivre
updateActionContainers
protected void updateActionContainers(int transition,
LabelSet arcLabels)
throws MaltChainedException
- Specified by:
updateActionContainers
in class Nivre
- Throws:
MaltChainedException
getName
public String getName()
- Specified by:
getName
in interface ParsingAlgorithm
- Specified by:
getName
in class NivreMalt04
addAvailableTransitionToTable
protected void addAvailableTransitionToTable(TransitionTable ttable)
throws MaltChainedException
- Specified by:
addAvailableTransitionToTable
in class Nivre
- Throws:
MaltChainedException
initWithDefaultTransitions
protected void initWithDefaultTransitions()
throws MaltChainedException
- Specified by:
initWithDefaultTransitions
in class Nivre
- Throws:
MaltChainedException
Copyright 2007-2008 Johan Hall, Jens Nilsson and Joakim Nivre.