Text this: Learning compositional sequences with multiple time scales through a hierarchical network of spiking neurons.