Text this: Near-infrared spectroscopy of luminous infrared galaxies