Class ICUNumbererEnUnhyphenated

  • All Implemented Interfaces:
    Numberer

    public class ICUNumbererEnUnhyphenated
    extends ICUNumbererPE
    A numberer for English, using the ICU features, which produces space-separated word numbers, for example "Twenty Two" rather than the ICU default, which is hyphen-separated: "Twenty-Two". Used by default, but not when the language code is "en-x-hyphen".
    • Constructor Detail

      • ICUNumbererEnUnhyphenated

        public ICUNumbererEnUnhyphenated()
    • Method Detail

      • postProcess

        public java.lang.String postProcess​(java.lang.String s)
        Replace '-' in compound numeric words in English by ' '
        Overrides:
        postProcess in class ICUNumbererPE
        Parameters:
        s - the word string to process
        Returns:
        processed string