Group Abstract Group Abstract

Message Boards Message Boards

0
|
10.1K Views
|
3 Replies
|
5 Total Likes
View groups...
Share
Share this post:

Finding character name frequency in books using Mathematica?

Posted 5 years ago

Hello! How might I find out how often a character's name appears in a book compared to another character? For example, if I wanted to see how often the name "Daisy" appears in the Great Gatsby as compared to the name "Gatsby"? I have tried WordCount but that doesn't work so far. Thanks for any help!

POSTED BY: Matt Dooley
3 Replies
POSTED BY: Vitaliy Kaurov

Start with StringPosition and work from there. Take a look at the first half of

https://blog.wolfram.com/2017/12/07/tracking-a-descent-to-savagery-with-the-wolfram-language-plotting-sentiment-analysis-in-lord-of-the-flies/

where I did this with Lord of the Flies.

POSTED BY: Jon McLoone
POSTED BY: Chris McHarg
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard