org.apache.uima.annotator.regex.extension
Interface Normalization
public interface Normalization
The Normalization interface was add to implement a custom normalization
for feature values before they are assigned to an annotation.
Method Summary |
java.lang.String |
normalize(java.lang.String input,
java.lang.String ruleID)
Custom feature value normalization. |
normalize
java.lang.String normalize(java.lang.String input,
java.lang.String ruleID)
throws java.lang.Exception
- Custom feature value normalization. This interface must be implemented to
perform a custom normalization on the given input string.
- Parameters:
input
- input string which should be normalizedruleID
- rule ID of the matching rule
- Returns:
- String - normalized input string
- Throws:
java.lang.Exception
Copyright © 2011. All Rights Reserved.