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 structureMaltChainedExceptionpublic abstract boolean isTerminalState() throws MaltChainedException
MaltChainedExceptionpublic abstract DependencyStructure getDependencyGraph()
public abstract void clear() throws MaltChainedException
MaltChainedExceptionpublic abstract void initialize() throws MaltChainedException
MaltChainedExceptionCopyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.