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.
Q: John Williams, a young fellow only twenty three years of age, awaited execution in eighteen twenty seven for stealing in a dwelling house.
A:
John Williams, a young fellow only twenty three years of age, awaited execution in 1827 for stealing in a dwelling house.