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.

Ex Input:
a table showing the figures for the year ending Michaelmas eighteen oh two.

Ex Output:
a table showing the figures for the year ending Michaelmas 1802.


Ex Input:
This vehicle, a nineteen fifty five Cadillac eight passenger convertible especially outfitted for the Secret Service,

Ex Output:
This vehicle, a 1955 Cadillac eight passenger convertible especially outfitted for the Secret Service,


Ex Input:
Marina Oswald testified that in New Orleans in May of nineteen sixty three, she observed Oswald sitting with the rifle on their screened porch at night,

Ex Output:

Marina Oswald testified that in New Orleans in May of 1963, she observed Oswald sitting with the rifle on their screened porch at night,