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.

Example Input: The crime, long carried on without detection, was first discovered in 1820,
Example Output: The crime, long carried on without detection, was first discovered in eighteen twenty,

Example Input: It was particularly recommended by the Committee on Jails in 1814
Example Output: It was particularly recommended by the Committee on Jails in eighteen fourteen

Example Input: It was in 1817 that a small band of philanthropists resolved to form themselves into an association for the improvement of prison discipline.
Example Output:
It was in eighteen seventeen that a small band of philanthropists resolved to form themselves into an association for the improvement of prison discipline.