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: which first appeared in the appropriation of the Department of Justice in nineteen ten under the heading, quote, Miscellaneous Objects, end quote.

SOLUTION: which first appeared in the appropriation of the Department of Justice in 1910 under the heading, quote, Miscellaneous Objects, end quote.

PROBLEM: Cope, a small man, crippled, and of weakly constitution, was alone in the shop about nine:thirty.

SOLUTION: Cope, a small man, crippled, and of weakly constitution, was alone in the shop about 9:30.

PROBLEM: Neild found at his visit to Newgate in eighteen ten,

SOLUTION:
Neild found at his visit to Newgate in 1810,