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: This occurred in November eighteen thirty four. The Custom House officials were in a state of consternation,
Example Output: This occurred in November 1834. The Custom House officials were in a state of consternation,

Example Input: One large item of his expenditure was a contested election at Lambeth, which he gained at a cost of ten thousand pounds.
Example Output: One large item of his expenditure was a contested election at Lambeth, which he gained at a cost of £10,000.

Example Input: and the return address was Post Office Box two nine one five, Dallas, Texas.
Example Output:
and the return address was Post Office Box 2915, Dallas, Texas.