Skip to content

Instantly share code, notes, and snippets.

@drusepth
Created May 10, 2017 15:17
Show Gist options
  • Save drusepth/53093ee8309a35b14e5c1b3547a206ca to your computer and use it in GitHub Desktop.
Save drusepth/53093ee8309a35b14e5c1b3547a206ca to your computer and use it in GitHub Desktop.
rhyme_schemes = {
alternate_rhyme: 'ABAB CDCD EFEF GHGH',
ballade: 'ABABBCBC ABABBCBC ABABBCBC BCBC',
monorhyme: 'AAAA AAAA AAAA',
couplet: 'AA BB CC DD',
enclosed: 'ABBA',
limerick: 'AABBA',
terza_rima: 'ABA BCB CDC DED',
keats_odes: 'ABABCDECDE',
sonnet: 'ABAB CDCD EFEF GG'
}
selected_rhyme_scheme = rhyme_schemes[:sonnet]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment