public String normalize ( String input , Language language ) { if ( input == null ) { return null ; } String finalString = input ; for ( TextNormalizer textNormalizer : preprocessors ) { finalString = textNormalizer . apply ( finalString , language ) ; } return finalString ; }
Normalizes a string with a number of text normalizers .