On Fri, Jul 11, 2014 at 03:22:57PM +0100, Neil Bowers wrote: > This has given me an idea for another module, Lingua::EN::Numbers::WithUnits, > or a new function in Lingua::EN::Numbers :-) > > 5oz becomes "five ounces" > 8kgs becomes "eight kilograms"
I'd start with Lingua::EN::Units, and have the simple interface just expanding 'oz' to 'ounce'.* Include an option to also consider numbers, so that '8 oz' turns into '8 ounces' or 'eight ounces' rather than '8 ounce'. * which naturally deserves a 0.001 release all on its own, before moving on to the more complicated case