RWET: Assignment 5

A letter from past me to future you

Screen Shot 2019-04-04 at 3.04.38 AMScreen Shot 2019-04-04 at 3.09.03 AMScreen Shot 2019-04-04 at 3.17.01 AMScreen Shot 2019-04-04 at 3.08.09 AMScreen Shot 2019-04-04 at 3.10.19 AMScreen Shot 2019-04-04 at 1.57.10 PMScreen Shot 2019-04-04 at 1.53.35 PMScreen Shot 2019-04-04 at 1.55.54 PMScreen Shot 2019-04-04 at 1.53.57 PMScreen Shot 2019-04-04 at 1.50.19 PM.png

by Yves Pokakunkanon

I found some old letters from my girlfriend while cleaning the apartment and I thought they would be a suitable source for this week assignment. I chose to use the first one and the last one just because of how contrasting they are to each other. The first letter was dated 01/2017 and the last one was dated 02/2018. She hasn’t sent me any more letter since then. I won’t go into details or post the letters here, but in summary, the first letter was just her telling me about her day and the second was her expressing what she felt about our relationship.

I decided to use Markov model and chose a very simple structure code that we covered in class a week before. My computer decided to die and refused to turn itself back on while I was working on the code and in the end, I did not have enough time to do something complicated. I will try to revisit this week assignment again when I have time.

Screen Shot 2019-04-04 at 3.16.08 AMScreen Shot 2019-04-04 at 3.20.32 AM

I first set state_size to 2 but after it kept giving me results with very little variations I decided to change state_size to 1 and it got way more interesting. Most of the results were more like scribbles than real sentences but once in a while some really funny results also showed up. I picked some of the ones I like the most and rearranged them into a new letter that you can see on the top of this post. I will write them down on paper and send it to my girlfriend later.

Link to code

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s