CONFIDENCE_FEATURE, CUSTOM_NORMALIZATION, FLOAT_FEATURE, INTEGER_FEATURE, REFERENCE_FEATURE, RULEID_FEATURE, STRING_FEATURE, TO_LOWER_NORMALIZATION, TO_UPPER_NORMALIZATION, TRIM_NORMALIZATION| Constructor and Description |
|---|
Feature_impl(int type,
String name,
String value,
int normalizationType,
String implClass) |
| 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.
|
void |
initialize()
Initialize the feature definition.
|
String |
normalize(String input,
String ruleId)
Get the normalization of the input string based on the specified
normalization for this feature.
|
String |
toString() |
void |
typeInit(org.apache.uima.cas.Type annotationType) |
public int getType()
Featurepublic String getName()
Featurepublic String getValue()
Featurepublic org.apache.uima.cas.Feature getFeature()
FeaturegetFeature in interface Featurepublic String normalize(String input, String ruleId) throws Exception
Featurepublic void typeInit(org.apache.uima.cas.Type annotationType)
throws org.apache.uima.resource.ResourceInitializationException
annotationType - org.apache.uima.resource.ResourceInitializationExceptionpublic void initialize()
throws RegexAnnotatorConfigException
RegexAnnotatorConfigExceptionCopyright © 2006–2025 The Apache Software Foundation. All rights reserved.