Definition: 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.
Input: Thomas Dobson, on twenty second August, seventeen ninety nine, for one shilling, with costs of eight shillings, ten pence.
Output:
Thomas Dobson, on 22nd August, 1799, for 1 shilling, with costs of 8 shillings, 10 pence.