If your pumpkin pie recipe calls for cinnamon but you’ve used the last of it, nutmeg, ginger or cardamom will do. Out of olive oil? Try applesauce. A new in-depth analysis of recipes, reviews and suggestions from an online foodie site reveals that many recipes are more flexible than standard cookbooks suggest.
Researchers mined more than 40,000 recipes and nearly two million reviews from the website Allrecipes.com, investigating various aspects of cooking and ingredient preferences. “We wondered if the analysis would let us see how flexible recipes are,” says coauthor Lada Adamic of the University of Michigan in Ann Arbor.
Her team discovered that there’s a lot of wiggle room. The analysis, reported online November 16 at arXiv.org, identified several clusters of ingredients that can be swapped for one another.