public interface Feature
Modifier and Type | Field and Description |
---|---|
static int |
CONFIDENCE_FEATURE |
static int |
CUSTOM_NORMALIZATION |
static int |
FLOAT_FEATURE |
static int |
INTEGER_FEATURE |
static int |
REFERENCE_FEATURE |
static int |
RULEID_FEATURE |
static int |
STRING_FEATURE |
static int |
TO_LOWER_NORMALIZATION |
static int |
TO_UPPER_NORMALIZATION |
static int |
TRIM_NORMALIZATION |
Modifier and Type | Method and Description |
---|---|
org.apache.uima.cas.Feature |
getFeature()
Get the UIMA feature value of this feature object
|
String |
getName()
Get the feature name of this feature
|
int |
getType()
Get the feature type.
|
String |
getValue()
Get the feature value of this feature.
|
String |
normalize(String input,
String ruleId)
Get the normalization of the input string based on the specified
normalization for this feature.
|
static final int STRING_FEATURE
static final int INTEGER_FEATURE
static final int FLOAT_FEATURE
static final int REFERENCE_FEATURE
static final int CONFIDENCE_FEATURE
static final int RULEID_FEATURE
static final int CUSTOM_NORMALIZATION
static final int TO_LOWER_NORMALIZATION
static final int TO_UPPER_NORMALIZATION
static final int TRIM_NORMALIZATION
String getName()
int getType()
String getValue()
org.apache.uima.cas.Feature getFeature()
String normalize(String input, String ruleId) throws Exception
Exception
Copyright © 2016. All rights reserved.