|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.uottawa.balie.TokenFeature
public class TokenFeature
This class contains a wide range of features about a token. It is designed to balance information calculated at construction time and at access time.
| Nested Class Summary | |
|---|---|
static class |
TokenFeature.BooleanMechanism
Mechanism for a boolean feature |
static class |
TokenFeature.Feature
lexical features |
static class |
TokenFeature.FeatureType
possible types for a token feature |
static interface |
TokenFeature.IFeature
a feature must have a type and a mechanism that compute its value |
static interface |
TokenFeature.Mechanism
Each feature must implements one mechanism |
static class |
TokenFeature.NominalMechanism
Mechanism for a nominal feature |
static class |
TokenFeature.NumericMechanism
Mechanism for a numeric feature |
| Field Summary | |
|---|---|
static double |
UNKNOWN_NUMERIC_VALUE
|
| Constructor Summary | |
|---|---|
TokenFeature(java.lang.String pi_RawToken,
PunctLookup pi_PunctLookup)
Construct features for a token |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final double UNKNOWN_NUMERIC_VALUE
| Constructor Detail |
|---|
public TokenFeature(java.lang.String pi_RawToken,
PunctLookup pi_PunctLookup)
pi_RawToken - The raw version of the tokenpi_PunctLookup - lookup for punctuations
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||