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: In five thirty eight the city fell, and for a time it became the home of the Persian King.
Example Output: In 538 the city fell, and for a time it became the home of the Persian King.

Example Input: There was an epidemic of murder in the United Kingdom about eighteen forty eight to nine.
Example Output: There was an epidemic of murder in the United Kingdom about 1848 to 9.

Example Input: testified that Commission Exhibit Number one sixty two was the jacket worn by the man they saw on November twenty two.
Example Output:
testified that Commission Exhibit No. 162 was the jacket worn by the man they saw on November 22.