|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.nlp.process.NumAndCapFeature
Provides a partition over the set of possible unseen words that corresponds to the capitalization and inclusion of numbers in the word. Uses the NumAndCapFeatureValue class as possible values.
Constructor Summary | |
NumAndCapFeature()
|
Method Summary | |
FeatureValue[] |
allValues()
Returns each possible feature in an array. |
FeatureValue |
getValue(String s)
Use this to get the value of a String s. |
static void |
main(String[] args)
|
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 NumAndCapFeature()
Method Detail |
public int numValues()
Feature
numValues
in interface Feature
public FeatureValue[] allValues()
allValues
in interface Feature
public FeatureValue getValue(String s)
getValue
in interface Feature
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |