Code for WSA NaNoGenMo novel.
This is a project run by by Lesia Tkacz and Noriko Suzuki-Bosco. Collaborating authors are listed in the PDF of the submitted generated novel.
The submitted generated novel is here: https://github.com/dx9240/wsa_nanogenmo/blob/main/WSA_nanogenmo_novel.pdf
Information about the novel can be found here: NaNoGenMo/2020#57
This code uses Markovify to generate a mashup style novel. it reads all the input files in a directory, and trains Markovify on their content. Sentences are generated along with numbered chapter headings (ex. 'Chapter 15').
The code produces a text file showing approximately how many words the novel has, and a table of contents listing the numbered chapter headings.