public abstract class ParserConfiguration extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected HistoryNode |
historyNode |
Constructor and Description |
---|
ParserConfiguration()
Creates a parser configuration
|
Modifier and Type | Method and Description |
---|---|
abstract void |
clear()
Clears the parser configuration
|
abstract DependencyStructure |
getDependencyGraph()
Returns the dependency structure
|
HistoryNode |
getHistoryNode() |
abstract void |
initialize()
Initialize the parser configuration
|
abstract boolean |
isTerminalState()
Returns true if the parser configuration is in a terminal state, otherwise false.
|
abstract void |
setDependencyGraph(DependencyStructure dependencyStructure)
Sets the dependency structure
|
void |
setHistoryNode(HistoryNode historyNode) |
protected HistoryNode historyNode
public ParserConfiguration()
public HistoryNode getHistoryNode()
public void setHistoryNode(HistoryNode historyNode)
public abstract void setDependencyGraph(DependencyStructure dependencyStructure) throws MaltChainedException
dependencyStructure
- a dependency structureMaltChainedException
public abstract boolean isTerminalState() throws MaltChainedException
MaltChainedException
public abstract DependencyStructure getDependencyGraph()
public abstract void clear() throws MaltChainedException
MaltChainedException
public abstract void initialize() throws MaltChainedException
MaltChainedException
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.