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:
On the basis of the evidence reviewed in this chapter, the Commission has found that Lee Harvey Oswald (one)

Ex Output:
On the basis of the evidence reviewed in this chapter, the Commission has found that Lee Harvey Oswald (1)


Ex Input:
Power production in this country is virtually back to the nineteen twenty nine peak.

Ex Output:
Power production in this country is virtually back to the 1929 peak.


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

Ex Output:

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