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: who had borne the Queen's commission, first as cornet, and then lieutenant, in the tenth Hussars.
Example Output: who had borne the Queen's commission, first as cornet, and then lieutenant, in the 10th Hussars.

Example Input: This occurred in November eighteen thirty four. The Custom House officials were in a state of consternation,
Example Output: This occurred in November 1834. The Custom House officials were in a state of consternation,

Example Input: the assassin was then required to hit the target one more time within a space of from four point eight to five point six seconds.
Example Output:
the assassin was then required to hit the target one more time within a space of from 4.8 to 5.6 seconds.