Finding scripture in a prophet’s journals

The Wilford Woodruff Papers Foundation

Python
NLP
Text mining
Tableau
Two years of text mining on Wilford Woodruff’s journals: sentiment, maps, generated text, a social network, and a matcher that finds scripture he quoted.

Partner The Wilford Woodruff Papers Foundation

Semesters Winter 2022 – Winter 2024

Type Research / Natural language processing

Result: a phrase-matching tool found 316 places where Wilford Woodruff quoted or paraphrased scripture, each linked back to the journal page on wilfordwoodruffpapers.org.

The problem

Wilford Woodruff, the fourth president of The Church of Jesus Christ of Latter-day Saints, kept a daily journal for more than sixty years. The Wilford Woodruff Papers Foundation is transcribing and publishing all of it. That’s millions of words, far too many for anyone to read closely. The foundation asked the society what data science could pull out of the text.

What students built

The project ran from Winter 2022 to Winter 2024, and each team built on the last.

  • Winter 2022: topic modeling and sentiment analysis across the journals. The foundation’s staff were invited to the final presentation.
  • Spring 2022: sentiment over time, generated “new” journal entries with a text-generation model, and an interactive map of where the journals were written.
  • Spring 2023: a scripture matcher. The team split the journals into short phrases, compared them with every verse of scripture, and kept the close matches. The method grew out of the winning team at a Wilford Woodruff hackathon.
  • Fall 2023 – Winter 2024: a network analysis of how the people in the journals are connected to each other.

What the matcher found, by volume of scripture. The Doctrine and Covenants, much of it revealed during Woodruff’s lifetime, leads by far.

Some matches are word-for-word, such as “for unto us a child is born, unto us a son is given” (2 Nephi 19:6). Others are close paraphrases.

Team

Project managers Aubrey Shuga (Winter 2022), Graham Hamblin (Spring 2022), LaRena Waddell (Spring 2023), Sam Anderson (Fall 2023) and David Mumford (Winter 2024). Team members included Porter Moody, who wrote the matcher, Spencer Driggs, who built the map, and Tyler English, Dayan Frazao, Jarom Diaz, Samantha Staheli, Annaka McClelland, Bryce Mitchell Blignaut and many others. Faculty mentors were Sister Katie Allen and Brother J. Hathaway.