Python

Generating Fake News [RWET]

I went into this project hoping to generate a program that generated news stories that told something of substance. In short, I wanted to be able to type in a search term about a current event, and scrape the web to generate an informational story from multiple sources — without plagiarizing. Early on, I diagnosed [...]

A Python class [RWET]

I took my Python midterm — a program that creates nicknames for baseball players — and turned it into a class. One thing that I had to think about was how to split up my defs, and how they would be most functional. Secondly, I needed to think about what kind of variables I want [...]

Generating text from presidential speeches

There have been dozens of presidential speeches since 9/11, and it’s interesting to study those speeches — from both Bush and Obama — because there are a few key words that have taken on loaded meanings. The word “terrorist” implies a certain type of violent offender — especially since 9/11. And the idea of patriotism [...]