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.

Wagner, after conviction, offered to reveal, for a reward of three thousand pounds
Wagner, after conviction, offered to reveal, for a reward of £3000

In eighteen sixty one a similar work was undertaken to provide separate cellular accommodation for the female inmates of Newgate,
In 1861 a similar work was undertaken to provide separate cellular accommodation for the female inmates of Newgate,

passed the intersection of tenth and Patton, about eight blocks from where he had reported at twelve:fifty four p.m.

passed the intersection of 10th and Patton, about eight blocks from where he had reported at 12:54 p.m.