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]: The correctness of that conclusion is supported by the fact that he does not seem to have been publicly identified with that organization until August nine,
[EX A]: The correctness of that conclusion is supported by the fact that he does not seem to have been publicly identified with that organization until August 9,

[EX Q]: Thus, amongst others, Thomas Blackburn had been committed on October fifteenth for a debt of one shilling five pence.
[EX A]: Thus, amongst others, Thomas Blackburn had been committed on October 15th for a debt of 1 shilling 5 pence.

[EX Q]: The Chronicles of Newgate, Volume two. By Arthur Griffiths. Section twenty: Newgate Notorieties, part one.
[EX A]:
The Chronicles of Newgate, Volume 2. By Arthur Griffiths. Section 20: Newgate Notorieties, part 1.