org.maltparser.parser.algorithm.covington
Class CovingtonAddressFunction
java.lang.Object
   org.maltparser.core.feature.function.AddressFunction
org.maltparser.core.feature.function.AddressFunction
       org.maltparser.parser.algorithm.covington.CovingtonAddressFunction
org.maltparser.parser.algorithm.covington.CovingtonAddressFunction
- All Implemented Interfaces: 
- Function
- public class CovingtonAddressFunction 
- extends AddressFunction
- Author:
- Johan Hall
 
 
 
 
 
 
subFunctionName
protected String subFunctionName
subFunction
protected CovingtonAddressFunction.CovingtonSubFunction subFunction
parsingAlgorithm
protected Algorithm parsingAlgorithm
index
protected int index
CovingtonAddressFunction
public CovingtonAddressFunction(String subFunctionName,
                                Algorithm parsingAlgorithm)
initialize
public void initialize(Object[] arguments)
                throws MaltChainedException
- Description copied from interface: Function
- Initialize the feature function
 
- 
- 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.
 
- 
- 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.
 
- 
- Throws:
- MaltChainedException
 
update
public void update(Object[] arguments)
            throws MaltChainedException
- 
- Specified by:
- updatein class- AddressFunction
 
- 
- Throws:
- MaltChainedException
 
getSubFunctionName
public String getSubFunctionName()
- 
 
setSubFunctionName
public void setSubFunctionName(String subFunctionName)
- 
 
getSubFunction
public CovingtonAddressFunction.CovingtonSubFunction getSubFunction()
- 
 
getAddressValue
public AddressValue getAddressValue()
- Description copied from class: AddressFunction
- Returns the address value of address function
 
- 
- Overrides:
- getAddressValuein class- AddressFunction
 
- 
- Returns:
- the address value of address function
 
getParsingAlgorithm
public Algorithm getParsingAlgorithm()
- 
 
setAlgorithm
public void setAlgorithm(Algorithm parsingAlgorithm)
- 
 
getIndex
public int getIndex()
- 
 
setIndex
public void setIndex(int index)
- 
 
equals
public boolean equals(Object obj)
- 
- Overrides:
- equalsin class- AddressFunction
 
- 
 
toString
public String toString()
- 
- Overrides:
- toStringin class- AddressFunction
 
- 
 
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.