The Constellate team is always interested in hearing questions from researchers or librarians about how to use the Constellate data or platform to answer a particular question.

We recently received a question from Alyssa Fahringer at George Mason University who is working with a colleague who wants to find sentences that contain the word “donations” in a set of documents from Constellate. We took this as an opportunity to create a new example notebook that shows how to use Python and Constellate data to answer this question.

The notebook is called “Find all sentences that match a word or phrase” and it can be accessed in the Constellate notebook environment via this link.

The notebook is also on Github along the other Constellate tutorial and example notebooks.