Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| MaltParser 1.5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.maltparser.core.feature
Class FeatureModel

    java.lang.Object
      org.maltparser.core.helper.HashMap<String,FeatureVector>
          org.maltparser.core.feature.FeatureModel

All Implemented Interfaces:
  Serializable, Map<String,FeatureVector>

    public class FeatureModel

extends HashMap<String,FeatureVector>

Author:
  Johan Hall
See Also:
  Serialized Form

Nested Class Summary

Nested classes/interfaces inherited from interface java.util.Map
`Map.Entry<K,V>`

Field Summary
`protected ArrayList<AddressFunction>` | `addressFunctionCache`
`protected FeatureEngine` | `featureEngine`
`protected ArrayList<FeatureFunction>` | `featureFunctionCache`
`protected FeatureVector` | `mainFeatureVector`
`protected ConfigurationRegistry` | `registry`
`static long` | `serialVersionUID`
`protected SpecificationModel` | `specModel`
`protected Pattern` | `splitPattern`

Constructor Summary
`FeatureModel(SpecificationModel specModel, ConfigurationRegistry registry, FeatureEngine engine)`

Method Summary
`ArrayList<AddressFunction>` | `getAddressFunctionCache()`
`FeatureEngine` | `getFeatureEngine()`
`ArrayList<FeatureFunction>` | `getFeatureFunctionCache()`
`FeatureVector` | `getFeatureVector(String subModelName)`
`FeatureVector` | `getMainFeatureVector()`
`ConfigurationRegistry` | `getRegistry()`
`SpecificationModel` | `getSpecModel()`
`FeatureFunction` | `identifyFeature(String spec)`
`protected void` | `identifyFeatureFunction(Stack<Object> objects)`
`protected void` | `initializeFunction(Function function, Stack<Object> objects)`
`void` | `setFeatureEngine(FeatureEngine featureEngine)`
`void` | `setRegistry(ConfigurationRegistry registry)`
`void` | `setSpecModel(SpecificationModel specModel)`
`String` | `toString()`
`void` | `update()`
`void` | `update(Object[] arguments)`

Methods inherited from class org.maltparser.core.helper.HashMap
`clear, containsKey, containsValue, doReadObject, doWriteObject, entrySet, equals, get, hashCode, isEmpty, keyEquals, keyHashCode, keySet, put, putAll, remove, size, valueEquals, valueHashCode, values`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Field Detail

### 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

Constructor Detail

### FeatureModel

    public FeatureModel(SpecificationModel specModel,
                        ConfigurationRegistry registry,
                        FeatureEngine engine)
                 throws MaltChainedException

Throws:
  `MaltChainedException`

Method Detail

### 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`

### 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:
    `toString` in class `HashMap<String,FeatureVector>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| MaltParser 1.5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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