org.maltparser.core.feature
Class FeatureModelManager
java.lang.Object
org.maltparser.core.feature.FeatureModelManager
public class FeatureModelManager
- extends Object
- Author:
- Johan Hall
Method Summary |
FeatureEngine |
getFeatureEngine()
|
FeatureModel |
getFeatureModel(SpecificationModel specModel,
ConfigurationRegistry registry)
|
FeatureModel |
getFeatureModel(String specModelURL,
ConfigurationRegistry registry)
|
FeatureModel |
getFeatureModel(String specModelURL,
int specModelUrlIndex,
ConfigurationRegistry registry)
|
SpecificationModels |
getSpecModels()
|
void |
loadParSpecification(String specModelFileName,
boolean malt04,
String markingStrategy,
String coveredRoot)
|
void |
loadParSpecification(URL specModelURL,
boolean malt04,
String markingStrategy,
String coveredRoot)
|
void |
loadSpecification(String specModelFileName)
|
void |
loadSpecification(URL specModelURL)
|
void |
setFeatureEngine(FeatureEngine featureEngine)
|
protected void |
setSpecModels(SpecificationModels specModel)
|
String |
toString()
|
specModels
protected SpecificationModels specModels
featureEngine
protected FeatureEngine featureEngine
FeatureModelManager
public FeatureModelManager(FeatureEngine engine,
ConfigurationDir configDirectory)
throws MaltChainedException
- Throws:
MaltChainedException
loadSpecification
public void loadSpecification(String specModelFileName)
throws MaltChainedException
- Throws:
MaltChainedException
loadSpecification
public void loadSpecification(URL specModelURL)
throws MaltChainedException
- Throws:
MaltChainedException
loadParSpecification
public void loadParSpecification(String specModelFileName,
boolean malt04,
String markingStrategy,
String coveredRoot)
throws MaltChainedException
- Throws:
MaltChainedException
loadParSpecification
public void loadParSpecification(URL specModelURL,
boolean malt04,
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)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright 2007-2009 Johan Hall, Jens Nilsson and Joakim Nivre.