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 Details

    • ICUNumbererEnUnhyphenated

      public ICUNumbererEnUnhyphenated()
  • Method Details

    • postProcess

      public String postProcess(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