Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

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

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages