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 Q]: The balance due on the purchase was nineteen dollars, ninety five cents.
[EX A]: The balance due on the purchase was $19.95.

[EX Q]: This was the seven hundred block of North Beckley
[EX A]: This was the 700 block of North Beckley

[EX Q]: fired a pistol at George the third from the pit of Drury Lane theatre in eighteen hundred.
[EX A]:
fired a pistol at George III. from the pit of Drury Lane theatre in 1800.