Text this: Infrared spectroscopy