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 Q]: Taking advantage of being unobserved, he got out through the roof on to the leads, and traveled along them towards Number one, Newgate Street.
[EX A]: Taking advantage of being unobserved, he got out through the roof on to the leads, and traveled along them towards No. 1, Newgate Street.

[EX Q]: the FBI, which was established within the Department of Justice in nineteen oh eight, has had in recent years an increasingly important role to play.
[EX A]: the FBI, which was established within the Department of Justice in 1908, has had in recent years an increasingly important role to play.

[EX Q]: I find in the chaplain's journal, under date eighteen twenty four, various entries relative to this prisoner.
[EX A]:
I find in the chaplain's journal, under date 1824, various entries relative to this prisoner.