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]: during the morning of November twenty two prior to the motorcade.
[EX A]: during the morning of November 22 prior to the motorcade.

[EX Q]: Thus wrote Cuvier in eighteen twenty eight.
[EX A]: Thus wrote Cuvier in 1828.

[EX Q]: and the aggregate amount of debts sued for was eighty one thousand, seven hundred ninety one pounds.
[EX A]:
and the aggregate amount of debts sued for was 81,791.