Computing Schulz’s Style

Rationale

“Style is a way to say who you are without having to speak.” — Rachel Zoe

“Style is primarily a matter of instinct.” — Bill Blass

“Fashion fades, only style remains the same.” — Coco Chanel

“Create your own visual style…let it be unique for yourself and yet identifiable for others.” Orson Welles

Google “style quotes” and you’ll get a slew of pithy phrases that emphasize not only how important it is to be distinct but also how style is unspoken, instinctual, persistent, and the way by which others will identify you. Most of these quotations tend to be about fashion, as the names above suggest, but style is, of course, much more than bow ties, bright socks, and shoes with red laces.

When we discuss literature or art—and comics are both!—style is always near the heart of the matter. It is style, perhaps, that distinguishes the “literary” from the potboilers on the bestseller lists. It is what makes it clear that a painting was created by Monet, Manet, or Man Ray or a photograph by Lange, Sherman, or Greenberg or a comic by Bechdel, Waterson, Jaimes, or Herriman. It is often why we choose to continue reading an author of whose style we have grown fond.

As we are wrapping up our examination of Charles M. Schulz’s comics for the semester, it is worth considering his style. We know that his art changes over the years, the 20-year evolution of Snoopy’s physiognomy being evidence enough on that point. But what about the words that he uses in his speech balloons? Do they change over time? What’s more, do his characters speak in ways that distinguish them? Did he want each of them to have their own vocabularies or manners of speaking, and would this have been impossible to effect since there was just one author behind it all?

Fortunately, discriminating between small nuances of style is something that computers can help us with. For this project, we will be taking a stylometric approach to Schulz’s work, building on the comics that we (and last year’s class) have been encoding in XML. Although stylometry is often used for authorship attribution, we can use the same methods to detect whether Schulz’s style changes appreciably from his first decade to his third, as well as among his characters.

Nitty Gritty

For this assignment, you will conduct a stylometric analysis of the speech balloons in Schulz’s comics and begin the process of interpreting your results. The assignment has one outcome: a collaboratively written Google Doc. This document is due at the end of class, Thursday, 8 April.

Step One: Get the Data

I’ve created a folder in our repository for our stylometry experiments. You can each work with the files from the repository on your local devices, but be aware that if you start making commits to the repo that you will probably overwrite each other’s work and produce the dreaded MERGE CONFLICT.

I have segmented the data in a few different ways:

  • The per-char folder puts all the speech acts from a single character into one long text file. cb.txt is all of Charlie Brown’s speech balloons.
  • The per-day folder puts all the speech acts by a character on a single day into a text file. cb_1950-10-03.txt is all of Charlie Brown’s speech balloons on 3 October 1950.
  • The per-balloon folder treats every speech balloon in every encoded comic as a separate document. cb_1950-10-03_3.txt is the third speech balloon in the  3 October 1950 strip, and it is spoken by Charlie Brown. Please note, however, that it is not his third balloon, but the strip’s.

Step Two: Style the Data

Using Stylo, you should collectively make at least 4 different stylometric analyses of Schulz’s speech balloons. Experiment with some or all of the following:

  • Changing the number of words used in the n-gram analysis from 1 to 2. (This option is under Features.)
  • Changing the number of most frequent words (MFW) used in the analysis. (This option is under Features.)
  • Changing whether words must be included in a large swath of the corpus in order to be used in the analysis. Putting an integer n between 1 and 100 in the Culling option (under Features) will require that the words appear in n% of the documents in order to be considered in the analysis. For example, a culling setting of 50 would mean that only words that appear in at least 50% of the documents would be considered in the analysis.
    • Be aware that if you’re using either the per-day or per-balloon segmentation, this will probably get rid of most of the words since the number of words in each of these is so low.
  • Changing the PCA Flavour (an option under Output) from Classic to Loadings, which will superimpose the most frequent words onto the outputted graph along with the document titles.

Step Three: Analyze  Schulz’s Speech-Balloon Style

After getting each of the outputted graphs from Stylo, open them in an image viewer so you can zoom in and out as necessary. Do the characters appear to cluster? Which characters are near the center of the graph? Which ones are near the margins? Where are the prominent clusters in the graph? Do the characters group according to gender? To what degree does the decade of the strips’ publication seem to make a difference? What is surprising in the output and what is expected?

Step Four: Write about Schulz’s Style

Write about your modeling and your data using Google Docs. The write-up is due by the end of class on Thursday, 8 April. The post should contain the following information:

  • A list (bullet points are fine) of the different options you tried with Stylo. This might look something like, “300 MFW, 2-word n-grams, no culling, loadings PCA.”
  • Post the output images for each of your four options, making sure that each are clearly labeled.
  • Collectively, identify which of the abovementioned options you think is best for understanding Schulz’s speech balloons and why you think that is the case.
  • Collectively, write 2-3 paragraphs to report on what you observed in Step Three.
  • Individually, write a paragraph that discusses what you have learned from this approach that you did not learn through either TEI markup or topic modeling.
  • Individually, write a paragraph that discusses what you learned about digital humanities from this assignment.

Grading

This assignment is worth 75 points. You will be graded on whether your post has all the required items; the quality of the work that you did in trying and evaluating different Stylo settings; and your analysis of the output that you generate.

Credits

This assignment was created in 2018,  based on my topic modeling assignment and then updated in 2019. I’ve shifted it in 2021 so we can consider it in relation to Peanuts. This assignment is distributed under the terms of a CC BY 4.0 license.

Obvious credit is due to the authors of the Stylo package for R: Maciej Eder, Jan Rybicki, Mike Kestemont, and Steffen Pielström. I also appreciate my colleague Jeremy Browne, who trod the stylometric waters a few weeks prior to me and stood ready to answer questions and share scripts.