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:
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:
Each agent carried a thirty eight caliber pistol, and a shotgun and automatic rifle were also available.

Ex Output:
Each agent carried a .38 caliber pistol, and a shotgun and automatic rifle were also available.


Ex Input:
Hosty testified that he did not know until the evening of Thursday, November twenty one, that there was to be a motorcade, however,

Ex Output:

Hosty testified that he did not know until the evening of Thursday, November 21, that there was to be a motorcade, however,