org.maltparser.parser.algorithm.nivre
Class NivreStandard
java.lang.Object
org.maltparser.parser.algorithm.nivre.Nivre
org.maltparser.parser.algorithm.nivre.NivreStandard
- All Implemented Interfaces:
- ParsingAlgorithm, Featurable
public class NivreStandard
- extends Nivre
- Since:
- 1.0
- Author:
- Joakim Nivre, Johan Hall
Fields inherited from class org.maltparser.parser.algorithm.nivre.Nivre |
configuration, dependencyGraph, deprel, input, NORMAL, parserAction, postProcessing, RELAXED, rootHandling, sentence, SHIFT, stack, STRICT |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RIGHTARC
protected static final int RIGHTARC
- See Also:
- Constant Field Values
LEFTARC
protected static final int LEFTARC
- See Also:
- Constant Field Values
NivreStandard
public NivreStandard(SingleMaltConfiguration configuration,
Sentence sentence)
throws MaltChainedException
- Throws:
MaltChainedException
transition
protected void transition(DependencyGraph dg)
throws MaltChainedException
- Specified by:
transition
in class Nivre
- Throws:
MaltChainedException
checkParserAction
protected boolean checkParserAction(DependencyGraph dg)
throws MaltChainedException
- Specified by:
checkParserAction
in class Nivre
- Throws:
MaltChainedException
oraclePredict
protected void oraclePredict(DependencyGraph gold)
throws MaltChainedException
- Specified by:
oraclePredict
in class Nivre
- Throws:
MaltChainedException
initParserAction
protected void initParserAction()
- Specified by:
initParserAction
in class Nivre
getName
public String getName()
- Specified by:
getName
in interface ParsingAlgorithm
- Specified by:
getName
in class Nivre
Copyright 2007 Johan Hall, Jens Nilsson and Joakim Nivre.