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.

[Q]: He hurried to his room and stayed no longer than three or four minutes.
[A]: He hurried to his room and stayed no longer than 3 or 4 minutes.


[Q]: on Theodore Roosevelt while campaigning in October of nineteen twelve; on President elect Franklin Delano Roosevelt,
[A]: on Theodore Roosevelt while campaigning in October of 1912; on President elect Franklin Delano Roosevelt,


[Q]: This route, eventually selected for the motorcade from the airport to the Trade Mart, measured ten miles and could be driven easily within the allotted forty five minutes.
[A]:
This route, eventually selected for the motorcade from the airport to the Trade Mart, measured 10 miles and could be driven easily within the allotted 45 minutes.