in reply to Most frequent words in Gone with the Wind, help!
The question is, what format do you have the words in already?
Personally, I would simply go through the text and manually delete all non-fitting paragraphs. Maybe I would write a small script that goes through each paragraph and removes it if it doesn't contain at least the word "rhett" or "scarlett", as conversations might be prefixed by the person speaking.
You can help us by posting two representative excerpts of the text, one you want to keep and one you want to discard, together with the word counting code you already have.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Most frequent words in Gone with the Wind, help!
by margred (Initiate) on Mar 14, 2016 at 20:14 UTC | |
by FreeBeerReekingMonk (Deacon) on Mar 14, 2016 at 20:47 UTC | |
by Corion (Patriarch) on Mar 14, 2016 at 20:23 UTC | |
by margred (Initiate) on Mar 14, 2016 at 20:40 UTC |