Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging on with some generative doggerel #6

Open
rmrenner opened this issue Apr 13, 2017 · 5 comments
Open

Logging on with some generative doggerel #6

rmrenner opened this issue Apr 13, 2017 · 5 comments

Comments

@rmrenner
Copy link

My NaPoGenMo entry uses the CMU Pronouncing Dictionary to pick 2 syllable words according to their stressed vowels & stress pattern and then it slots them into a template grown from an L-System.

I was thinking that by creating irregular but self-similar patterns of stress and vowel sounds, rather than rhyme, I might get something like Gertrude Stein's "If I Told Him":

If I told him would he like it. Would he like it if I told him.
Would he like it would Napoleon would Napoleon would would he like it.

In retrospect, choosing a few pre-existing phrases and then sub-stringing them would probably work better for replicating that style. Since I'm strictly using (mostly trochaic) two syllable words, what I have instead is something that makes chants and tongue-twisters:

Dittmer Clifton Upson Ticker Finished

Hipsters burger skillman kurland yeargin,
dearmon glistened murtha winney merkin,
gibbon hurry herbel gerber lichtman,
merchant's mizell scheurer lipschutz durban.

Furtive burkman dearly hermance printers,
gergen syrup(1) burbles herwitz flurries,
prison's wursthaus sneary curtsy whidby,
gerbig hertzler(1) learner whistling(1) fernberg.

Verdes girsky tilney ernests frickey,
kirby bertholf ruggles citric murrelet,
cristal kirkey turbos turner philip(1),
bermans hitting kerbel fissell kirkner.

Girdle virkler(1) ridden stermer pillows,
erma wickey burness skirted sturgeons,
fish's purdie gilchrist bergfeld cissna,
burchell ferger version rigby perlow.

@enkiv2
Copy link

enkiv2 commented Apr 16, 2017 via email

@rmrenner
Copy link
Author

Yup! I haven't bothered stripping them out yet, but a number in parentheses indicates an alternate pronunciation for that word.

@hugovk
Copy link
Member

hugovk commented Apr 16, 2017

@hugovk hugovk added the preview label Apr 29, 2017
@hugovk
Copy link
Member

hugovk commented Apr 29, 2017

Is the source code for this up somewhere?

@rmrenner
Copy link
Author

Yup! Here's the repository: NaPoGenMo2017.

Since the first draft, I've switched over to using the "pronouncing" python library and I've adjusted the script so that it now picks words of varying length.

Sample output:

megabucks been dusting kunka chen's with

arrowhead arquette o'hara melle than
specker second megabucks it's wendt the
them good pairs o'dell macbeth carvell if
terre_haute credentials debonair was

teleflex chimento scare le slugged le
nels forgetting clenched celeb direction
ventritex been pet louella delp was
recompense regressions jed to hefty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants