Reading & Writing Electronic Text - Week 2


I've had a fascination with fairy tale generation using code. Similar to my previous project, I decided to use fairy tale names, places, objects and actions in the python generator to make short fairy tale like outputs. I made each output have "Once Upon A Time" and "they lived happily ever after", with the middle randomly chosen from each list, shuffled each time. All the code can be found here. Below are some outputs I got:



Once Upon A Time, snow white in a land far far away using a talking tea cup turned into a prince and they lived happily ever after Once Upon A Time, the seven dwarfs in a land far far away using a golden egg killed the wicked witch and they lived happily ever after Once Upon A Time, the wicked witch in a forest using a poison apple let down her long hair and they lived happily ever after Once Upon A Time, a princess under the sea using a golden egg went to the ball and they lived happily ever after Once Upon A Time, a princess in a tiny cottage using a magic mirror let down her long hair and they lived happily ever after Once Upon A Time, the seven dwarfs in a land far far away using a golden egg let down her long hair and they lived happily ever after Once Upon A Time, the sorceress in a land far far away using a magic potion killed the wicked witch and they lived happily ever after



I also experimented with randomly reshuffling the first paragraph of the United States Constitution. This is what I got:


common Union, establish our the the secure Blessings perfect and the do People this United provide defence, We domestic the the for ordain the Order a Liberty States to to Posterity, and in America. more of Tranquility, establish of of Constitution insure Justice, promote form general States, for ourselves Welfare, United and



I think the idea of reshuffling very well known texts and seeing them in reordered sequences makes us look at something familiar to us in a new way. It also makes one question the nature of the text. How does reshuffling the order of the words change the meaning of the text and in what way?