Text this: Biologically motivated reinforcement learning in spiking neural networks