The task is to read a passage and convert numbers in their text forms into digit forms. The text numbers can be used to represent Quantity, Dates and Time, Addresses or Positions.

Example Input: the evidence linking Oswald to the attempted killing of Maj. Gen. Edwin A. Walker (Resigned, U.S. Army) on April ten, nineteen sixty three,
Example Output: the evidence linking Oswald to the attempted killing of Maj. Gen. Edwin A. Walker (Resigned, U.S. Army) on April 10, 1963,

Example Input: Within a couple of years the number of persons sentenced to death in England had fallen from four hundred and thirty eight in eighteen thirty seven
Example Output: Within a couple of years the number of persons sentenced to death in England had fallen from four hundred and thirty eight in 1837

Example Input: In the case of Supreme Court justices, that pension is twenty thousand dollars a year.
Example Output:
In the case of Supreme Court justices, that pension is $20,000 a year.