Text this: Nonlinear memristive computational spectrometer