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
 String normalize(String input, String ruleID)
          Custom feature value normalization.
 

Method Detail

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 normalized
ruleID - rule ID of the matching rule
Returns:
String - normalized input string
Throws:
Exception


Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.