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

I'm in #55

Open
ashanan opened this issue Nov 2, 2014 · 6 comments
Open

I'm in #55

ashanan opened this issue Nov 2, 2014 · 6 comments

Comments

@ashanan
Copy link

ashanan commented Nov 2, 2014

Current idea: chapters are titled with word/book pairs. Each chapter is every sentence in that book that contains that word. Think "White in Moby Dick."

@ashanan
Copy link
Author

ashanan commented Nov 3, 2014

@dariusk
Copy link
Owner

dariusk commented Nov 3, 2014

Looking forward to this!

@hugovk
Copy link
Collaborator

hugovk commented Nov 3, 2014

Yes, sounds good!

Of course, it depends a lot on the word and the book. "White in Moby Dick" sounds good.

The OED has a word of the day, and the quotations for "moonlit" were particularly poetic:

Along the moon-lit shore,—a dreary waste,—no peaceful Indian watch'd her rising orb.
Night silent comes;..Tilt half enchains wi' rugged hand His moon-lit wave.
The City's moon-lit spires and myriad lamps.
The sloping of the moonlit sward.
She stood on deck, watching the moonlit sea.
He was crazy in love with her and one moonlit night he proposed to her.
The sky was clear and moonlit and cold.
She stood looking out at the shadowed grey-white moonlit world.
Below her the wall dropped dizzyingly down,..and beyond that the moonlit roofs of the outer city reached away.

See also Darius's Occurrences of 'Love' in Last Words of Executed Texas Death Row Inmates.

@ashanan
Copy link
Author

ashanan commented Nov 4, 2014

@dariusk thanks!

@hugovk thanks! I think it will be interesting to use the same set of words in different books. It didn't even occur to me to use non-book texts, that's a really neat idea.

Here's my first generated novel, clocking in at 57309 words.
https://gist.github.com/ashanan/e936983a8e4e4808df34

@hugovk
Copy link
Collaborator

hugovk commented Nov 4, 2014

Good stuff!

It'd be great to print out full sentences rather that individual lines arbitrary start and end cut-offs.

You could maybe parse using NLTK, or if that's a bit heavy, just scan backwards to the preceding . and forward to the following . might give good results. (Or rather: ., ? or !, with some special handling for to retain quotes: "Why sing ye not out for him, if ye see him?").

And perhaps just look for the whole word, case-insensitive: for "night" there's some "nights" and "midnight", which are fine, but quite a few "knight".

You could try also "Monomaniac in Moby Dick". Perhaps "<Protagonist_name> in book" might give a cut-down version of a whole story.

@ashanan
Copy link
Author

ashanan commented Nov 5, 2014

I have some thoughts about how to do better parsing. That and case sensitivity are both issues already. Please feel free to add new ones (or comment here) if you think any more improvements.

https://github.com/ashanan/NaNoGenMo-2014Entry/issues

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

3 participants