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.

[EX Q]: when it was transported from New Orleans, and November twenty two, the day of the assassination.
[EX A]: when it was transported from New Orleans, and November 22, the day of the assassination.

[EX Q]: during the period from November nineteen, nineteen sixty two to March of nineteen sixty three.
[EX A]: during the period from November 19, 1962 to March of 1963.

[EX Q]: Within a couple of years the number of persons sentenced to death in England had fallen from four hundred and thirty eight in eighteen thirty seven
[EX A]:
Within a couple of years the number of persons sentenced to death in England had fallen from four hundred and thirty eight in 1837