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]: 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.

[EX Q]: An enormous crowd assembled to witness the execution, amounting, it was said, to the hitherto unparalleled number of forty thousand.
[EX A]: An enormous crowd assembled to witness the execution, amounting, it was said, to the hitherto unparalleled number of 40,000.

[EX Q]: it was calculated that the car required eight point three seconds to cover the one hundred thirty six feet.
[EX A]:
it was calculated that the car required 8.3 seconds to cover the 136 feet.