Text this: Machine-Learning Approach to Identify Organic Functional Groups from FT-IR and NMR Spectral Data