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: A full discussion of Oswald's detention and interrogation is presented in chapter five of this report.

SOLUTION: A full discussion of Oswald's detention and interrogation is presented in chapter 5 of this report.

PROBLEM: the circumstances surrounding Oswald's return to Irving, Texas, on Thursday, November twenty one, nineteen sixty three,

SOLUTION: the circumstances surrounding Oswald's return to Irving, Texas, on Thursday, November 21, 1963,

PROBLEM: His uniform good conduct gained him release from Portland on ticket of leave in eighteen eighty two, just twenty years after his conviction.

SOLUTION:
His uniform good conduct gained him release from Portland on ticket of leave in 1882, just twenty years after his conviction.