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: was introduced as early as seventeen ninety by Mr. Blackburn
Example Output: was introduced as early as 1790 by Mr. Blackburn

Example Input: They had been married after a courtship of only about six weeks, a part of which Oswald spent in the hospital.
Example Output: They had been married after a courtship of only about 6 weeks, a part of which Oswald spent in the hospital.

Example Input: As he issued his instructions to Greer and to the lead car, Kellerman heard a flurry of shots within five seconds of the first noise.
Example Output:
As he issued his instructions to Greer and to the lead car, Kellerman heard a flurry of shots within 5 seconds of the first noise.