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: These indeed were out to the value of three hundred sixty seven thousand, eight hundred pounds.
Example Output: These indeed were out to the value of £367,800.

Example Input: It will be recalled from the discussion in chapter three
Example Output: It will be recalled from the discussion in chapter 3

Example Input: or on another specially erected on some commanding spot, had fallen into disuse by eighteen thirty two.
Example Output:
or on another specially erected on some commanding spot, had fallen into disuse by 1832.

