Cumulative semantic interference as learning