Text this: Predictive learning rules generate a cortical-like replay of probabilistic sensory experiences