Modifying existing recipes to incorporate additional or replace existing ingredients
First Claim
1. A method, in a data processing system comprising a processor and a memory comprising instructions which are executed by the processor to cause the processor to implement a recipe modification system, the method comprising:
- receiving, by the recipe modification system, a request, from a requestor computing device, to modify an existing recipe in an electronic corpus of existing recipe data structures, wherein the request is an electronic input to the recipe modification system which identifies an existing recipe corresponding to an existing recipe data structure in the electronic corpus of recipes, and an ingredient to be added to existing ingredients already identified in content of the existing recipe data structure;
identifying, by the recipe modification system, a cluster of recipe elements, from a plurality of clusters of recipe elements, associated with the ingredient to be added to the existing recipe, wherein the plurality of clusters are identified based on a machine learning process executed on the electronic corpus of existing recipes;
selecting, by the recipe modification system, a representative member recipe element of the identified cluster;
modifying, by a cognitive computing engine of the recipe modification system, the existing recipe based on the selected representative member recipe element, wherein modifying the existing recipe comprises performing cognitive computing analysis of the existing recipe and the selected representative member recipe element to determine a timing or location in a sequence of preparation instructions already present in the existing recipe where new preparation instructions, corresponding to the selected representative member recipe element, are added to the sequence of preparation instructions to generate a modified recipe;
generating, by the cognitive computing engine of the recipe modification system, a natural language text for the modified recipe based on the modification of the existing recipe; and
outputting, by the recipe modification system, the natural language text for the modified recipe to the requestor computing device.
1 Assignment
0 Petitions
Accused Products
Abstract
Mechanisms are provided for implementing a recipe modification system. The recipe modification system receives a request to modify an existing recipe from a requestor. The request identifies the existing recipe and an ingredient to be added to the existing recipe. The recipe modification system identifies a cluster of recipe elements associated with the ingredient to be added to the existing recipe and selects a representative member recipe element of the cluster. The recipe modification system modifies the existing recipe based on the selected representative member recipe element and generates a natural language text for the modified recipe based on the existing recipe and the selected representative member recipe element. The recipe modification system outputs the natural language text for the modified recipe to the requestor.
-
Citations
20 Claims
-
1. A method, in a data processing system comprising a processor and a memory comprising instructions which are executed by the processor to cause the processor to implement a recipe modification system, the method comprising:
-
receiving, by the recipe modification system, a request, from a requestor computing device, to modify an existing recipe in an electronic corpus of existing recipe data structures, wherein the request is an electronic input to the recipe modification system which identifies an existing recipe corresponding to an existing recipe data structure in the electronic corpus of recipes, and an ingredient to be added to existing ingredients already identified in content of the existing recipe data structure; identifying, by the recipe modification system, a cluster of recipe elements, from a plurality of clusters of recipe elements, associated with the ingredient to be added to the existing recipe, wherein the plurality of clusters are identified based on a machine learning process executed on the electronic corpus of existing recipes; selecting, by the recipe modification system, a representative member recipe element of the identified cluster; modifying, by a cognitive computing engine of the recipe modification system, the existing recipe based on the selected representative member recipe element, wherein modifying the existing recipe comprises performing cognitive computing analysis of the existing recipe and the selected representative member recipe element to determine a timing or location in a sequence of preparation instructions already present in the existing recipe where new preparation instructions, corresponding to the selected representative member recipe element, are added to the sequence of preparation instructions to generate a modified recipe; generating, by the cognitive computing engine of the recipe modification system, a natural language text for the modified recipe based on the modification of the existing recipe; and outputting, by the recipe modification system, the natural language text for the modified recipe to the requestor computing device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 20)
-
-
10. A computer program product comprising a non-transitory computer readable medium having a computer readable program stored therein, wherein the computer readable program, when executed on a computing device, causes the computing device to implement a recipe modification system that operates to:
-
receive a request, from a requestor computing device, to modify an existing recipe in an electronic corpus of existing recipes, wherein the request is an electronic input to the recipe modification system which identifies an existing recipe corresponding to an existing recipe data structure in the electronic corpus of recipes, and an ingredient to be added to existing ingredients already identified in content of the existing recipe data structure; identify a cluster of recipe elements, from a plurality of clusters of recipe elements associated with the ingredient to be added to the existing recipe, wherein the plurality of clusters are identified based on a machine learning process executed on the electronic corpus of existing recipes; select a representative member recipe element of the identified cluster; modify the existing recipe based on the selected representative member recipe element, wherein modifying the existing recipe comprises performing cognitive computing analysis of the existing recipe and the selected representative member recipe element to determine a timing or location in a sequence of preparation instructions already present in the existing recipe where new preparation instructions, corresponding to the selected representative member recipe element, are added to the sequence of preparation instructions to generate a modified recipe; generate a natural language text for the modified recipe based on the modification of the existing recipe; and output the natural language text for the modified recipe to the requestor computing device. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. An apparatus comprising:
-
a processor; and a memory coupled to the processor, wherein the memory comprises instructions which, when executed by the processor, cause the processor to implement a recipe modification system that operates to; receive a request, from a requestor computing device, to modify an existing recipe in an electronic corpus of existing recipes, wherein the request is an electronic input to the recipe modification system which identifies an existing recipe corresponding to an existing recipe data structure in the electronic corpus of recipes, and an ingredient to be added to existing ingredients already identified in content of the existing recipe data structure; identify a cluster of recipe elements, from a plurality of clusters of recipe elements, associated with the ingredient to be added to the existing recipe, wherein the plurality of clusters are identified based on a machine learning process executed on the electronic corpus of existing recipes; select a representative member recipe element of the identified cluster; modify the existing recipe based on the selected representative member recipe element, wherein modifying the existing recipe comprises performing cognitive computing analysis of the existing recipe and the selected representative member recipe element to determine a timing or location in a sequence of preparation instructions already present in the existing recipe where new preparation instructions, corresponding to the selected representative member recipe element, are added to the sequence of preparation instructions to generate a modified recipe; generate a natural language text for the modified recipe based on the modification of the existing recipe; and output the natural language text for the modified recipe to the requestor computing device.
-
Specification