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 twenty four Newgate had no glass in its windows, except in the infirmary and one ward of the chapel yard;
[EX A]: In 1824 Newgate had no glass in its windows, except in the infirmary and one ward of the chapel yard;

[EX Q]: who declared that the rough diamond market was in such a depressed condition that they could only afford to give one thousand seven fifty pounds for stones worth
[EX A]: who declared that the rough diamond market was in such a depressed condition that they could only afford to give £1750 for stones worth

[EX Q]: Most of the agents were there from about one:thirty or one:forty five a.m. to about two:forty five or three a.m.;
[EX A]:
Most of the agents were there from about 1:30 or 1:45 a.m. to about 2:45 or 3 a.m.;