public final class NivreAddressFunction extends AddressFunction
Modifier and Type | Class and Description |
---|---|
static class |
NivreAddressFunction.NivreSubFunction |
Modifier and Type | Field and Description |
---|---|
static java.lang.Class<?>[] |
paramTypes |
address
Constructor and Description |
---|
NivreAddressFunction(java.lang.String _subFunctionName,
AlgoritmInterface _parsingAlgorithm) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
AddressValue |
getAddressValue()
Returns the address value of address function
|
int |
getIndex() |
java.lang.Class<?>[] |
getParameterTypes()
Returns an array of class types used by the feature extraction system to invoke initialize with
correct arguments.
|
NivreAddressFunction.NivreSubFunction |
getSubFunction() |
java.lang.String |
getSubFunctionName() |
void |
initialize(java.lang.Object[] arguments)
Initialize the feature function
|
void |
setIndex(int index) |
java.lang.String |
toString() |
void |
update()
Cause the feature function to update the feature value.
|
void |
update(java.lang.Object[] arguments) |
public static final java.lang.Class<?>[] paramTypes
public NivreAddressFunction(java.lang.String _subFunctionName, AlgoritmInterface _parsingAlgorithm)
public void initialize(java.lang.Object[] arguments) throws MaltChainedException
Function
arguments
- an array of arguments with the type returned by getParameterTypes()MaltChainedException
public java.lang.Class<?>[] getParameterTypes()
Function
public void update() throws MaltChainedException
Function
MaltChainedException
public void update(java.lang.Object[] arguments) throws MaltChainedException
update
in class AddressFunction
MaltChainedException
public java.lang.String getSubFunctionName()
public NivreAddressFunction.NivreSubFunction getSubFunction()
public AddressValue getAddressValue()
AddressFunction
getAddressValue
in class AddressFunction
public int getIndex()
public void setIndex(int index)
public boolean equals(java.lang.Object obj)
equals
in class AddressFunction
public java.lang.String toString()
toString
in class AddressFunction
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.