|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This provides an interface for a feature that can be used to define a partition over the space of possible unseen words. A Feature assigns a value to an unseen word, selected from the set of possible FeatureValue. An implementation of this class must also specify an implementation of the FeatureValue interface.
Method Summary | |
FeatureValue[] |
allValues()
An array of all possible FeatureValues for this Feature. |
FeatureValue |
getValue(String s)
This returns the FeatureValue of the String s for this Feature. |
int |
numValues()
The number of possible FeatureValues for this Feature. |
Method Detail |
public int numValues()
public FeatureValue[] allValues()
public FeatureValue getValue(String s)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |