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: were first made use of about eighteen twenty seven. That the need for prison reform was imperative may be gathered from the few out of many instances I have adduced,

Output: were first made use of about 1827. That the need for prison reform was imperative may be gathered from the few out of many instances I have adduced,

Input: Consider Input: At one:forty five p.m., the police radio stated, quote, Have information a suspect just went in the Texas Theatre on West Jefferson, end quote.

Output: At 1:45 p.m., the police radio stated, quote, Have information a suspect just went in the Texas Theatre on West Jefferson, end quote.

Input: Consider Input: Ted Callaway, who saw the gunman moments after the shooting, testified that Commission Exhibit Number one sixty two
Output: Ted Callaway, who saw the gunman moments after the shooting, testified that Commission Exhibit No. 162