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:
In translation, the note read as follows: one.

Ex Output:
In translation, the note read as follows: 1.

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

Ex Output:
As the Society put it in 1827, "the friends to the improvement of prison discipline will regret to learn

Ex Input:
He looked west on tenth and saw a man running to the west and a policeman falling to the ground.

Ex Output:
He looked west on 10th and saw a man running to the west and a policeman falling to the ground.