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]: on its way to the Trade Mart. On November nineteen, the Times Herald afternoon paper detailed the precise route:
[EX A]: on its way to the Trade Mart. On November 19, the Times Herald afternoon paper detailed the precise route:

[EX Q]: The same language was used by the commissioners appointed to inquire into the municipal corporations in eighteen thirty five,
[EX A]: The same language was used by the commissioners appointed to inquire into the municipal corporations in 1835,

[EX Q]: the circumstances surrounding Oswald's return to Irving, Texas, on Thursday, November twenty one, nineteen sixty three,
[EX A]:
the circumstances surrounding Oswald's return to Irving, Texas, on Thursday, November 21, 1963,