Poem Text Generation (poemgen.py, jolastic.py)


These functions generate the actual text of poems.

generativepoetry.poemgen.print_poem(poem: str)

Print the poem with a newline before and after so it’s easy to take a screenshot of its ‘recipe’ and the poem in your terminal and share it. :)

Parameters

poem – the poem, as a string, to be printed