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: As the Prison Discipline Society pertinently observed in a report dated eighteen twenty,
Example Output: As the Prison Discipline Society pertinently observed in a report dated 1820,

Example Input: occupying barely three hundred ninety feet lineal
Example Output: occupying barely 390 feet lineal

Example Input: Oswald purchased the money order for the rifle on March twelve, the rifle was shipped on March twenty, and the shooting occurred on April ten.
Example Output:
Oswald purchased the money order for the rifle on March 12, the rifle was shipped on March 20, and the shooting occurred on April 10.