org.maltparser.core.syntaxgraph.feature
Class OutputTableFeature
java.lang.Object
org.maltparser.core.symbol.TableFeature
org.maltparser.core.syntaxgraph.feature.OutputTableFeature
- All Implemented Interfaces:
- FeatureFunction, Function, Modifiable
public class OutputTableFeature
- extends TableFeature
- Author:
- Johan Hall
addressFunction
protected AddressFunction addressFunction
tableHandler
protected SymbolTableHandler tableHandler
OutputTableFeature
public OutputTableFeature(DataFormatInstance dataFormatInstance)
throws MaltChainedException
- Throws:
MaltChainedException
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 TableFeature
- 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 TableFeature
- 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 TableFeature
- Throws:
MaltChainedException
getAddressFunction
public AddressFunction getAddressFunction()
setAddressFunction
public void setAddressFunction(AddressFunction addressFunction)
getTableHandler
public SymbolTableHandler getTableHandler()
- Overrides:
getTableHandler
in class TableFeature
setTableHandler
public void setTableHandler(SymbolTableHandler tableHandler)
- Overrides:
setTableHandler
in class TableFeature
equals
public boolean equals(Object obj)
- Overrides:
equals
in class TableFeature
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class TableFeature
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.