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.

and in eighteen sixty two he was obliged to fly the country, hopelessly and irretrievably ruined.
and in 1862 he was obliged to fly the country, hopelessly and irretrievably ruined.

The two men left work at four:forty p.m. and drove to Irving.
The two men left work at 4:40 p.m. and drove to Irving.

Among the escapes still remembered was one in eighteen forty nine, accomplished by a man who had been employed

Among the escapes still remembered was one in 1849, accomplished by a man who had been employed