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:
and a life interest in five thousand pounds, a fact on which Smethurst's counsel dwelt with much weight,

Ex Output:
and a life interest in £5000, a fact on which Smethurst's counsel dwelt with much weight,


Ex Input:
Neild gives a list of the various items charged upon a debt of ten pounds, which included instructions to sue,

Ex Output:
Neild gives a list of the various items charged upon a debt of £10, which included instructions to sue,


Ex Input:
three. That I want to, and I shall, live a normal happy and peaceful life here in the Soviet Union for the rest of my life.

Ex Output:

3. That I want to, and I shall, live a normal happy and peaceful life here in the Soviet Union for the rest of my life.