ASSIGNMENT #6 - WORD VECTORS

Code: https://github.com/aileenstanziola/RWET/blob/master/Assignment%20%236.ipynb

For this assignment I used the poem ‘The More Loving One’ by W.H. Auden.

Using pr.rhymes, I started by finding words that rhyme with the last word of every 2 lines and created a variable for each.

I then substituted those words with a randomly assigned one from each variable/list.

Screen Shot 2019-04-18 at 3.07.26 PM.png

The results weren’t coherently consistent throughout but, in my opinion, some of the output was interesting.

Screen Shot 2019-04-18 at 3.11.30 PM.png
Screen Shot 2019-04-18 at 3.11.47 PM.png

My next step is using one of the poems I used for a previous assignment, Sylvia Plath’s ‘Metaphors’ and attempt to run a program that changes the words randomly but maintains the same form - 9 lines of 9 syllables.