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.

Lawrence Jones, a burglar, was in seventeen ninety three ordered for execution in Hatton Garden, near the house he had robbed;
Lawrence Jones, a burglar, was in 1793 ordered for execution in Hatton Garden, near the house he had robbed;

became the victim of the most cowardly and unmanly outrages, and the attempted murder of the sovereign by Oxford in eighteen forty
became the victim of the most cowardly and unmanly outrages, and the attempted murder of the sovereign by Oxford in 1840

At approximately twelve:forty five p.m., Dr. Robert Shaw,
At approximately 12:45 p.m., Dr. Robert Shaw,