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:
Truly estimated that he gave this information to Fritz about fifteen or twenty minutes after the shots,

Ex Output:
Truly estimated that he gave this information to Fritz about 15 or 20 minutes after the shots,

Ex Input:
Part of the freight were four hundred rough diamonds valued at four thousand pounds.

Ex Output:
Part of the freight were four hundred rough diamonds valued at 4000.

Ex Input:
About one hundred feet from the corner the police car pulled up alongside a man on the sidewalk. This man, dressed in a light colored jacket, approached the car.

Ex Output:
About 100 feet from the corner the police car pulled up alongside a man on the sidewalk. This man, dressed in a light colored jacket, approached the car.