Text this: Diffractogram metrics for machine learning