Class NormalizeCharMap


  • public class NormalizeCharMap
    extends Object
    Holds a map of String input to String output, to be used with MappingCharFilter.
    • Constructor Detail

      • NormalizeCharMap

        public NormalizeCharMap()
    • Method Detail

      • add

        public void add​(String singleMatch,
                        String replacement)
        Records a replacement to be applied to the inputs stream. Whenever singleMatch occurs in the input, it will be replaced with replacement.
        Parameters:
        singleMatch - input String to be replaced
        replacement - output String