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 Q]: His uniform good conduct gained him release from Portland on ticket of leave in eighteen eighty two, just twenty years after his conviction.
[EX A]: His uniform good conduct gained him release from Portland on ticket of leave in 1882, just twenty years after his conviction.

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

[EX Q]: High prices were asked and paid for front seats or good standing room. As much as five pounds was given for the attic story
[EX A]:
High prices were asked and paid for front seats or good standing room. As much as 5 was given for the attic story