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.
--------
Question: One out of every five Presidents since eighteen sixty five has been assassinated;

Answer: One out of every five Presidents since 1865 has been assassinated;

Question: The Chronicles of Newgate, Volume two. By Arthur Griffiths. Section thirteen: Newgate notorieties, part one.

Answer: The Chronicles of Newgate, Volume 2. By Arthur Griffiths. Section 13: Newgate notorieties, part 1.

Question: sold out so large an amount of stock, that he paid sixteen thousand pounds a year in dividends to escape detection.

Answer:
sold out so large an amount of stock, that he paid 16,000 a year in dividends to escape detection.