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: Within a couple of years the number of persons sentenced to death in England had fallen from four hundred and thirty eight in eighteen thirty seven
Example Output: Within a couple of years the number of persons sentenced to death in England had fallen from four hundred and thirty eight in 1837

Example Input: The Chronicles of Newgate, Volume two. By Arthur Griffiths. Section thirteen: Newgate notorieties, part one.
Example Output: The Chronicles of Newgate, Volume 2. By Arthur Griffiths. Section 13: Newgate notorieties, part 1.

Example Input: The three agreed that the President would come to Texas in late November nineteen sixty three.
Example Output:
The three agreed that the President would come to Texas in late November 1963.