org.maltparser.parser
Class Parser
java.lang.Object
   org.maltparser.parser.Algorithm
org.maltparser.parser.Algorithm
       org.maltparser.parser.Parser
org.maltparser.parser.Parser
- Direct Known Subclasses: 
- DeterministicParser
- public abstract class Parser 
- extends Algorithm
- Author:
- Johan Hall
 
 
 
 
| Methods inherited from class org.maltparser.parser.Algorithm | 
| closeDiaWriter, copyDynamicInput, copyEdges, getCurrentParserConfiguration, getDiaWriter, getGuide, getManager, getParserState, initParserState, isDiagnostics, makeParserFactory, openDiaWriter, setCurrentParserConfiguration, setDiagnostics, setGuide, setManager, setParserState, terminate, writeToDiaFile | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Parser
public Parser(DependencyParserConfig manager)
       throws MaltChainedException
- Creates a parser
 
- Parameters:
- manager- a reference to the single malt configuration
- Throws:
- MaltChainedException
 
parse
public abstract DependencyStructure parse(DependencyStructure parseDependencyGraph)
                                   throws MaltChainedException
- Parses the empty dependency graph
 
- 
- Parameters:
- parseDependencyGraph- a dependency graph
- Returns:
- a parsed dependency graph
- Throws:
- MaltChainedException
 
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.