Formulas
Code available on Git.
I’m still plugging away at my one-word-per-line poem based on pronunciation analysis.
I think I have succeed for the most part in creating a sound-parsing module that will score lists of words relative to an “anchor” word with respect to alliteration, rhyming, overall phoneme and rhythmic (syllable count, stress patterns) similarity. (See diagram at bottom.)
On top of that, I’m just beginning to play around with very simple “formulas”.py for how to “tune” the “one-word-at-a-time” poem.
I’ve learned a few interesting things and starting to get a handle on how I can manipulate the progression of words.
- Using the tan function on syllable count unsurprisingly yields dramatic swings in rhythm. (See poem built on the word “test”.)
- It’s also fairly easy to tweak the “circularity” of a poem by controlling the range of top-scoring words you allow the system to choose from. If you only select the top-scoring word, the word may never change. If you select from the top 100 words, you’ll get wild fluctuations. If you fluctuate that cap according to a gently undulating cos function, you’ll get gently fluctuating phases of circularity and unexpected disruptions.
- The “blood” word lists below are all generated with relatively gentle sin and cos functions controlling the weighting of alliteration and rhyme in the scoring system. (The effect is a bit obscured by the lever controlling the “circularity” of the poem, but you can kind of see how it moves from being alliterative to being rhyming and back again.
- I tried the same formula on blood using different word lists: a list of common words, Paradise Lost, the Bible and Moby Dick. I think slowly changing the word-source will be another interesting way to shift the “tone” of the poem.
And of course, I have yet to make use of my ngram and collocation word lists, which will hopefully yield semi-coherent phrases and sentences as another layer on top of the rhythmic, rhyming qualities I have now with just the sound analysis.
|
Enter a word or a phrase: deplorable (from list of common words)
diplomacy
dictionary
digitizing
distributor
disillusioned
distributor
discouragement
discontented
dysentery
decisiveness
disqualify
disinflation
dispiriting
disassembled
disapproval
disapprove
disobey
disengaged
disable
disposing
dislodging
|
Enter a word or a phrase: test (from list of common words)
electrodynamics
sick
multilateralism
mugged
epidemiologically
hall
cytomegalovirus
sepe
confidentiality
cloaked
misidentification
milk
deinstitutionalization
drinks
epidemiologically
throne
counterrevolutionary
queer
deinstitutionalization
ths
extraterritoriality
wight
anesthesiology
em
deinstitutionalize
dill
deinstitutionalization
fs
epidemiologically
mmmm
|
|
Enter a word or a phrase: blood (from commonwords list)
bleed
bloodstream
bloodstone
bloodstained
bloodsucker
bloodletting
backsliding
backsliding
concluding
compounding
responding
responds
responds
responsibilities
unprincipled
unquestionable
unconscionable
unconscionable
inhospitable
incompetently
incompetence
incompatible
unimaginable
unmistakable
attributable
demonstrable
demonstrating
demonstrator
demonstrated
demonstrator
detonating
detonator
definite
nominate
knowledgeable
negotiable
knowledgeable
vulnerable
terminable
personable
fashionable
habitable
corrigible
approvable
approvable
unlivable
unfeasible
advisable
unsalable
unbeatable
unbeatable
unbearable
repairable
unbearable
unreachable
approvable
adaptable
approachable
unserviceable
unsuitable
unserviceable
unfashionable
unmentionable
unmentionable
unverifiable
undetectable
unconditional
reconditioned
reconditioning
reconsidered
reconsidered
reconnoiter
reconstructive
reconstructions
argentinians
palestinians
|
Enter a word or a phrase: blood (from moby dick)
blacksmith
blacksmith
button
budge
bunched
buckling
peeling
prowling
precincts
priest
professed
prior
proving
proving
previous
precious
presents
presentations
problems
professions
portions
persons
pursuits
particular
personally
persisting
purple
persuasions
performance
perhaps
particulars
paralysis
perusal
pert
portentous
paw
pitied
pod
popping
presaging
produce
productive
proportionate
pre
prudently
silently
grizzly
incoherently
incapacitated
deliberated
dilapidated
contended
contingent
conspire
country
confiding
covering
collateral
comely
cups
considering
confiding
confiding
controlling
controls
convenient
consume
comforter
coming
calamity
continued
constituents
consistency
confine
conspicuous
communing
complexion
comforted
compose
communicated
commanding
descending
denials
distances
distinctive
discretion
destroys
displaced
display
distinguish
dis
desirous
disastrous
determining
distinct
decided
decided
distinctly
deliberated
departed
deploy
deception
disdain
disintegrate
discernible
imponderable
valuable
hospitable
inhospitable
ineffable
crucible
incurable
incurable
|
|
Enter a word or a phrase: blood (from paradise lost)
blasphemous
preface
perplex
persevering
prolong
presume
promote
party
participate
prince
prevented
presume
proportion
propriety
proceeds
presented
preamble
precept
progress
procure
prays
proportion
precept
properly
proudly
produced
produced
parent
resplendent
removes
renews
renewed
restored
redeem
rejected
resolved
resound
requires
reached
realty
bounty
sanctity
slanderous
speaks
speech
sing
simply
slightly
seemingly
ceased
mist
misdeeds
maze
mustering
mastering
mankind
second
softened
scanned
scorched
scorn
slope
sleepless
service
|
Enter a word or a phrase: blood (from the bible)
wicked
willing
willow
will
wilfully
way
worldly
worshippers
willows
willow
watchman
herdman
hurtful
her
heath
himself
helps
herds
hedges
hats
habitable
hath
had
harps
hail
helper
having
working
walking
walked
waste
divorced
departed
dispersed
decline
dismaying
dismayed
deride
deposed
depart
dividing
decided
discreetly
discreet
discern
disorderly
describe
description
discovering
dispensation
divine
displeased
discerned
diseased
dissolve
deserve
declare
devoted
devouring
degree
displeased
distinctly
disappointed
disappointed
destroyed
disciple
decree
declined
description
dispersed
disposed
descended
offended
offender
affirm
addition
sanctification
certified
strengthened
stiffened
stripped
strip
strivings
steps
strike
stubble
stir
steep
storm
|

This entry was posted in
Electronic Text,
Uncategorized. Bookmark the
permalink.