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 necessity for which was urged by Mr. Addison, when Secretary of State, in 1717.

SOLUTION: the necessity for which was urged by Mr. Addison, when Secretary of State, in seventeen seventeen.

PROBLEM: As a political leader, the President wished to resolve the factional controversy within the Democratic Party in Texas before the election of 1964.

SOLUTION: As a political leader, the President wished to resolve the factional controversy within the Democratic Party in Texas before the election of nineteen sixty four.

PROBLEM: It was particularly recommended by the Committee on Jails in 1814

SOLUTION:
It was particularly recommended by the Committee on Jails in eighteen fourteen