Convert words to numbers?



Has anybody seen a Prolog module that converts words to numbers? For
example:

Nine thousand nine hundred and eighty-one -> 9,981
Eighty-five -> 85

I know it would be a fairly simple DCG task, but I'm hoping to save a
little time. If you know where I can find one, then please leave a
URL.


Thanks.

.