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: Each agent carried a thirty eight caliber pistol, and a shotgun and automatic rifle were also available.
Example Output: Each agent carried a .38 caliber pistol, and a shotgun and automatic rifle were also available.

Example Input: Mr. Gee had invested one thousand two hundred pounds of this, and was seeking how best to place the remaining eight hundred pounds,
Example Output: Mr. Gee had invested £1200 of this, and was seeking how best to place the remaining £800,

Example Input: Bates, the least guilty, was pardoned in eighteen fifty eight.
Example Output:
Bates, the least guilty, was pardoned in 1858.