org.maltparser.core.feature
Class FeatureModel
java.lang.Object
   java.util.AbstractMap<K,V>
java.util.AbstractMap<K,V>
       java.util.HashMap<String,FeatureVector>
java.util.HashMap<String,FeatureVector>
           org.maltparser.core.feature.FeatureModel
org.maltparser.core.feature.FeatureModel
- All Implemented Interfaces: 
- Serializable, Cloneable, Map<String,FeatureVector>
- public class FeatureModel 
- extends HashMap<String,FeatureVector>
- Author:
- Johan Hall
- See Also:
- Serialized Form
 
 
 
 
 
| Methods inherited from class java.util.HashMap | 
| clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values | 
 
 
 
 
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
specModel
protected SpecificationModel specModel
addressFunctionCache
protected final ArrayList<AddressFunction> addressFunctionCache
featureFunctionCache
protected final ArrayList<FeatureFunction> featureFunctionCache
registry
protected ConfigurationRegistry registry
featureEngine
protected FeatureEngine featureEngine
mainFeatureVector
protected FeatureVector mainFeatureVector
splitPattern
protected final Pattern splitPattern
FeatureModel
public FeatureModel(SpecificationModel specModel,
                    ConfigurationRegistry registry,
                    FeatureEngine engine)
             throws MaltChainedException
- Throws:
- MaltChainedException
getSpecModel
public SpecificationModel getSpecModel()
- 
 
setSpecModel
public void setSpecModel(SpecificationModel specModel)
- 
 
getAddressFunctionCache
public ArrayList<AddressFunction> getAddressFunctionCache()
- 
 
getFeatureFunctionCache
public ArrayList<FeatureFunction> getFeatureFunctionCache()
- 
 
getRegistry
public ConfigurationRegistry getRegistry()
- 
 
setRegistry
public void setRegistry(ConfigurationRegistry registry)
- 
 
getFeatureEngine
public FeatureEngine getFeatureEngine()
- 
 
setFeatureEngine
public void setFeatureEngine(FeatureEngine featureEngine)
- 
 
getMainFeatureVector
public FeatureVector getMainFeatureVector()
- 
 
getFeatureVector
public FeatureVector getFeatureVector(String subModelName)
- 
 
update
public void update()
            throws MaltChainedException
- 
- Throws:
- MaltChainedException
 
update
public void update(Object[] arguments)
            throws MaltChainedException
- 
- Throws:
- MaltChainedException
 
updateCardinality
public void updateCardinality()
                       throws MaltChainedException
- 
- Throws:
- MaltChainedException
 
identifyFeature
public FeatureFunction identifyFeature(String spec)
                                throws MaltChainedException
- 
- Throws:
- MaltChainedException
 
identifyFeatureFunction
protected void identifyFeatureFunction(Stack<Object> objects)
                                throws MaltChainedException
- 
- Throws:
- MaltChainedException
 
initializeFunction
protected void initializeFunction(Function function,
                                  Stack<Object> objects)
                           throws MaltChainedException
- 
- Throws:
- MaltChainedException
 
toString
public String toString()
- 
- Overrides:
- toStringin class- AbstractMap<String,FeatureVector>
 
- 
 
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.