|
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.feature.map.Merge3Feature
public class Merge3Feature
| Field Summary | |
|---|---|
protected FeatureFunction |
firstFeature
|
protected FeatureFunction |
secondFeature
|
protected SingleFeatureValue |
singleFeatureValue
|
protected SymbolTable |
table
|
protected SymbolTableHandler |
tableHandler
|
protected FeatureFunction |
thirdFeature
|
| Constructor Summary | |
|---|---|
Merge3Feature(SymbolTableHandler tableHandler)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
int |
getCode(String symbol)
Returns the integer representation of the string symbol according to the feature function. |
FeatureValue |
getFeatureValue()
Returns the feature value |
FeatureFunction |
getFirstFeature()
|
Class<?>[] |
getParameterTypes()
Returns an array of class types used by the feature extraction system to invoke initialize with correct arguments. |
FeatureFunction |
getSecondFeature()
|
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()
|
FeatureFunction |
getThirdFeature()
|
void |
initialize(Object[] arguments)
Initialize the feature function |
void |
setFirstFeature(FeatureFunction firstFeature)
|
void |
setSecondFeature(FeatureFunction secondFeature)
|
void |
setSymbolTable(SymbolTable table)
|
void |
setTableHandler(SymbolTableHandler tableHandler)
|
void |
setThirdFeature(FeatureFunction thirdFeature)
|
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 FeatureFunction firstFeature
protected FeatureFunction secondFeature
protected FeatureFunction thirdFeature
protected SymbolTableHandler tableHandler
protected SymbolTable table
protected SingleFeatureValue singleFeatureValue
| Constructor Detail |
|---|
public Merge3Feature(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()
MaltChainedException
public void update()
throws MaltChainedException
Function
update in interface FunctionMaltChainedExceptionpublic Class<?>[] getParameterTypes()
Function
getParameterTypes in interface Functionpublic 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 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.
MaltChainedException
public void updateCardinality()
throws MaltChainedException
FeatureFunction
updateCardinality in interface FeatureFunctionMaltChainedExceptionpublic FeatureFunction getFirstFeature()
public void setFirstFeature(FeatureFunction firstFeature)
public FeatureFunction getSecondFeature()
public void setSecondFeature(FeatureFunction secondFeature)
public FeatureFunction getThirdFeature()
public void setThirdFeature(FeatureFunction thirdFeature)
public SymbolTableHandler getTableHandler()
public void setTableHandler(SymbolTableHandler tableHandler)
public SymbolTable getSymbolTable()
FeatureFunction
getSymbolTable in interface FeatureFunctionpublic void setSymbolTable(SymbolTable table)
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 | |||||||||