|
MaltParser 1.4.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.maltparser.core.syntaxgraph.feature.InputArcFeature
public class InputArcFeature
| Field Summary | |
|---|---|
protected AddressFunction |
addressFunction1
|
protected AddressFunction |
addressFunction2
|
protected ColumnDescription |
column
|
protected DataFormatInstance |
dataFormatInstance
|
protected SingleFeatureValue |
featureValue
|
protected SymbolTable |
table
|
protected SymbolTableHandler |
tableHandler
|
| Constructor Summary | |
|---|---|
InputArcFeature(DataFormatInstance dataFormatInstance,
SymbolTableHandler tableHandler)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
AddressFunction |
getAddressFunction1()
Returns the address function 1 (argument 1) |
AddressFunction |
getAddressFunction2()
Returns the address function 2 (argument 2) |
int |
getCode(String symbol)
Returns the integer representation of the string symbol according to the feature function. |
ColumnDescription |
getColumn()
|
DataFormatInstance |
getDataFormatInstance()
|
FeatureValue |
getFeatureValue()
Returns the feature value |
Class<?>[] |
getParameterTypes()
Returns an array of class types used by the feature extraction system to invoke initialize with correct arguments. |
String |
getSymbol(int code)
Returns the string representation of the integer code according to the feature function. |
SymbolTable |
getSymbolTable()
Returns the symbol table used by the feature function. |
SymbolTableHandler |
getTableHandler()
|
void |
initialize(Object[] arguments)
Initialize the feature function |
void |
setAddressFunction1(AddressFunction addressFunction1)
Sets the address function 1 (argument 1) |
void |
setAddressFunction2(AddressFunction addressFunction2)
Sets the address function 2 (argument 2) |
void |
setColumn(ColumnDescription column)
|
void |
setDataFormatInstance(DataFormatInstance dataFormatInstance)
|
void |
setFeatureValue(SingleFeatureValue featureValue)
|
void |
setSymbolTable(SymbolTable table)
|
void |
setTableHandler(SymbolTableHandler tableHandler)
|
String |
toString()
|
void |
update()
Cause the feature function to update the feature value. |
void |
updateCardinality()
Cause the feature function to update the cardinality of the feature value. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected AddressFunction addressFunction1
protected AddressFunction addressFunction2
protected ColumnDescription column
protected DataFormatInstance dataFormatInstance
protected SymbolTableHandler tableHandler
protected SymbolTable table
protected SingleFeatureValue featureValue
| Constructor Detail |
|---|
public InputArcFeature(DataFormatInstance dataFormatInstance,
SymbolTableHandler tableHandler)
throws MaltChainedException
MaltChainedException| Method Detail |
|---|
public void initialize(Object[] arguments)
throws MaltChainedException
Function
initialize in interface Functionarguments - an array of arguments with the type returned by getParameterTypes()
MaltChainedExceptionpublic Class<?>[] getParameterTypes()
Function
getParameterTypes in interface Function
public int getCode(String symbol)
throws MaltChainedException
FeatureFunctionsymbol according to the feature function.
getCode in interface FeatureFunctionsymbol - the string representation of the symbol
symbol according to the feature function.
MaltChainedExceptionpublic FeatureValue getFeatureValue()
FeatureFunction
getFeatureValue in interface FeatureFunction
public String getSymbol(int code)
throws MaltChainedException
FeatureFunctioncode according to the feature function.
getSymbol in interface FeatureFunctioncode - the integer representation of the symbol
code according to the feature function.
MaltChainedException
public void updateCardinality()
throws MaltChainedException
FeatureFunction
updateCardinality in interface FeatureFunctionMaltChainedException
public void update()
throws MaltChainedException
Function
update in interface FunctionMaltChainedExceptionpublic ColumnDescription getColumn()
public void setColumn(ColumnDescription column)
throws MaltChainedException
MaltChainedExceptionpublic AddressFunction getAddressFunction1()
public void setAddressFunction1(AddressFunction addressFunction1)
addressFunction1 - a address function 1 (argument 1)public AddressFunction getAddressFunction2()
public void setAddressFunction2(AddressFunction addressFunction2)
addressFunction2 - a address function 2 (argument 2)public DataFormatInstance getDataFormatInstance()
public void setDataFormatInstance(DataFormatInstance dataFormatInstance)
public void setFeatureValue(SingleFeatureValue featureValue)
public SymbolTable getSymbolTable()
FeatureFunction
getSymbolTable in interface FeatureFunctionpublic void setSymbolTable(SymbolTable table)
public SymbolTableHandler getTableHandler()
public void setTableHandler(SymbolTableHandler tableHandler)
public boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
MaltParser 1.4.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||