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 eighteen sixty one a similar work was undertaken to provide separate cellular accommodation for the female inmates of Newgate,
[EX A]: In 1861 a similar work was undertaken to provide separate cellular accommodation for the female inmates of Newgate,

[EX Q]: hit the target twice within a span of four point six and five point one five seconds.
[EX A]: hit the target twice within a span of 4.6 and 5.15 seconds.

[EX Q]: On that occasion Oswald again used a bolt action twenty two caliber rifle; and according to Robert,
[EX A]:
On that occasion Oswald again used a bolt action .22 caliber rifle; and according to Robert,