Here’s something that caught my eye: Researchers at the University of Vermont, in the Computational Story Lab (!), did an interesting word content analysis on 1,700 stories downloaded from Gutenberg. Each story had been downloaded at least 150 times by readers.
The researchers used “sentiment analysis” that measures the positive or negative emotional impact of words. Using a sliding window they attempted to characterize the “emotional arcs” of each story. Their goal was to see if there were common patterns.
Turns out, there are!
Of twelve. It’s hard not to notice how Christmas peeks out from under the covers earlier and earlier every year. One of my more recent seasonal traditions is noting how soon the first signs appear. The commercial opportunities of Halloween run interference in the fall; this year I found Christmas spoor on November 1st.
How Thanksgiving managed to escape heavy commercialization escapes me. Maybe people are spent out due to those two spendiest of holidays bracketing either side. Attics now store as many boxes of Halloween decorations as they do Christmas ones!
I guess the long foreplay is a good thing considering the instant exit once the deed is done.
Yesterday I introduced you to the idea of words as numbers. There are many ways to create a map between words and numbers. For example, we could assign them the number that represents their position in the dictionary. That would make words that start with “A” have smaller numbers while words that start with “Z” would have the largest numbers.
There are also ways to treat the words themselves as numbers. We can interpret the letters the same way we do digits. Each letter has an assigned numeric value, and then a string of letters—just like string of digits—forms a number. The scheme I showed you yesterday allows us to treat (only!) single words as numbers.
Now let’s extend this so that entire sentences—or even entire books—become numbers!
I was exposed to Shakespeare in high school. We read several of his plays in various English classes. I took to it about the same as most high school kids. That is, I found it opaque and dull (like “classical” music). The first glimmer of the magic and wonder of Shakespeare came only when I became involved in staging some of his plays in drama class.
When I was a sophomore, I helped stage—and acted in—our high school drama group’s presentation of Hamlet (one of his greatest works). I’ve written about my high school drama teacher; he was a professional theatre person who’d gone into teaching (while waiting for his big break in Hollywood). Our production of Hamlet received rave reviews from local papers. “Better than most college productions,” they said!
As a direct consequence of that production, Hamlet is my favorite play!