On Jul 10, 2014 12:15 AM, "Buddy Burden" <barefootco...@gmail.com> wrote: > > What I actually _want_, though, is to turn "In 1994, on the 22nd of February, 3/4 of the 36 members were present" into "In nineteen ninety-four, on the twenty-second of February, three quarters of the thirty-six members were present".
Radical idea: If you know the format of the input is going to conform to some kind of sane, predictable format, why not look at Marpa::R2, especially ::Scanless? You'll probably be able to dummy together a balge solution in anything from hours to days, and the marpa-parser mailing list is very friendly, knowledgeable, and helpful. If you're looking to use arbitrary English strings as input, Marpa may still help, though describing the entire grammar of English is left as an exercise for the reader ;-) -- P/PW/PWBENNETT