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]: At the execution of Governor Wall, in eighteen oh two, the furious hatred of the mob was plainly apparent in their appalling cries.
[EX A]: At the execution of Governor Wall, in 1802, the furious hatred of the mob was plainly apparent in their appalling cries.

[EX Q]: John Williams, a young fellow only twenty three years of age, awaited execution in eighteen twenty seven for stealing in a dwelling house.
[EX A]: John Williams, a young fellow only twenty three years of age, awaited execution in 1827 for stealing in a dwelling house.

[EX Q]: Lawson received a tentative schedule of the Texas trip on November eight from Roy H. Kellerman, assistant special agent in charge of the White House detail,
[EX A]:
Lawson received a tentative schedule of the Texas trip on November 8 from Roy H. Kellerman, assistant special agent in charge of the White House detail,