org.maltparser.core.feature
Class FeatureModelManager
java.lang.Object
org.maltparser.core.feature.FeatureModelManager
public class FeatureModelManager
- extends Object
- Author:
- Johan Hall
specModels
protected SpecificationModels specModels
featureEngine
protected FeatureEngine featureEngine
configDirectory
protected ConfigurationDir configDirectory
FeatureModelManager
public FeatureModelManager(FeatureEngine engine,
ConfigurationDir configDirectory)
throws MaltChainedException
- Throws:
MaltChainedException
loadSpecification
public void loadSpecification(String specModelFileName)
throws MaltChainedException
- Throws:
MaltChainedException
loadParSpecification
public void loadParSpecification(String specModelFileName,
String markingStrategy,
String coveredRoot)
throws MaltChainedException
- Throws:
MaltChainedException
getFeatureModel
public FeatureModel getFeatureModel(String specModelURL,
int specModelUrlIndex,
ConfigurationRegistry registry)
throws MaltChainedException
- Throws:
MaltChainedException
getFeatureModel
public FeatureModel getFeatureModel(String specModelURL,
ConfigurationRegistry registry)
throws MaltChainedException
- Throws:
MaltChainedException
getFeatureModel
public FeatureModel getFeatureModel(SpecificationModel specModel,
ConfigurationRegistry registry)
throws MaltChainedException
- Throws:
MaltChainedException
getSpecModels
public SpecificationModels getSpecModels()
setSpecModels
protected void setSpecModels(SpecificationModels specModel)
getFeatureEngine
public FeatureEngine getFeatureEngine()
setFeatureEngine
public void setFeatureEngine(FeatureEngine featureEngine)
getConfigDirectory
public ConfigurationDir getConfigDirectory()
setConfigDirectory
public void setConfigDirectory(ConfigurationDir configDirectory)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.