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.

Q: forty five caliber pistol, and twelve gauge riot gun.

A: .45 caliber pistol, and 12 gauge riot gun.
****
Q: Oswald told Fritz that after lunch he went outside, talked with Foreman Bill Shelley for five or ten minutes and then left for home.

A: Oswald told Fritz that after lunch he went outside, talked with Foreman Bill Shelley for 5 or 10 minutes and then left for home.
****
Q: In eighteen thirty seven Lord John Russell's acts swept away a number of capital offenses, including cutting and maiming, rick burning,

A:
In 1837 Lord John Russell's acts swept away a number of capital offenses, including cutting and maiming, rick burning,
****