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.

[Q]: In September, the White House decided to permit further visits by the President and extended the trip to run from the afternoon of November twenty one
[A]: In September, the White House decided to permit further visits by the President and extended the trip to run from the afternoon of November 21


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


[Q]: Nevertheless, in this position, through the culpable carelessness which left him unfettered, he managed between eighteen forty four
[A]:
Nevertheless, in this position, through the culpable carelessness which left him unfettered, he managed between 1844