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 to modify an existing recipe from a requestor, wherein the request identifies the existing recipe and an ingredient to be added to the existing recipe;
identifying, by the recipe modification system, a cluster of recipe elements associated with the ingredient to be added to the existing recipe;
selecting, by the recipe modification system, a representative member recipe element of the cluster;
modifying, by the recipe modification system, the existing recipe based on the selected representative member recipe element;
generating, by the recipe modification system, a natural language text for the modified recipe based on the existing recipe and the selected representative member recipe element; and
outputting, by the recipe modification system, the natural language text for the modified recipe to the requestor.
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.
35 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 to modify an existing recipe from a requestor, wherein the request identifies the existing recipe and an ingredient to be added to the existing recipe; identifying, by the recipe modification system, a cluster of recipe elements associated with the ingredient to be added to the existing recipe; selecting, by the recipe modification system, a representative member recipe element of the cluster; modifying, by the recipe modification system, the existing recipe based on the selected representative member recipe element; generating, by the recipe modification system, a natural language text for the modified recipe based on the existing recipe and the selected representative member recipe element; and outputting, by the recipe modification system, the natural language text for the modified recipe to the requestor. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer program product comprising a computer readable storage 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 to modify an existing recipe from a requestor, wherein the request identifies the existing recipe and an ingredient to be added to the existing recipe; identify a cluster of recipe elements associated with the ingredient to be added to the existing recipe; select a representative member recipe element of the cluster; modify the existing recipe based on the selected representative member recipe element; generate a natural language text for the modified recipe based on the existing recipe and the selected representative member recipe element; and output the natural language text for the modified recipe to the requestor. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. 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 to modify an existing recipe from a requestor, wherein the request identifies the existing recipe and an ingredient to be added to the existing recipe; identify a cluster of recipe elements associated with the ingredient to be added to the existing recipe; select a representative member recipe element of the cluster; modify the existing recipe based on the selected representative member recipe element; generate a natural language text for the modified recipe based on the existing recipe and the selected representative member recipe element; and output the natural language text for the modified recipe to the requestor.
-
Specification