TASK DEFINITION: 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.
PROBLEM: prior to November twenty one, nineteen sixty three, except on Monday, October twenty one, when he visited his wife in the hospital

SOLUTION: prior to November 21, 1963, except on Monday, October 21, when he visited his wife in the hospital

PROBLEM: As the Prison Discipline Society pertinently observed in a report dated eighteen twenty,

SOLUTION: As the Prison Discipline Society pertinently observed in a report dated 1820,

PROBLEM: McDonald first searched two men in the center of the main floor, about ten rows from the front.

SOLUTION:
McDonald first searched two men in the center of the main floor, about 10 rows from the front.