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.

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

At the time of the assassination PRS was a very small group, comprised of twelve specialists and three clerks.
At the time of the assassination PRS was a very small group, comprised of 12 specialists and 3 clerks.

The population, as reported by the committee in eighteen fourteen, averaged about sixty,
The population, as reported by the committee in 1814, averaged about sixty,