TASK DEFINITION: The task is reading a paragraph containing numbers as digits. The digits can be used to represent Quantity, Dates and Time, Addresses or Positions. Convert the digits into their text equivalents. If a number has a prefix, postfix or punctuation preserve it in the text equivalent. 100000 is translated as hundred thousand, Roman numerals are also translated. If multiple numbers are present convert all instances.
PROBLEM: was after 1807, through the exertions of the keeper of the jail, spent in the purchase of necessaries.

SOLUTION: was after eighteen oh seven, through the exertions of the keeper of the jail, spent in the purchase of necessaries.

PROBLEM: Some attempt was made to reduce the overcrowding, on the recommendation of the House of Commons Committee of 1818, but this applied only a partial remedy.

SOLUTION: Some attempt was made to reduce the overcrowding, on the recommendation of the House of Commons Committee of eighteen eighteen, but this applied only a partial remedy.

PROBLEM: But the first Bible actually dated (which also was printed at Maintz by Peter Schoeffer in the year 1462)

SOLUTION:
But the first Bible actually dated (which also was printed at Maintz by Peter Schoeffer in the year fourteen sixty two)