Skip to content

Short python bot to proceduraly generate text (tweets) from a given text. Currently includes the tyndall bible.

License

Notifications You must be signed in to change notification settings

adacable/pg_bible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pg_bible

Short python bot to proceduraly generate text from a given text. Currently includes the tyndall bible.

Two options-

"-m=" Analize a file and produce a histogram from it(takes significant amounts of time(the bible takes 9minuites, and produces a 3mb histogram, though in theory the time is exponential- A 0.5mb file should only take 3, not 4.5 mins.)).

"-p=" Generate a string of text from this histogram, The text is generated by choosing a word at random, taking a list of all the words that follow it, and choose one at "random" weighted by the number of times that it follows the previous word in the source text.

Example usage

"./makehistogram -p=140|xargs twitter set"

Help text available with a -h

About

Short python bot to proceduraly generate text (tweets) from a given text. Currently includes the tyndall bible.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages