tgdavies / NaNoGenMo

My entry (entries?) to National Novel Generation Month

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NaNoGenMo

My entry (entries?) to National Novel Generation Month

Twide and Twejudice (2014)

Read the novel (dialogue replacement)

Read the novel (full replacement)

What the hell is this?

Pride and Prejudice with (almost) each word of the dialogue replaced with another word in the same hierarchical Twitter cluster, that is, with another word that is used in a similar context on Twitter as computed by the CMU TweetNLP project.

In the second link, both dialogue and prose are subject to the same treatment.

How to run:

  1. Change the settings in config.py if you need to
  2. Run python twitterize.py filename.html

The Python script was hacked together so it probably won't work on your own text right out of the box.

Acknowledgments

With apologies to Jane Austen and thanks to Republic of Pemberley for the supply of their e-text, as well as CMU for TweetNLP.

And thanks also to Lynne Cherny (@arnicas) for telling me about NaNoGenMo and inspiring the idea.

About

My entry (entries?) to National Novel Generation Month


Languages

Language:Python 100.0%