org.maltparser.parser.algorithm.nivre
Class NivreEager
java.lang.Object
org.maltparser.parser.algorithm.nivre.Nivre
org.maltparser.parser.algorithm.nivre.NivreEager
- All Implemented Interfaces:
- ParsingAlgorithm, Featurable
public class NivreEager
- 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 |
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
NivreEager
public NivreEager(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
getName
public String getName()
- Specified by:
getName
in interface ParsingAlgorithm
- Specified by:
getName
in class Nivre
initParserAction
protected void initParserAction()
- Specified by:
initParserAction
in class Nivre
Copyright 2007 Johan Hall, Jens Nilsson and Joakim Nivre.