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.
Input: in 19 of 23 categories included on the general aptitude examination and scored 127 on the verbal test, as compared
Output:
in nineteen of twenty three categories included on the general aptitude examination and scored one hundred twenty seven on the verbal test, as compared