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 prisoner was forthwith extradited and sent back to England, which he reached with his escort on the seventeenth September the same year.
[EX A]: The prisoner was forthwith extradited and sent back to England, which he reached with his escort on the 17th September the same year.

[EX Q]: has visited us here in Dallas, Texas, on November one. Agent James P. Hasty
[EX A]: has visited us here in Dallas, Texas, on November 1. Agent James P. Hasty

[EX Q]: but in the twenty seventh George the second the right of presentation was bought by the Crown for ten thousand, five hundred pounds.
[EX A]:
but in the 27th George II the right of presentation was bought by the Crown for £10,500.