|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.stanford.nlp.process.NumberFeature
Provides a partition over the set of possible unseen words that corresponds to the formatting of numbers in the word. Uses the NumberFeatureValue class as possible values.
Constructor Summary | |
NumberFeature()
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NumberFeature()
Method Detail |
public FeatureValue[] allValues()
Feature
allValues
in interface Feature
public int numValues()
Feature
numValues
in interface Feature
public FeatureValue getValue(String s)
Feature
getValue
in interface Feature
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |