gonzo – THE HYPERTEXT http://www.thehypertext.com Thu, 10 Dec 2015 06:10:15 +0000 en-US hourly 1 https://wordpress.org/?v=5.0.4 Dr. Gonzo http://www.thehypertext.com/2015/02/19/dr-gonzo/ http://www.thehypertext.com/2015/02/19/dr-gonzo/#comments Thu, 19 Feb 2015 02:57:21 +0000 http://www.thehypertext.com/?p=434 For my first project in Conversation and Computation with Lauren McCarthy, I created a therapist bot with the voice of Hunter S. Thompson.

Read More...

]]>
For my first project in Conversation and Computation with Lauren McCarthy, I created a therapist bot with the voice of Hunter S. Thompson. The bot currently runs in the terminal, but I am working on a web version. All my code is on GitHub.

Screen Shot 2015-02-18 at 9.08.13 PMTo make Dr. Gonzo, I used AlchemyAPI concept extraction to tag each paragraph of a large corpus of Hunter S. Thompson’s writing. I fed the tagged corpus into a MongoDB database, which I query with PyMongo. I used Pattern and NLTK to parse and categorize user input, and match it to documents in the database. Database entries are appended with text generated from a template engine. Additionally, my template engine handles the first several user requests in every session.

Here are a few more screenshots of the doctor in action:

Screen Shot 2015-02-18 at 9.09.16 PM Screen Shot 2015-02-18 at 9.11.19 PM Screen Shot 2015-02-18 at 9.19.23 PM Screen Shot 2015-02-18 at 9.23.06 PM Screen Shot 2015-02-18 at 9.24.30 PM Screen Shot 2015-02-18 at 9.27.27 PM Screen Shot 2015-02-18 at 9.29.15 PM

 

]]>
http://www.thehypertext.com/2015/02/19/dr-gonzo/feed/ 2