-
Notifications
You must be signed in to change notification settings - Fork 1
Uses Markov Chains to create a Twitter bot that can generate tweets based on mystery novels for reference.
License
wolfborg/MysteryTwitterAI
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
To run this program, simple enter "python markov.py". By default, it will generate a string which is a maximum of 140 characters using an n-gram of three. You can specify up to three options to produce different results. options: ngramCount charLimit trials For example: python markov.py 2 250 3 That will produce three text generations each made using a bigram and a max character limit of 250 If you want it to work as a Twitter bot, you have to uncomment certain sections of the code (which are labeled) and also make a keys.py file with the four keys needed to use the Twitter API.
About
Uses Markov Chains to create a Twitter bot that can generate tweets based on mystery novels for reference.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published