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: He hurried to his room and stayed no longer than three or four minutes.

SOLUTION: He hurried to his room and stayed no longer than 3 or 4 minutes.

PROBLEM: was begun by the Deutsche Orientgesellschaft, in eighteen eighty nine, and continued till the summer of nineteen fifteen.

SOLUTION: was begun by the Deutsche Orientgesellschaft, in 1889, and continued till the summer of 1915.

PROBLEM: The Chronicles of Newgate, Volume two. By Arthur Griffiths. Section twelve: Executions, part two.

SOLUTION:
The Chronicles of Newgate, Volume 2. By Arthur Griffiths. Section 12: Executions, part two.