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]: Within a year he was advanced to the post of chief clerk in the transfer department, at a salary of one hundred fifty pounds a year.
[A]: Within a year he was advanced to the post of chief clerk in the transfer department, at a salary of £150 a year.


[Q]: Among the escapes still remembered was one in eighteen forty nine, accomplished by a man who had been employed
[A]: Among the escapes still remembered was one in 1849, accomplished by a man who had been employed


[Q]: Chapter four. The Assassin: Part six.
[A]:
Chapter 4. The Assassin: Part 6.