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: They had been married after a courtship of only about six weeks, a part of which Oswald spent in the hospital.

SOLUTION: They had been married after a courtship of only about 6 weeks, a part of which Oswald spent in the hospital.

PROBLEM: This occurred two months before Lee was born in New Orleans on October eighteen, nineteen thirty nine.

SOLUTION: This occurred 2 months before Lee was born in New Orleans on October 18, 1939.

PROBLEM: The Secret Service was organized as a division of the Department of the Treasury in eighteen sixty five, to deal with counterfeiting.

SOLUTION:
The Secret Service was organized as a division of the Department of the Treasury in 1865, to deal with counterfeiting.