org.maltparser.parser.algorithm.stack
Class SwapEagerOracle
java.lang.Object
org.maltparser.parser.Oracle
org.maltparser.parser.algorithm.stack.SwapEagerOracle
- All Implemented Interfaces:
- Guide, OracleGuide
public class SwapEagerOracle
- extends Oracle
- Author:
- Johan Hall
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwapEagerOracle
public SwapEagerOracle(DependencyParserConfig manager,
GuideUserHistory history)
throws MaltChainedException
- Throws:
MaltChainedException
predict
public GuideUserAction predict(DependencyStructure gold,
ParserConfiguration configuration)
throws MaltChainedException
- Throws:
MaltChainedException
finalizeSentence
public void finalizeSentence(DependencyStructure dependencyGraph)
throws MaltChainedException
- Throws:
MaltChainedException
terminate
public void terminate()
throws MaltChainedException
- Throws:
MaltChainedException
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.