Converting integers to english representation

brianc_at_temple.edu
Date: 08/31/04


Date: Tue, 31 Aug 2004 13:50:24 -0400
To: python-list@python.org

Hello All,

I'm developing a system to parse and enumerate addresses. The
current obstacle is numbered streets. Does anybody know of a
module already written to convert integers to their english
equivalents?

Example:
1ST -> FIRST
SECOND -> 2ND

or even something like this:
1 -> ONE
TWO -> 2

There's something similar in the dive into python book with
roman numerals. http://diveintopython.org/unit_testing/index.html

Anything towards that direction would greatly help and save me
a lot of time then from starting from scratch.

Thank you in advance.
-Brian



Relevant Pages

  • Re: Converting integers to english representation
    ... >> I'm developing a system to parse and enumerate addresses. ... >> current obstacle is numbered streets. ...
    (comp.lang.python)
  • Re: Slow reading of EventLog
    ... Can you tell me how to parse the TimeGenrated value, MSDN says that it's of type datetime, but when I checked it's type, it was of type string and the value was in this format. ... I cannot tell the internal implementation of the management console to enumerate the remote event logs. ... Please feel free to let my manager know what you think of the level of service provided. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Converting integers to english representation
    ... > current obstacle is numbered streets. ... > module already written to convert integers to their english ...
    (comp.lang.python)