This is my first attempt at NaNoGenMo 2014, an attempt to spend the month of November 2014 writing code that generates a novel of 50k+ words. It's based on NaNoWriMo, the National Novel Writing Month.
This novel is generated by randomly selecting lines from the 5 most popular books (as well as Moby Dick) in Project Gutenberg.
It's written in Go. Assuming you have go installed, you can run it at the command line with:
go run randenberg.go
- Only pick enough sentences to reach the word count (ie it should only pick sentences that comprise 50k worth of words)
- Add some random paragraphing