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: or class (one), with whom, under the imperious demand for accommodation, were also associated the misdemeanants, or class (two).

A: or class (1), with whom, under the imperious demand for accommodation, were also associated the misdemeanants, or class (2).
****
Q: appeared in The Dallas Times Herald on November fifteen, nineteen sixty three.

A: appeared in The Dallas Times Herald on November 15, 1963.
****
Q: In the second edition of the "Regne Animal," published in eighteen twenty eight,

A:
In the second edition of the "Regne Animal," published in 1828,
****