Within a dip or so you'll be able to begin reading Mrorl's OTTronic Bard
, the 5th
story in my bOTTeriada
series, via the reflector
skillfully constructed by @balthasar_s
up on the secret moonbase, or by Waiting a bit for it to be posted here to the OTT by the equally molpish mrbdexbot
In conjunction with that story I have created a real-life OTTtronic Bard, though it's still a bit rusty in spots so don't tease it too much. (It might also occasionally pun, but only in ways that are seen in the OTT.)
It's Time for mrob27
700th Post OTTronic Botpoetry Slam!
Lately I've been building bots… well, actually, I've been doing it mip in and mip out for well over 400 mips now. But this last mip has been fun, because I've assembled a few existing bots, and pieces of bots, and other little bits of <computery stuff> I had lying around, and created something that is either completely Safety-Hatted-Cueishly insane, or pretty molpishly treeish.
The first part of the construction is an old standby for creating seaish amounts of epsionishly hilarious 'literary' nonsense, an Nth
-order Markov chain text generator, also called "dissociated press
" or a "travesty generator". Mine is second-order and word-based by default, meaning that it picks each new word based on the previous two, with the result that in the output, any three consecutive words appear in the same order somewhere in the source text. Here is a tiny sample of what you get if you feed it Romeo and Juliet
Shakespeare, via travesty, wrote:
ROMEO [To JULIET] If I do remember well where he comes: so please
you, let me now be left alone, And let the nurse cursed in the stars
Shall bitterly begin his fearful date With this night's watching.
CAPULET No, not till Thursday; there is no world without Verona walls,
But purgatory, torture, hell itself. Hence-banished is banish'd from
the valour of a tomb: Either my eyesight fails, or thou look'st pale.
ROMEO And I'll still stay, to have thee gone: And yet 'not proud,'
mistress minion, you, Thank me no prouds, But fettle your fine joints
'gainst Thursday next, To go with me, and wherefore? …
The second bot, is something I made for my first xkcd 1052
OTTification, a Journey of Discovery (in Words the OTTers Wrote for Me)
back on NP 1531
. It was OTT-specific, but so much fun I later built another suitable for use with any source text. It scans any source text, of finite or infinite length, and extracts sequences of words that fit a desired syllable/meter pattern. For example, it can scan the OTT looking for haiku (like @Angelastic
's project from the early dips, which is what first inspired me to start writing these bots). Given the full text of the King James Bible, and asked to find trochaic octameter, it generates output like this:
The King James Bible, via pmgrep, wrote:
fire in the day of the assembly:and it came to pass at (DEU 9:11)
:he doth execute the judgment of the fatherless and widow (DEU 10:18)
with familiar spirits or a wizard or a necromancer: (DEU 18:11)
the avenger of the blood pursue the slayer while his heart is (DEU 19:6)
Most recently, I made a rhyming dictionary. I started the way @Angelastic
did, by creating phonemes
, a little program that could feed words to the Apple MAC OS X speech synthesis API and get their pronunciations, including syllables and stress. (The source code is here: phon-104.m
). Then I scanned the entire OTT and generated word-frequency data, and added all the words in my "standard English" dictionaries and word lists, and fed each word into phonemes
to make a pronunciation dictionary. Another tool, called rhyme
, allows me to actually look up words and find candidate rhymes, sorted so the most commonly-used words appear first.
This was originally to support normal, manual poetry-writing, such as the work I did for Mrorl's OTTronic Bard
. But once I have a rhyming dictionary, and a metrical scanner, and a travesty generator, and a bunch of other bits of <computery stuff> just lying around and yearning to tickle the Muse, why not put them all together to make a poetry-writing bot? And that, my dear fellow OTTers, is what I have done. mrorls-ottronic-bard
creates stanzas of any desired meter and rhyme scheme, and optionally containing text matching a regular expression:
Asked to create amphibrachic trimeter in AABB containing molpy- or -molpy compounds, mrorls-ottronic-bard wrote:
Will there be did one of the day and it's making
The hedgemolpy is in the one to be looking
Essential idea of development over
The elements even for BlitzGirl's arrival
That it was about to be tasting a little
Are aliens harvesting molpybugs trying
In favor of eating them she will be playing
Sustainabilizer and I was a welcome
When there was a molpybat might be the problem
That well I will vote for him take that with colors
For adding the added convenience of blitzers
So, there's that. Yay bots!
Somewhat ironically, I did all this work to make something that I actually did not
use very much for the story. It would have been far easier just to do the rhyming dictionary and skip all the rest. But not nearly so dunejumpish.
, celebrating 700 posts.Ꮥ
", being a double-amphibrach, appears frequently in polyamphibrachic dissociated OTTish.