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]: As regards the first, I find that in seventeen eighty six
[EX A]: As regards the first, I find that in 1786

[EX Q]: Hosty had come to the Paine residence on November one and five, nineteen sixty three,
[EX A]: Hosty had come to the Paine residence on November 1 and 5, 1963,

[EX Q]: from eighteen thirty two to eighteen forty four not a single person had been executed in the metropolis except for this the gravest crime.
[EX A]:
from 1832 to 1844 not a single person had been executed in the metropolis except for this the gravest crime.