The task is to read a passage and convert numbers in their text forms into digit forms. The text numbers can be used to represent Quantity, Dates and Time, Addresses or Positions.

In eighteen thirty seven Lord John Russell's acts swept away a number of capital offenses, including cutting and maiming, rick burning,
In 1837 Lord John Russell's acts swept away a number of capital offenses, including cutting and maiming, rick burning,

and his unsuccessful attempt to go to Cuba in late September of nineteen sixty three.
and his unsuccessful attempt to go to Cuba in late September of 1963.

the presence of a long handmade brown paper bag near the point from which the shots were fired, and (five) the palmprint,

the presence of a long handmade brown paper bag near the point from which the shots were fired, and (5) the palmprint,