Text this: Supervised associative learning in spiking neural network