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.

It was about 2250 B.C., when the great Hammurabi made it his capital, that it became the chief city of Babylonia.
It was about twenty two fifty B.C., when the great Hammurabi made it his capital, that it became the chief city of Babylonia.

As a beginning step to improve liaison with local law enforcement officials, the Secret Service on August 26, 1964,
As a beginning step to improve liaison with local law enforcement officials, the Secret Service on August twenty six, nineteen sixty four,

Mr. Bennet speaks of thirty eight capital convicts he found in the press yard in February 1817,

Mr. Bennet speaks of thirty eight capital convicts he found in the press yard in February eighteen seventeen,