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.

Following normal practice, the lead automobile stayed approximately 4 to 5 car lengths ahead of the President's limousine.
Following normal practice, the lead automobile stayed approximately four to five car lengths ahead of the President's limousine.

According to this committee of 1863, beds in the smaller and most carelessly conducted prisons formed a large element in the life of a prisoner.
According to this committee of eighteen sixty three, beds in the smaller and most carelessly conducted prisons formed a large element in the life of a prisoner.

As regards the first, however, Sir James Graham, when Home Secretary in 1843,

As regards the first, however, Sir James Graham, when Home Secretary in eighteen forty three,

