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.

Ex Input:
Oswald told Fritz that after lunch he went outside, talked with Foreman Bill Shelley for five or ten minutes and then left for home.

Ex Output:
Oswald told Fritz that after lunch he went outside, talked with Foreman Bill Shelley for 5 or 10 minutes and then left for home.


Ex Input:
that the bag which Oswald was carrying was approximately twenty seven or twenty eight inches long, whereas the wooden stock of the rifle, which is its largest component,

Ex Output:
that the bag which Oswald was carrying was approximately 27 or 28 inches long, whereas the wooden stock of the rifle, which is its largest component,


Ex Input:
Frazier estimated that the bag was two feet long, quote, give and take a few inches, end quote, and about five or six inches wide.

Ex Output:

Frazier estimated that the bag was 2 feet long, quote, give and take a few inches, end quote, and about 5 or 6 inches wide.