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.
--------
Question: The middle yard was at first given up to the least heinous offenders. After 1812 it changed functions with the chapel yard.

Answer: The middle yard was at first given up to the least heinous offenders. After eighteen twelve it changed functions with the chapel yard.


Question: Previous to that date there had been 700 or 800 frequently, and once, in Mr. Akerman's time, one thousand.

Answer: Previous to that date there had been seven hundred or eight hundred frequently, and once, in Mr. Akerman's time, one thousand.


Question: canceling the suspension of a 20 day sentence that Oswald had received in an earlier court martial

Answer:
canceling the suspension of a twenty day sentence that Oswald had received in an earlier court martial