MaltParser 1.2

org.maltparser.core.feature
Class FeatureModelManager

java.lang.Object
  extended by org.maltparser.core.feature.FeatureModelManager

public class FeatureModelManager
extends Object

Author:
Johan Hall

Field Summary
protected  FeatureEngine featureEngine
           
protected  ConfigurationRegistry registry
           
protected  SpecificationModels specModels
           
 
Constructor Summary
FeatureModelManager(FeatureEngine engine, ConfigurationRegistry registry)
           
 
Method Summary
 FeatureEngine getFeatureEngine()
           
 FeatureModel getFeatureModel(String specModelURL)
           
 FeatureModel getFeatureModel(String specModelURL, int specModelUrlIndex)
           
 ConfigurationRegistry getRegistry()
           
 SpecificationModels getSpecModels()
           
 void loadSpecification(String specModelFileName)
           
 void loadSpecification(URL specModelURL)
           
 void setFeatureEngine(FeatureEngine featureEngine)
           
 void setRegistry(ConfigurationRegistry registry)
           
protected  void setSpecModels(SpecificationModels specModel)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

specModels

protected SpecificationModels specModels

featureEngine

protected FeatureEngine featureEngine

registry

protected ConfigurationRegistry registry
Constructor Detail

FeatureModelManager

public FeatureModelManager(FeatureEngine engine,
                           ConfigurationRegistry registry)
                    throws MaltChainedException
Throws:
MaltChainedException
Method Detail

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

MaltParser 1.2

Copyright 2007-2008 Johan Hall, Jens Nilsson and Joakim Nivre.