Text this: Identifying the quantum properties of hadronic resonances using machine learning