Text this: Adaptive learning and the cyclical behavior of output and inflation