Bayesian reasoning for Poem