|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.stanford.nlp.process.CapitalFeature
Provides a partition over the set of possible unseen words that corresponds to the capitalization of characters in the word. Uses the CapitalFeatureValue class as possible values.
Constructor Summary | |
CapitalFeature()
|
Method Summary | |
FeatureValue[] |
allValues()
An array of all possible FeatureValues for this Feature. |
FeatureValue |
getValue(String s)
CDM: This could probably be redone using regular expressions. |
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 CapitalFeature()
Method Detail |
public int numValues()
Feature
numValues
in interface Feature
public FeatureValue[] allValues()
Feature
allValues
in interface Feature
public FeatureValue getValue(String s)
getValue
in interface Feature
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |