|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.annotator.regex.impl.Feature_impl
public class Feature_impl
Field Summary |
---|
Fields inherited from interface org.apache.uima.annotator.regex.Feature |
---|
CONFIDENCE_FEATURE, CUSTOM_NORMALIZATION, FLOAT_FEATURE, INTEGER_FEATURE, REFERENCE_FEATURE, RULEID_FEATURE, STRING_FEATURE, TO_LOWER_NORMALIZATION, TO_UPPER_NORMALIZATION, TRIM_NORMALIZATION |
Constructor Summary | |
---|---|
Feature_impl(int type,
String name,
String value,
int normalizationType,
String implClass)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Feature_impl(int type, String name, String value, int normalizationType, String implClass)
Method Detail |
---|
public int getType()
Feature
getType
in interface Feature
public String getName()
Feature
getName
in interface Feature
public String getValue()
Feature
getValue
in interface Feature
public org.apache.uima.cas.Feature getFeature()
Feature
getFeature
in interface Feature
public String normalize(String input, String ruleId) throws Exception
Feature
normalize
in interface Feature
Exception
public void typeInit(org.apache.uima.cas.Type annotationType) throws org.apache.uima.resource.ResourceInitializationException
annotationType
-
org.apache.uima.resource.ResourceInitializationException
public void initialize() throws RegexAnnotatorConfigException
RegexAnnotatorConfigException
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |