numerize() numerize( $string) Rules: there are irregular word for 11 and 12 like in English numbers below one million are written together (1 M = "eine Million", 100 = "einhundert") "a" is declinable (see above, "one" = "eins", "a" = "ein/eine") numbers below 100 are flipped compared to english, and have an "and = "und" (21 = "twenty-one" = "einundzwanzig") Parameters $string
_splitHyphenatedWords() _splitHyphenatedWords( $string) will mutilate hyphenated-words but shouldn't matter for date extraction Parameters $string
_hideAHalf() _hideAHalf( $string) take the 'a' out so it doesn't turn into a 1, save the half for the end Parameters $string
_replaceBigPrefixes() _replaceBigPrefixes( $string) hundreds, thousands, millions, etc. Parameters $string