Text this: A compound memristive synapse model for statistical learning through STDP in spiking neural networks