Text this: Optical Sensor for Nonlinear and Quantum Optical Effects