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.

Input: Consider Input: If Oswald left his roominghouse shortly after one p.m. and walked at a brisk pace,

Output: If Oswald left his roominghouse shortly after 1 p.m. and walked at a brisk pace,

Input: Consider Input: seven. Certain of my documents are in the small blue valise.

Output: 7. Certain of my documents are in the small blue valise.

Input: Consider Input: although at Mr. Buxton's visit a new jail was in process of erection, the first step towards reform since Howard's visitation in seventeen seventy four.
Output: although at Mr. Buxton's visit a new jail was in process of erection, the first step towards reform since Howard's visitation in 1774.