Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jiko/lovecraft_ebooks
Markov tweetbot based on H. P. Lovecraft's corpus
https://github.com/jiko/lovecraft_ebooks
Last synced: about 2 months ago
JSON representation
Markov tweetbot based on H. P. Lovecraft's corpus
- Host: GitHub
- URL: https://github.com/jiko/lovecraft_ebooks
- Owner: jiko
- License: mit
- Created: 2012-11-07T18:58:18.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2016-05-11T21:12:46.000Z (over 8 years ago)
- Last Synced: 2024-06-20T22:09:08.631Z (3 months ago)
- Language: Python
- Homepage: https://twitter.com/lovecraft_ebook
- Size: 3.13 MB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
LOVECRAFT EBOOKS
======If you want text files of individual works by Lovecraft, see [Nathaniel Smith's Lovecraft plaintext corpus repo](https://github.com/nathanielksmith/lovecraftcorpus)
Note: I have not tested this code on Twitter API v1.1
This is a twitter bot based on [Shabda Raaj's markovgen.py](http://agiliq.com/blog/2009/06/generating-pseudo-random-text-with-markov-chains-u/) and [the_shrinkbot](https://github.com/jiko/the_shrinkbot). Shout-outs to [Harry Schwartz](https://github.com/hrs), [Vivek Haldar](https://github.com/vivekhaldar), [widefidelity](https://twitter.com/widefidelity/status/266230134053425153), and [Shabda Raaj](http://agiliq.com/blog/author/shabda/).
Requires:
* Python 2.6 or later. Not tested with Python 3.
* [pip](http://www.pip-installer.org/en/latest/installing.html)Once you have your environment setup, run:
pip install -r requirements.txt
See init_twit.py for info on setting up your Twitter application.
Corpus sourced from [Pirate](http://thepiratebay.se/torrent/7760619/H.P._Lovecraft_Complete_Collection_on_MOBI#filelistContainer) [Bay](http://thepiratebay.se/torrent/7711512/H._P._Lovecraft_ebooks_collection_[republicV]#filelistContainer). I claim no rights over this material besides fair use. All code is under the MIT license.