Skip to content

Recipe generator

In this notebook we use TextBlob to extract nouns, verbs, and sentences from the OCRd text of a 19th century cookery book. We try to clean things up a bit, using regular expressions to discard likely OCR errors. Then we recombine the various parts in random combinations to create delicious recipes for all occasions. Enjoy!

Screenshot of recipe generator results

Run live on ARDC Binder

Other options

Additional documentation

Getting help

Cite as

Sherratt, Tim. (2019). GLAM-Workbench/trove-books (version v0.1.0). Zenodo. https://doi.org/10.5281/zenodo.3549481