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: The prisoners were crowded together in the jail, contrary to the requirements of the 4 George IV.

SOLUTION: The prisoners were crowded together in the jail, contrary to the requirements of the four George the fourth

PROBLEM: The following 23rd April, it is stated that the malefactors ordered for execution on the 18th instead

SOLUTION: The following twenty third April, it is stated that the malefactors ordered for execution on the eighteenth instead

PROBLEM: to whom it was said £100 apiece had been given down as the price of their infidelity.

SOLUTION:
to whom it was said one hundred pounds apiece had been given down as the price of their infidelity.