TASK DEFINITION: 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.
PROBLEM: Shortly thereafter, less than eighteen months after his defection, about six weeks before he met Marina Prusakova,

SOLUTION: Shortly thereafter, less than 18 months after his defection, about 6 weeks before he met Marina Prusakova,

PROBLEM: Other cases are recorded elsewhere, as at the Giltspur Street Compter, where in eighteen oh five Mr. Neild found a man named William Grant

SOLUTION: Other cases are recorded elsewhere, as at the Giltspur Street Compter, where in 1805 Mr. Neild found a man named William Grant

PROBLEM: on April ten, nineteen sixty three.

SOLUTION:
on April 10, 1963.