OutputColumnFeature (MaltParser 1.4.1)
Date: 2010-07-15

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

## org.maltparser.core.syntaxgraph.feature
Class OutputColumnFeature

    java.lang.Object
      org.maltparser.core.syntaxgraph.feature.ColumnFeature
          org.maltparser.core.syntaxgraph.feature.OutputColumnFeature

All Implemented Interfaces:
  FeatureFunction, Function, Modifiable

    public class OutputColumnFeature

extends ColumnFeature

Author:
  Johan Hall

Field Summary
`protected AddressFunction` | `addressFunction`
`protected DataFormatInstance` | `dataFormatInstance`

Fields inherited from class org.maltparser.core.syntaxgraph.feature.ColumnFeature
`column, featureValue`

Constructor Summary
`OutputColumnFeature(DataFormatInstance dataFormatInstance)`

Method Summary
`boolean` | `equals(Object obj)`
`AddressFunction` | `getAddressFunction()`
`DataFormatInstance` | `getDataFormatInstance()`
`Class<?>[]` | `getParameterTypes()` Returns an array of class types used by the feature extraction system to invoke initialize with correct arguments.
`int` | `hashCode()`
`void` | `initialize(Object[] arguments)` Initialize the feature function
`void` | `setAddressFunction(AddressFunction addressFunction)`
`void` | `setDataFormatInstance(DataFormatInstance dataFormatInstance)`
`String` | `toString()`
`void` | `update()` Cause the feature function to update the feature value.

Methods inherited from class org.maltparser.core.syntaxgraph.feature.ColumnFeature
`getCode, getColumn, getColumnName, getFeatureValue, getSymbol, getSymbolTable, setColumn, setFeatureValue, setFeatureValue, updateCardinality`

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

Field Detail

### addressFunction

    protected AddressFunction addressFunction

### dataFormatInstance

    protected DataFormatInstance dataFormatInstance

Constructor Detail

### OutputColumnFeature

    public OutputColumnFeature(DataFormatInstance dataFormatInstance)
                        throws MaltChainedException

Throws:
  `MaltChainedException`

Method Detail

### initialize

    public void initialize(Object[] arguments)
                    throws MaltChainedException

  Description copied from interface: `Function`
  Initialize the feature function

  Specified by:
    `initialize` in interface `Function`
  Specified by:
    `initialize` in class `ColumnFeature`
  Parameters:
    `arguments` - an array of arguments with the type returned by getParameterTypes()
  Throws:
    `MaltChainedException`

### getParameterTypes

    public Class<?>[] getParameterTypes()

  Description copied from interface: `Function`
  Returns an array of class types used by the feature extraction system to invoke initialize with correct arguments.

  Specified by:
    `getParameterTypes` in interface `Function`
  Specified by:
    `getParameterTypes` in class `ColumnFeature`
  Returns:
    an array of class types

### update

    public void update()
                throws MaltChainedException

  Description copied from interface: `Function`
  Cause the feature function to update the feature value.

  Specified by:
    `update` in interface `Function`
  Specified by:
    `update` in class `ColumnFeature`
  Throws:
    `MaltChainedException`

### getAddressFunction

    public AddressFunction getAddressFunction()

### setAddressFunction

    public void setAddressFunction(AddressFunction addressFunction)

### getDataFormatInstance

    public DataFormatInstance getDataFormatInstance()

### setDataFormatInstance

    public void setDataFormatInstance(DataFormatInstance dataFormatInstance)

### equals

    public boolean equals(Object obj)

  Overrides:
    `equals` in class `ColumnFeature`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `Object`

### toString

    public String toString()

  Overrides:
    `toString` in class `ColumnFeature`

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

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