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.

Ex Input:
The same language was used by the commissioners appointed to inquire into the municipal corporations in eighteen thirty five,

Ex Output:
The same language was used by the commissioners appointed to inquire into the municipal corporations in 1835,

Ex Input:
Another witness, Domingo Benavides, was driving a pickup truck west on tenth Street.

Ex Output:
Another witness, Domingo Benavides, was driving a pickup truck west on 10th Street.

Ex Input:
Oswald obtained a hunting license, joined a hunting club and went hunting about six times, as discussed more fully in chapter six.

Ex Output:
Oswald obtained a hunting license, joined a hunting club and went hunting about six times, as discussed more fully in chapter 6.