org.maltparser.parser.algorithm.nivre.malt04
Class NivreMalt04
java.lang.Object
org.maltparser.parser.algorithm.nivre.Nivre
org.maltparser.parser.algorithm.nivre.malt04.NivreMalt04
- All Implemented Interfaces:
- ParsingAlgorithm
- Direct Known Subclasses:
- NivreEagerMalt04, NivreStandardMalt04
public abstract class NivreMalt04
- extends Nivre
- 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 |
addAvailableTransitionToTable, addEdgeLabels, addTransition, clear, getArcLabels, getConfiguration, getHistory, getInputNode, getLeftTarget, getNode, getRightTarget, getRootHandling, getStackNode, getTransition, initHistory, initPostProcessing, initRootHandling, initWithDefaultTransitions, isActionContainersLabeled, updateActionContainers |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
deprel
protected SymbolTable deprel
inPostProcessingMode
protected boolean inPostProcessingMode
NivreMalt04
public NivreMalt04(SingleMalt configuration)
throws MaltChainedException
- Throws:
MaltChainedException
parse
public DependencyStructure parse(DependencyStructure parseDependencyGraph)
throws MaltChainedException
- Specified by:
parse
in interface ParsingAlgorithm
- Overrides:
parse
in class Nivre
- Throws:
MaltChainedException
oracleParse
public DependencyStructure oracleParse(DependencyStructure goldDependencyGraph,
DependencyStructure parseDependencyGraph)
throws MaltChainedException
- Specified by:
oracleParse
in interface ParsingAlgorithm
- Overrides:
oracleParse
in class Nivre
- Throws:
MaltChainedException
transition
protected abstract void transition(DependencyStructure dg)
throws MaltChainedException
- Specified by:
transition
in class Nivre
- Throws:
MaltChainedException
checkParserAction
protected abstract boolean checkParserAction(DependencyStructure dg)
throws MaltChainedException
- Specified by:
checkParserAction
in class Nivre
- Throws:
MaltChainedException
oraclePredict
protected abstract void oraclePredict(DependencyStructure gold,
DependencyStructure parseDependencyGraph)
throws MaltChainedException
- Specified by:
oraclePredict
in class Nivre
- Throws:
MaltChainedException
getName
public abstract String getName()
- Specified by:
getName
in interface ParsingAlgorithm
- Specified by:
getName
in class Nivre
Copyright 2007-2008 Johan Hall, Jens Nilsson and Joakim Nivre.