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
registry
protected ConfigurationRegistry registry
FeatureModelManager
public FeatureModelManager(FeatureEngine engine,
ConfigurationRegistry registry)
throws MaltChainedException
- Throws:
MaltChainedException
loadSpecification
public void loadSpecification(String specModelFileName)
throws MaltChainedException
- Throws:
MaltChainedException
loadSpecification
public void loadSpecification(URL specModelURL)
throws MaltChainedException
- Throws:
MaltChainedException
getFeatureModel
public FeatureModel getFeatureModel(String specModelURL,
int specModelUrlIndex)
throws MaltChainedException
- Throws:
MaltChainedException
getFeatureModel
public FeatureModel getFeatureModel(String specModelURL)
throws MaltChainedException
- Throws:
MaltChainedException
getSpecModels
public SpecificationModels getSpecModels()
setSpecModels
protected void setSpecModels(SpecificationModels specModel)
getFeatureEngine
public FeatureEngine getFeatureEngine()
setFeatureEngine
public void setFeatureEngine(FeatureEngine featureEngine)
getRegistry
public ConfigurationRegistry getRegistry()
setRegistry
public void setRegistry(ConfigurationRegistry registry)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright 2007-2008 Johan Hall, Jens Nilsson and Joakim Nivre.