A model for generating jazz standards