public abstract class Parser extends ParsingAlgorithm
classifierGuide, currentParserConfiguration, manager, parserState, registry
Constructor and Description |
---|
Parser(DependencyParserConfig manager,
SymbolTableHandler symbolTableHandler)
Creates a parser
|
Modifier and Type | Method and Description |
---|---|
abstract DependencyStructure |
parse(DependencyStructure parseDependencyGraph)
Parses the empty dependency graph
|
copyDynamicInput, copyEdges, getCurrentParserConfiguration, getGuide, getManager, getParserRegistry, getParserState, setCurrentParserConfiguration, setGuide, terminate
public Parser(DependencyParserConfig manager, SymbolTableHandler symbolTableHandler) throws MaltChainedException
manager
- a reference to the single malt configurationMaltChainedException
public abstract DependencyStructure parse(DependencyStructure parseDependencyGraph) throws MaltChainedException
parseDependencyGraph
- a dependency graphMaltChainedException
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.