Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IS_IT_LOVE #107

Open
rchrdlln opened this issue Dec 1, 2018 · 1 comment
Open

IS_IT_LOVE #107

rchrdlln opened this issue Dec 1, 2018 · 1 comment

Comments

@rchrdlln
Copy link

rchrdlln commented Dec 1, 2018

Hey, I forgot to officially sign up for this but I did generate a "novel" in November and I'd like to post the source code and finished work etc. - entitled "IS IT LOVE" (or so it titled itself) today if possible.

@rchrdlln
Copy link
Author

rchrdlln commented Dec 2, 2018

Repository: https://github.com/rchrdlln/nanogenmo

Novel: https://github.com/rchrdlln/nanogenmo/blob/master/Microsoft%20Word%20-%20IS_IT_LOVE.docx.pdf

Google Books search results pages usually include a sentence or two on either side of the complete sentence containing the search term. I chose some terms I hoped might add up to an interesting non-narrative and manually downloaded 5 or 10 search results pages per search term into separate folders. First script scrapes the pages to a huge text file. Second script goes through it all, pulls out what appear to be viable sentences and clauses, then reassembles them and cleans the text up a little bit, but probably not nearly enough. I tried to avoid sucking in book blurbs as source material, without much luck.

No AI, no ML, no NLP. 68,421 words.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants