1. A computer program product, the computer program product comprising: a non-transitory computer-readable storage medium having computer-readable program code embodied therewith, the computer-readable program code having instructions for causing a processor to perform an operation, the operation comprising: receiving a recipe request, wherein the recipe request specifies a dish and a set of criteria; retrieving a plurality of recipe texts corresponding to the specified dish; parsing each of the recipe texts to identify one or more ingredients and one or more methods used in preparing the specified dish and to associate metadata to one or more of the identified ingredients and methods; generating, from the associated metadata of the identified ingredients and methods, a statistical model for preparing the specified dish, wherein the statistical model distinguishes between common and uncommon ingredients and methods for preparing the specified dish using a frequency of appearances in the parsed recipe texts; identifying substitutions satisfying the specified set of criteria based on the common and uncommon ingredients and methods; and generating a combination of the identified ingredients and methods for preparing the specified dish based on the specified set of criteria and the statistical model, wherein the combination includes at least one of the identified substitutions.
1. A computer program product, the computer program product comprising: a non-transitory computer-readable storage medium having computer-readable program code embodied therewith, the computer-readable program code having instructions for causing a processor to perform an operation, the operation comprising: receiving a recipe request, wherein the recipe request specifies a dish and a set of criteria; retrieving a plurality of recipe texts corresponding to the specified dish; parsing each of the recipe texts to identify one or more ingredients and one or more methods used in preparing the specified dish and to associate metadata to one or more of the identified ingredients and methods; generating, from the associated metadata of the identified ingredients and methods, a statistical model for preparing the specified dish, wherein the statistical model distinguishes between common and uncommon ingredients and methods for preparing the specified dish using a frequency of appearances in the parsed recipe texts; identifying substitutions satisfying the specified set of criteria based on the common and uncommon ingredients and methods; and generating a combination of the identified ingredients and methods for preparing the specified dish based on the specified set of criteria and the statistical model, wherein the combination includes at least one of the identified substitutions. 3. The computer program product of claim 1 , wherein the set of criteria includes nutritional information, preferred ingredients, and ingredients to exclude from the generated combination.