Category: reading & writing txt
i successfully rewrote a part of my midterm as a function – huzzah! the only problem is sometimes it doesn’t work. i know it is something on line 41/42. how can i make a function out of the phrase.append portion? i know it can… i think, maybe. or whatever.
[‘you’, ‘things,’, ‘from’, ‘know’, ‘or’]
you things, from know or
you things, from or know
you things, know from or
you things, know or from
you things, or from know
you things, or know from
you from things, know or
you from things, or know
you from know things, or
you from know or things,
you from or things, know
you from or know things,
you know things, from or
you know things, or from
you know from things, or
you know from or things,
you know or things, from
you know or from things,
you or things, from know
you or things, know from
you or from things, know
you or from know things,
you or know things, from
you or know from things,
things, you from know or
things, you from or know
things, you know from or
things, you know or from
things, you or from know
things, you or know from
things, from you know or
things, from you or know
things, from know you or
things, from know or you
things, from or you know
things, from or know you
things, know you from or
things, know you or from
things, know from you or
things, know from or you
things, know or you from
things, know or from you
things, or you from know
things, or you know from
things, or from you know
things, or from know you
things, or know you from
things, or know from you
from you things, know or
from you things, or know
from you know things, or
from you know or things,
from you or things, know
from you or know things,
from things, you know or
from things, you or know
from things, know you or
from things, know or you
from things, or you know
from things, or know you
from know you things, or
from know you or things,
from know things, you or
from know things, or you
from know or you things,
from know or things, you
from or you things, know
from or you know things,
from or things, you know
from or things, know you
from or know you things,
from or know things, you
know you things, from or
know you things, or from
know you from things, or
know you from or things,
know you or things, from
know you or from things,
know things, you from or
know things, you or from
know things, from you or
know things, from or you
know things, or you from
know things, or from you
know from you things, or
know from you or things,
know from things, you or
know from things, or you
know from or you things,
know from or things, you
know or you things, from
know or you from things,
know or things, you from
know or things, from you
know or from you things,
know or from things, you
or you things, from know
or you things, know from
or you from things, know
or you from know things,
or you know things, from
or you know from things,
or things, you from know
or things, you know from
or things, from you know
or things, from know you
or things, know you from
or things, know from you
or from you things, know
or from you know things,
or from things, you know
or from things, know you
or from know you things,
or from know things, you
or know you things, from
or know you from things,
or know things, you from
or know things, from you
or know from you things,
or know from things, you
Goodnite In any or every place; in all places. See Usage Note at everyplace.
Goodnite The hue of that portion of the visible spectrum lying between yellow and blue, evoked in the human observer by radiant energy with wavelengths of approximately 490 to 570 nanometers; any of a group of colors that may vary in lightness and saturation and whose hue is that of the emerald or somewhat less yellow than that of growing grass; one of the additive or light primaries; one of the psychological primary hues.
Goodnite Present participle of whisper.
Goodnite Containing all that is normal or possible: a full pail.
Goodnite A visual representation or image painted, drawn, photographed, or otherwise rendered on a flat surface
Goodnite Two corresponding persons or items, similar in form or function and matched or associated: a pair of shoes.
Goodnite Small in size: a little dining room. See Synonyms at small.
Goodnite A well-mannered and considerate woman with high standards of proper behavior.
I started working with Goodnight Moon, but then decided I wanted to challenge myself to work with longer sentences. Inserting the defintion of the words for “camera”, “machine”, “pencil”, etc, as they appear in Walter Benjamin, but I lost time when it came to creating a dictionary to hold them. More to come. I also would like to fix the Goodnight Moon code as right now it returns the string “Goodnight” and I do not want it to.
word 4Wor(l)d
[‘i’, ‘feelings’, ‘to’, ‘hold’]
i feelings to hold
i feelings hold to
i to feelings hold
i to hold feelings
i hold feelings to
i hold to feelings
feelings i to hold
feelings i hold to
feelings to i hold
feelings to hold i
feelings hold i to
feelings hold to i
to i feelings hold
to i hold feelings
to feelings i hold
to feelings hold i
to hold i feelings
to hold feelings i
hold i feelings to
hold i to feelings
hold feelings i to
hold feelings to i
hold to i feelings
hold to feelings i
For the midterm, I generated a series of poems that pull from Gertrude Stein‘s the Making of Americans. The program searches an excerpt of her text and stores all the words containing “ing” and are five letters or longer. One is chosen at random as well as four or five words of my own devising to create a phrase, which is then iterated over and over in all the possible permutations. I call them: word forWor(l)ds, computer generated poems, comprised of every possible combination of words in the phrase.
[‘they’, ‘\neverything.’, ‘is’, ‘real’]
they
everything. is real
they
everything. real is
they is
everything. real
they is real
everything.
they real
everything. is
they real is
everything.
everything. they is real
everything. they real is
everything. is they real
everything. is real they
everything. real they is
everything. real is they
is they
everything. real
is they real
everything.
is
everything. they real
is
everything. real they
is real they
everything.
is real
everything. they
real they
everything. is
real they is
everything.
real
everything. they is
real
everything. is they
real is they
everything.
real is
everything. they
[‘i’, ‘understanding,’, ‘to’, ‘frame’, ‘or whatever’]
i understanding, to frame or whatever
i understanding, to or whatever frame
i understanding, frame to or whatever
i understanding, frame or whatever to
i understanding, or whatever to frame
i understanding, or whatever frame to
i to understanding, frame or whatever
i to understanding, or whatever frame
i to frame understanding, or whatever
i to frame or whatever understanding,
i to or whatever understanding, frame
i to or whatever frame understanding,
i frame understanding, to or whatever
i frame understanding, or whatever to
i frame to understanding, or whatever
i frame to or whatever understanding,
i frame or whatever understanding, to
i frame or whatever to understanding,
i or whatever understanding, to frame
i or whatever understanding, frame to
i or whatever to understanding, frame
i or whatever to frame understanding,
i or whatever frame understanding, to
i or whatever frame to understanding,
understanding, i to frame or whatever
understanding, i to or whatever frame
understanding, i frame to or whatever
understanding, i frame or whatever to
understanding, i or whatever to frame
understanding, i or whatever frame to
understanding, to i frame or whatever
understanding, to i or whatever frame
understanding, to frame i or whatever
understanding, to frame or whatever i
understanding, to or whatever i frame
understanding, to or whatever frame i
understanding, frame i to or whatever
understanding, frame i or whatever to
understanding, frame to i or whatever
understanding, frame to or whatever i
understanding, frame or whatever i to
understanding, frame or whatever to i
understanding, or whatever i to frame
understanding, or whatever i frame to
understanding, or whatever to i frame
understanding, or whatever to frame i
understanding, or whatever frame i to
understanding, or whatever frame to i
to i understanding, frame or whatever
to i understanding, or whatever frame
to i frame understanding, or whatever
to i frame or whatever understanding,
to i or whatever understanding, frame
to i or whatever frame understanding,
to understanding, i frame or whatever
to understanding, i or whatever frame
to understanding, frame i or whatever
to understanding, frame or whatever i
to understanding, or whatever i frame
to understanding, or whatever frame i
to frame i understanding, or whatever
to frame i or whatever understanding,
to frame understanding, i or whatever
to frame understanding, or whatever i
to frame or whatever i understanding,
to frame or whatever understanding, i
to or whatever i understanding, frame
to or whatever i frame understanding,
to or whatever understanding, i frame
to or whatever understanding, frame i
to or whatever frame i understanding,
to or whatever frame understanding, i
frame i understanding, to or whatever
frame i understanding, or whatever to
frame i to understanding, or whatever
frame i to or whatever understanding,
frame i or whatever understanding, to
frame i or whatever to understanding,
frame understanding, i to or whatever
frame understanding, i or whatever to
frame understanding, to i or whatever
frame understanding, to or whatever i
frame understanding, or whatever i to
frame understanding, or whatever to i
frame to i understanding, or whatever
frame to i or whatever understanding,
frame to understanding, i or whatever
frame to understanding, or whatever i
frame to or whatever i understanding,
frame to or whatever understanding, i
frame or whatever i understanding, to
frame or whatever i to understanding,
frame or whatever understanding, i to
frame or whatever understanding, to i
frame or whatever to i understanding,
frame or whatever to understanding, i
or whatever i understanding, to frame
or whatever i understanding, frame to
or whatever i to understanding, frame
or whatever i to frame understanding,
or whatever i frame understanding, to
or whatever i frame to understanding,
or whatever understanding, i to frame
or whatever understanding, i frame to
or whatever understanding, to i frame
or whatever understanding, to frame i
or whatever understanding, frame i to
or whatever understanding, frame to i
or whatever to i understanding, frame
or whatever to i frame understanding,
or whatever to understanding, i frame
or whatever to understanding, frame i
or whatever to frame i understanding,
or whatever to frame understanding, i
or whatever frame i understanding, to
or whatever frame i to understanding,
or whatever frame understanding, i to
or whatever frame understanding, to i
or whatever frame to i understanding,
or whatever frame to understanding, i
The program pulls randomly from five lists each containing a different category of words. One of the lists itself is called at random. This contains the words: not, or, maybe, if and or whatever in order to create an instability in the phrase being generated. The key python function the form relies on is iteratools permutations – probably my favorite piece of code ever written. I have a feeling I’m going to be using it a lot.
I did not strip or sort through the line breaks, capitalization and other formatting differences in the Stein text because I liked the way it could act on the text breaking up the rhythm both visually and verbally. Also, gives a nice trace of computer speak like the following poem with the “\n” which we all know means “new line”.
[‘you’, ‘\ndescribing,’, ‘to’, ‘love’]
you
describing, to love
you
describing, love to
you to
describing, love
you to love
describing,
you love
describing, to
you love to
describing,
describing, you to love
describing, you love to
describing, to you love
describing, to love you
describing, love you to
describing, love to you
to you
describing, love
to you love
describing,
to
describing, you love
to
describing, love you
to love you
describing,
to love
describing, you
love you
describing, to
love you to
describing,
love
describing, you to
love
describing, to you
love to you
describing,
love to
describing, you