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]: In five twenty nine Cyrus died.
[EX A]: In 529 Cyrus died.

[EX Q]: Background and Possible Motives, Part three.
[EX A]: Background and Possible Motives, Part 3.

[EX Q]: For this he was executed in front of Newgate in eighteen thirty three.
[EX A]:
For this he was executed in front of Newgate in 1833.