INGREDIENT BASED NUTRITIONAL INFORMATION
First Claim
1. A system for determining nutritional information using text analytics comprising:
- a memory;
a processor device communicatively coupled to the memory; and
an application communicatively couple to the processor device and stored on the memory wherein the application is configured to;
analyze an unstructured text of a food recipe as instructions for preparing a meal to generate an ingredient list for the food recipe from the unstructured text to obtain;
a plurality of ingredients for the food recipe,a quantity of each of the plurality of ingredients, anda number of servings;
access a set of dietary preferences of a user from a user profile associated with the user;
calculate nutritional information of each of the plurality of ingredients using the quantity of the plurality of ingredients within the food recipe;
compile, the nutritional information of the plurality of ingredients into a nutritional value table, by;
accessing a database, wherein the database includes;
a nutritional information dictionary, including a list of ingredients and a nutritional indicators per quantity of the ingredients, anda nutritional value, calculated from the ingredient and a nutrient value per quantity, of the nutritional indicators of the list of ingredients,gathering the nutritional value of each of the plurality of ingredients from the nutritional information dictionary, andcalculating the nutritional information of each of the plurality of ingredients using the quantity of each of the plurality of ingredients;
determine whether the food recipe corresponds with the set of dietary preferences of the user, by comparing the calculated nutritional information for the plurality of ingredients with the dietary preferences of the user contained in the user profile, wherein a non-corresponding food recipe includes a first ingredient from the plurality of ingredients that does not correspond with the set of dietary preferences of the user, the first ingredient including a nutritional indicator that does not correspond with the set of dietary preferences of the user;
alert the user that the first ingredient does not correspond with the set of dietary preferences of the user;
display to the user the first ingredient that does not correspond with the set of dietary preferences of the user;
alter in response to determining a non-corresponding food recipe, the food recipe by removing the first ingredient;
substitute, in response to removing the first ingredient from the non-corresponding food recipe, a second ingredient for the first ingredient, by the alert system in conjunction with the database, wherein substituting the second ingredient includes;
accessing a substitution dictionary of substitutable ingredients for the first ingredient,determining whether the second ingredient is present in the substitution dictionary as a substitute for the first ingredient,updating the nutritional information dictionary of the database,adding the second ingredient a respective quantity to the plurality of ingredients of the food recipe,accessing the nutritional information of the second ingredient, andupdate the nutritional value table of the food recipe with the substitution of the second ingredient; and
display the altered food recipe as a second nutritional value table.
2 Assignments
0 Petitions
Accused Products
Abstract
Nutritional information of a recipe is gathered to determine a nutritional value table of a food recipe. A computing device may extract and analyze unstructured text of a food recipe to obtain a plurality of ingredients and a quantity of the plurality of ingredients. The computing device may access dietary preferences of a user. The nutritional information of the food recipe may be calculated using the nutritional value of each of the ingredients and complied into a nutritional value table. The recipe may be determined if the recipe corresponds with the dietary preferences of the user. If a recipe does not correspond with the dietary preferences, then an ingredient causes the recipe to not correspond with the dietary preferences is removed from the recipe creating an altered recipe. The nutritional value table of the altered recipe is displayed to the user.
5 Citations
1 Claim
-
1. A system for determining nutritional information using text analytics comprising:
-
a memory; a processor device communicatively coupled to the memory; and an application communicatively couple to the processor device and stored on the memory wherein the application is configured to; analyze an unstructured text of a food recipe as instructions for preparing a meal to generate an ingredient list for the food recipe from the unstructured text to obtain; a plurality of ingredients for the food recipe, a quantity of each of the plurality of ingredients, and a number of servings; access a set of dietary preferences of a user from a user profile associated with the user; calculate nutritional information of each of the plurality of ingredients using the quantity of the plurality of ingredients within the food recipe; compile, the nutritional information of the plurality of ingredients into a nutritional value table, by; accessing a database, wherein the database includes; a nutritional information dictionary, including a list of ingredients and a nutritional indicators per quantity of the ingredients, and a nutritional value, calculated from the ingredient and a nutrient value per quantity, of the nutritional indicators of the list of ingredients, gathering the nutritional value of each of the plurality of ingredients from the nutritional information dictionary, and calculating the nutritional information of each of the plurality of ingredients using the quantity of each of the plurality of ingredients; determine whether the food recipe corresponds with the set of dietary preferences of the user, by comparing the calculated nutritional information for the plurality of ingredients with the dietary preferences of the user contained in the user profile, wherein a non-corresponding food recipe includes a first ingredient from the plurality of ingredients that does not correspond with the set of dietary preferences of the user, the first ingredient including a nutritional indicator that does not correspond with the set of dietary preferences of the user; alert the user that the first ingredient does not correspond with the set of dietary preferences of the user; display to the user the first ingredient that does not correspond with the set of dietary preferences of the user; alter in response to determining a non-corresponding food recipe, the food recipe by removing the first ingredient; substitute, in response to removing the first ingredient from the non-corresponding food recipe, a second ingredient for the first ingredient, by the alert system in conjunction with the database, wherein substituting the second ingredient includes; accessing a substitution dictionary of substitutable ingredients for the first ingredient, determining whether the second ingredient is present in the substitution dictionary as a substitute for the first ingredient, updating the nutritional information dictionary of the database, adding the second ingredient a respective quantity to the plurality of ingredients of the food recipe, accessing the nutritional information of the second ingredient, and update the nutritional value table of the food recipe with the substitution of the second ingredient; and display the altered food recipe as a second nutritional value table.
-
Specification