org.maltparser.parser.algorithm.nivre
Class NivreFactory
java.lang.Object
org.maltparser.parser.algorithm.nivre.NivreFactory
- All Implemented Interfaces:
- AbstractFeatureFactory, AbstractParserFactory
- Direct Known Subclasses:
- NivreArcEagerFactory, NivreArcStandardFactory
public abstract class NivreFactory
- extends Object
- implements AbstractParserFactory
- Author:
- Johan Hall
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
algorithm
protected Algorithm algorithm
manager
protected DependencyParserConfig manager
NivreFactory
public NivreFactory(Algorithm algorithm)
makeParserConfiguration
public ParserConfiguration makeParserConfiguration()
throws MaltChainedException
- Description copied from interface:
AbstractParserFactory
- Creates a parser configuration
- Specified by:
makeParserConfiguration
in interface AbstractParserFactory
- Returns:
- a parser configuration
- Throws:
MaltChainedException
makeFunction
public Function makeFunction(String subFunctionName)
throws MaltChainedException
- Specified by:
makeFunction
in interface AbstractFeatureFactory
- Throws:
MaltChainedException
getAlgorithm
public Algorithm getAlgorithm()
setAlgorithm
public void setAlgorithm(Algorithm algorithm)
getManager
public DependencyParserConfig getManager()
setManager
public void setManager(DependencyParserConfig manager)
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.