public class ProjectiveOracle extends Oracle
actionContainers, arcLabelActionContainers, transActionContainer
Constructor and Description |
---|
ProjectiveOracle(DependencyParserConfig manager,
GuideUserHistory history) |
Modifier and Type | Method and Description |
---|---|
void |
finalizeSentence(DependencyStructure dependencyGraph) |
GuideUserAction |
predict(DependencyStructure gold,
ParserConfiguration configuration) |
void |
terminate() |
getConfiguration, getGuideName, getHistory, setGuideName, updateActionContainers
public ProjectiveOracle(DependencyParserConfig manager, GuideUserHistory history) throws MaltChainedException
MaltChainedException
public GuideUserAction predict(DependencyStructure gold, ParserConfiguration configuration) throws MaltChainedException
MaltChainedException
public void finalizeSentence(DependencyStructure dependencyGraph) throws MaltChainedException
MaltChainedException
public void terminate() throws MaltChainedException
MaltChainedException
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.