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.

Example Input: This, with a scheme for limiting the jail to untried prisoners, had been urgently recommended by Lord John Russell in eighteen thirty.
Example Output: This, with a scheme for limiting the jail to untried prisoners, had been urgently recommended by Lord John Russell in 1830.

Example Input: during the period from November nineteen, nineteen sixty two to March of nineteen sixty three.
Example Output: during the period from November 19, 1962 to March of 1963.

Example Input: sold out so large an amount of stock, that he paid sixteen thousand pounds a year in dividends to escape detection.
Example Output:
sold out so large an amount of stock, that he paid £16,000 a year in dividends to escape detection.