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]: This was one day before Oswald left for New Orleans and Marina appeared certain that the Nixon incident, quote,
[EX A]: This was 1 day before Oswald left for New Orleans and Marina appeared certain that the Nixon incident, quote,

[EX Q]: the Secret Service had received from the FBI some nine thousand reports on members of the Communist Party.
[EX A]: the Secret Service had received from the FBI some 9,000 reports on members of the Communist Party.

[EX Q]: under forty shillings arising within the city.
[EX A]:
under 40 shillings arising within the city.