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.

As the Society put it in eighteen twenty seven, "the friends to the improvement of prison discipline will regret to learn
As the Society put it in 1827, "the friends to the improvement of prison discipline will regret to learn

McDonald first searched two men in the center of the main floor, about ten rows from the front.
McDonald first searched two men in the center of the main floor, about 10 rows from the front.

Hosty had come to the Paine residence on November one and five, nineteen sixty three,

Hosty had come to the Paine residence on November 1 and 5, 1963,

