Text this: Learning stimulus-stimulus association in spatio-temporal neural networks