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.

This, with a scheme for limiting the jail to untried prisoners, had been urgently recommended by Lord John Russell in eighteen thirty.
This, with a scheme for limiting the jail to untried prisoners, had been urgently recommended by Lord John Russell in 1830.

The President's automobile was specially designed nineteen sixty one Lincoln convertible
The President's automobile was specially designed 1961 Lincoln convertible

by which Oswald requested that mail addressed to that box be forwarded to him in New Orleans, where he had moved on April twenty four.
by which Oswald requested that mail addressed to that box be forwarded to him in New Orleans, where he had moved on April 24.