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.
normalize
String normalize(String input,
String ruleID)
throws 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:
Exception
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.