IP Library Granted Patent US 10,769,377
Granted Patent B2
US 10,769,377 · App. 16/591,763 · Granted Sep 8, 2020

Learning object/action pairs for recipe ingredients

Inventors: Donna K. Byron (Petersham, MA); Alexander Pikovsky (Lexington, MA); Florian Pinel (New York, NY); Timothy P. Winkler (Clinton, MA)
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
G06F40/284G06F40/211G06F40/253G06F40/30
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,769,377
App. No.
16/591,763
Granted
Sep 8, 2020
Kind
B2
Abstract

Aspects include learning object/action pairs for recipe ingredients. A method includes extracting an ingredient list that includes a plurality of entries from a recipe stored in an electronic format. Each of the plurality of entries includes one or more words. For each multi-word entry in the ingredient list, an ingredient associated with the entry is identified by comparing words contained in the entry to terms in a lexicon of cooking domain terms. It is determined whether an action corresponds to the identified ingredient. The determining includes parsing the entry to locate a verb that is associated with the identified ingredient. Based on determining that an action corresponds to the identified ingredient, a food item action pair that includes the identified ingredient and the located verb is output.

Claims (55)

1. A method, comprising:

receiving an ingredient list of a recipe stored in an electronic format in a corpus of recipes, the ingredient list including a plurality of entries, each of the entries comprising one or more words;

for each multi-word entry in the ingredient list:

identifying an ingredient associated with the entry, the identifying including comparing words contained in the entry to terms in a lexicon of cooking domain terms;

determining whether an action corresponds to the identified ingredient, the determining including parsing the entry to locate a verb that is associated with the identified ingredient; and

based on determining that an action corresponds to the identified ingredient, outputting a food item action pair that includes the identified ingredient and the located verb, wherein the located verb indicates that the action is performed on the identified ingredient and wherein the outputting is to a database;

outputting at least one additional food item action pair for at least one of the multi-word entries in the ingredient list; and

executing, at a computer, a recipe generator to automatically create a description of a new recipe not contained in the corpus of recipes using cognitive computing, the description of the new recipe including one of the food item action pairs.

2. The method of claim 1 , wherein a plurality of ingredients are associated with at least one of the entries.

3. The method of claim 1 , wherein the parsing includes using clause structure analysis to identify one or more modifiers of the identified ingredient.

4. The method of claim 3 , wherein the parsing further includes identifying one of the one or more modifiers as a verb participle based, at least in part, on contents of a verb lexicon, and wherein the located verb corresponds to the verb participle.

5. The method of claim 3 , wherein the parsing further includes identifying one of the one or more identifiers as a verb participle based, at least in part, on part of speech tags generated by a parser, and wherein the located verb corresponds to the verb participle.

6. The method of claim 1 , wherein the identifying further includes at least one of:

replacing a surface name of the ingredient that is contained in the entry with a semantic reference from the lexicon of cooking domain terms; and

retaining an adjectival modifier as part of the identified ingredient.

7. The method of claim 1 , further comprising:

performing the receiving, identifying, determining, and outputting a food item action pair for a plurality of recipes in the corpus of recipes; and

outputting a frequency count of each food item action pair that reflects a number of times that each food item action pair is output, wherein the frequency count is input to the recipe generator.

8. A system, comprising:

a memory having computer readable instructions; and

a processor for executing the computer readable instructions, the computer readable instructions including:

receiving an ingredient list of a recipe stored in an electronic format in a corpus of recipes, the ingredient list including a plurality of entries, each of the entries comprising one or more words;

for each multi-word entry in the ingredient list:

identifying an ingredient associated with the entry, the identifying including comparing words contained in the entry to terms in a lexicon of cooking domain terms;

determining whether an action corresponds to the identified ingredient, the determining including parsing the entry to locate a verb that is associated with the identified ingredient; and

based on determining that an action corresponds to the identified ingredient, outputting a food item action pair that includes the identified ingredient and the located verb, wherein the located verb indicates that the action is performed on the identified ingredient and wherein the outputting is to a database;

outputting at least one additional food item action pair for at least one of the multi-word entries in the ingredient list; and

executing a recipe generator to automatically create a description of a new recipe, not contained in the corpus of recipes, using cognitive computing, the description of the new recipe including one of the food item action pairs.

9. The system of claim 8 , wherein a plurality of ingredients are associated with at least one of the entries.

10. The system of claim 8 , wherein the parsing includes using clause structure analysis to identify one or more modifiers of the identified ingredient.

11. The system of claim 10 , wherein the parsing further includes identifying one of the one or more modifiers as a verb participle based, at least in part, on contents of a verb lexicon, and wherein the located verb corresponds to the verb participle.

12. The system of claim 10 , wherein the parsing further includes identifying one of the one or more identifiers as a verb participle based, at least in part, on part of speech tags generated by a parser, and wherein the located verb corresponds to the verb participle.

13. The system of claim 8 , wherein the identifying further includes at least one of:

replacing a surface name of the ingredient that is contained in the entry with a semantic reference from the lexicon of cooking domain terms; and

retaining an adjectival modifier as part of the identified ingredient.

14. The system of claim 8 , wherein the computer readable instructions further include:

performing the receiving, identifying, determining, and outputting a food item action pair for a plurality of recipes in the corpus of recipes; and

outputting a frequency count of each food item action pair that reflects a number of times that each food item action pair is output, wherein the frequency count is input to the recipe generator.

15. A computer program product comprising a non-transitory computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the computer processor to perform:

receiving an ingredient list of a recipe stored in an electronic format, the ingredient list including a plurality of entries, each of the entries comprising one or more words;

for each multi-word entry in the ingredient list:

identifying an ingredient associated with the entry, the identifying including comparing words contained in the entry to terms in a lexicon of cooking domain terms;

determining whether an action corresponds to the identified ingredient, the determining including parsing the entry to locate a verb that is associated with the identified ingredient; and

based on determining that an action corresponds to the identified ingredient, outputting a food item action pair that includes the identified ingredient and the located verb, wherein the located verb indicates that the action is performed on the identified ingredient and wherein the outputting is to a database;

outputting at least one additional food item action pair for at least one of the multi-word entries in the ingredient list; and

executing a recipe generator to automatically create a description of a new recipe, not contained in the corpus of recipes, using cognitive computing, the description of the new recipe including one of the food item action pairs.

16. The computer program product of claim 15 , wherein a plurality of ingredients are associated with at least one of the entries.

17. The computer program product of claim 15 , wherein the parsing includes using clause structure analysis to identify one or more modifiers of the identified ingredient.

18. The computer program product of claim 17 , wherein the parsing further includes identifying one of the one or more modifiers as a verb participle based, at least in part, on contents of a verb lexicon, and wherein the located verb corresponds to the verb participle.

19. The computer program product of claim 15 , wherein the identifying further includes at least one of:

replacing a surface name of the ingredient that is contained in the entry with a semantic reference from the lexicon of cooking domain terms; and

retaining an adjectival modifier as part of the identified ingredient.

20. The computer program product of claim 15 , wherein the program instructions further cause the computer processor to perform:

performing the receiving, identifying, determining, and outputting a food item action pair for a plurality of recipes in the corpus of recipes; and

outputting a frequency count of each food item action pair that reflects a number of times that each food item action pair is output, wherein the frequency count is input to the recipe generator.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 4, 2024
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: MAPLEBEAR INC.
Reel/Frame 066020/0216 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 3, 2019
From: BYRON, DONNA K.; PIKOVSKY, ALEXANDER; PINEL, FLORIAN; WINKLER, TIMOTHY P.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 050615/0278 →