CN111414450A - Standardized menu generation method, device, storage medium and program module framework - Google Patents

Standardized menu generation method, device, storage medium and program module framework Download PDF

Info

Publication number
CN111414450A
CN111414450A CN202010135516.2A CN202010135516A CN111414450A CN 111414450 A CN111414450 A CN 111414450A CN 202010135516 A CN202010135516 A CN 202010135516A CN 111414450 A CN111414450 A CN 111414450A
Authority
CN
China
Prior art keywords
vocabulary
instruction
menu
library
standardized
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010135516.2A
Other languages
Chinese (zh)
Inventor
傅峰峰
江志强
苏美茵
谢婉文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Fugang Wanjia Intelligent Technology Co Ltd
Original Assignee
Guangzhou Fugang Wanjia Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Fugang Wanjia Intelligent Technology Co Ltd filed Critical Guangzhou Fugang Wanjia Intelligent Technology Co Ltd
Priority to CN202010135516.2A priority Critical patent/CN111414450A/en
Publication of CN111414450A publication Critical patent/CN111414450A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/31Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/3332Query translation
    • G06F16/3334Selection or weighting of terms from queries, including natural language queries
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/60ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to nutrition control, e.g. diets

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Nutrition Science (AREA)
  • Software Systems (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • General Preparation And Processing Of Foods (AREA)

Abstract

The invention discloses a standardized menu generating method, a standardized menu generating device, a storage medium and a program module framework, analyzing the common menu through a menu corpus to obtain a standardized menu, specifically, firstly extracting various food materials in the menu by using a food material vocabulary library, then analyzing the operation of each food material, determining the standard instruction corresponding to the operation of each food material by using an instruction vocabulary library to obtain an instruction set for the food material, obtaining the instruction sets of all the food materials to obtain a standardized processing instruction set, processing the food materials by the automatic cooking equipment according to the standardized processing instruction set, the standardized processing instruction set is a standardized menu which can be identified by the automatic cooking equipment and is obtained according to a common menu, the standardized menu which can be identified by the automatic cooking equipment can be generated according to the common menu, and the problem that the existing standardized menu is difficult to obtain is solved.

Description

Standardized menu generation method, device, storage medium and program module framework
Technical Field
The invention relates to the field of automatic cooking, in particular to a standardized menu generation method, a standardized menu generation device, a standardized menu generation storage medium and a program module framework.
Background
Automatic cooking devices have been developed which allow the automatic cooking of various dishes according to cooking programs pre-stored in the system or input by the user according to the rules of device identification. However, the types of dishes (abbreviated as dish types) that can be cooked by the automatic cooking device are very limited because a large number of dishes in real life cannot be recognized by the automatic cooking device. The reason for this is that these recipes are usually written based on the subjective operational feeling of the writer, the order and syntax of their expression are also varied, there may be many vague non-quantitative descriptions and some non-standard descriptions, and therefore the automated device cannot directly convert these recipes into the standard operation program of the machine. For example: frying a food material to golden yellow, this vague expression does not accurately quantify how long the oil should be fried with, and thus the machine cannot perform standardized operations based on the descriptions of the Chinese menu. Therefore, a large number of menus can not be directly used by the automatic cooking equipment at present, if the automatic cooking equipment needs to cook some existing traditional menus, workers need to analyze the menus of the traditional menus and compile specific operation programs, the process is complex, the number of the dishes which can be cooked by the automatic cooking equipment is limited, the application requirement of a user for inputting the menus for cooking by himself is also limited, and the wide application of the automatic cooking equipment is further severely limited.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a standardized recipe generation method, a storage medium and a program module framework, wherein the method can be used for generating a standardized recipe which can be identified by automatic cooking equipment according to a common recipe.
In order to achieve the above object, the present invention provides a method for generating a standardized recipe, wherein a recipe corpus is utilized, the recipe corpus comprises a food material vocabulary library and an instruction vocabulary library, the instruction vocabulary library comprises vocabularies and standard instructions, and each vocabulary corresponds to the standard instruction, and the method specifically comprises the following steps:
acquiring a menu to be analyzed, searching all food materials in the menu according to a food material vocabulary library, and establishing an instruction set to be filled for each food material;
analyzing the operation vocabulary corresponding to each food material vocabulary in the menu, traversing and searching whether the operation vocabulary exists in the instruction vocabulary library, if so, acquiring a standard instruction corresponding to the vocabulary, and filling the standard instruction into the instruction set of the food material to form a standardized processing instruction set of the food material.
Compared with the prior art, the standardized recipe generation method comprises the steps of analyzing a common recipe through a recipe corpus to obtain the standardized recipe, specifically, extracting various food materials in the recipe through a food material vocabulary library, analyzing the operation to be performed on each food material, determining a standard instruction corresponding to the operation required by each food material through an instruction vocabulary library to obtain an instruction set for the food materials, obtaining the instruction sets of all the food materials to obtain a standardized processing instruction set, processing the food materials through automatic cooking equipment according to the standardized processing instruction set, and obtaining the standardized processing instruction set which is the standardized recipe capable of being recognized by the automatic cooking equipment according to the common recipe. The method can generate the standardized menu which can be identified by the automatic cooking equipment according to the common menu, and solves the problem that the existing standardized menu is difficult to obtain.
The invention also provides a preferable scheme of the standardized menu generation method, the menu corpus comprises a cooking utensil vocabulary library, and the menu analysis step comprises the following steps: searching all cooking appliances in a menu according to a cooking appliance vocabulary library, extracting all related objects of each cooking appliance, establishing a group of instruction sets to be filled for each cooking appliance, wherein each group of instruction sets to be filled comprises a plurality of instruction sets to be filled, and correspondingly filling each related object into one instruction set to be filled in one group of instruction sets to be filled of the cooking appliance; analyzing all food materials corresponding to each cooking appliance in the menu, and filling each food material into one instruction set to be filled in a group of instruction sets to be filled of the cooking appliance; analyzing the operation vocabulary corresponding to each food material vocabulary in the menu, traversing and searching whether the operation vocabulary exists in the instruction vocabulary library, if so, acquiring a standard instruction corresponding to the vocabulary, and filling the standard instruction into the instruction set of the food material to form a standardized processing instruction set of the food material. The cooking utensil used in the menu is analyzed through the cooking utensil vocabulary library in the scheme, and then the food materials in the cooking utensil are analyzed according to the food material vocabulary library and the instruction vocabulary library, and the various food materials are required to be processed, so that the method can be used for analyzing the more complex menu of the cooking mode.
Correspondingly, the invention also provides a standardized menu generating device, which comprises the following software units:
the menu corpus comprises a food material vocabulary library and an instruction vocabulary library, wherein the instruction vocabulary library comprises vocabularies and standard instructions, and each vocabulary and the standard instructions have a corresponding relation;
the first analysis unit is used for finding out all food materials in the menu according to the food material vocabulary library and establishing an instruction set to be filled for each food material;
and the second analysis unit is used for analyzing the operation vocabulary corresponding to each food material vocabulary in the menu, traversing and searching whether the operation vocabulary exists in the instruction vocabulary library, if so, acquiring a standard instruction corresponding to the vocabulary, and filling the standard instruction into the instruction set of the food material to form a standardized processing instruction set of the food material.
Compared with the prior art, the standardized menu generation device analyzes a common menu through a menu corpus to obtain the standardized menu, specifically, firstly, a first analysis unit extracts various food materials in the menu through a food material vocabulary library, a second analysis unit determines a standard instruction corresponding to operation required by each food material through an instruction vocabulary library to obtain an instruction set aiming at the food materials, a standardized processing instruction set is obtained after instruction sets of all the food materials are obtained, an automatic cooking device can process the food materials according to the standardized processing instruction set, and the standardized processing instruction set is a standardized menu which can be identified by the automatic cooking device and is obtained according to the common menu. The device can generate the standardized menu which can be identified by the automatic cooking equipment according to the common menu, and solves the problem that the current standardized menu is difficult to obtain.
The invention also provides a preferable scheme of the standardized menu generating device, wherein the menu corpus comprises a cooking utensil vocabulary library, the device comprises a third analyzing unit, all cooking utensils in the menu are found out according to the cooking utensil vocabulary library, all related objects of each cooking utensil are extracted, a group of instruction sets to be filled are established for each cooking utensil, a group of instruction sets to be filled comprise a plurality of instruction sets to be filled, and each related object is correspondingly filled into one instruction set to be filled in one instruction set in the group of instruction sets to be filled of the cooking utensil. The cooking utensil that uses in the menu is gone out through the analysis of cooking utensil vocabulary storehouse to the third analytic unit in this scheme, then utilizes first analytic unit and second analytic unit to go out which edible material has in the cooking utensil according to edible material vocabulary storehouse and instruction vocabulary storehouse analysis respectively, and what processing need be done to various edible materials, and the device can be used to the more complicated menu of analysis culinary art mode.
Accordingly, the present invention also provides a computer-readable storage medium comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform any of the method steps described above. After the common menu is input, the computer readable storage medium is executed to store instructions, so that the standardized menu can be obtained, and the problem that the existing standardized menu is difficult to obtain is solved.
Accordingly, the present invention also provides a computer program module architecture for generating standardized recipes, comprising:
the menu corpus comprises a food material vocabulary library and an instruction vocabulary library, wherein the instruction vocabulary library comprises vocabularies and standard instructions, and each vocabulary and the standard instructions have a corresponding relation;
the first analysis unit is used for finding out all food materials in the menu according to the food material vocabulary library and establishing an instruction set to be filled for each food material;
and the second analysis unit is used for analyzing the operation vocabulary corresponding to each food material vocabulary in the menu, traversing and searching whether the operation vocabulary exists in the instruction vocabulary library, if so, acquiring a standard instruction corresponding to the vocabulary, and filling the standard instruction into the instruction set of the food material to form a standardized processing instruction set of the food material.
Compared with the prior art, the invention provides a computer program module framework for generating a standardized menu, the device analyzes a common menu through a menu corpus to obtain the standardized menu, specifically, a first analysis unit extracts various food materials in the menu by using a food material vocabulary library, a second analysis unit determines a standard instruction corresponding to the operation required by each food material by using an instruction vocabulary library to obtain an instruction set aiming at the food materials, a standardized processing instruction set is obtained after the instruction sets of all the food materials are obtained, an automatic cooking device can process the food materials according to the standardized processing instruction set, and the standardized processing instruction set is the standardized menu which can be identified by the automatic cooking device and is obtained according to the common menu. The device can generate the standardized menu which can be identified by the automatic cooking equipment according to the common menu, and solves the problem that the current standardized menu is difficult to obtain.
Drawings
FIG. 1 is a flow chart of a standardized recipe generation method of the present invention;
FIG. 2 is an exemplary diagram of a general recipe in the present invention;
FIG. 3 is an exemplary diagram of a standardized recipe obtained from the general recipe of FIG. 2;
fig. 4 is a block diagram of a standardized recipe generating apparatus according to the present invention.
Detailed Description
As shown in fig. 1, the invention discloses a standardized recipe generation method, which comprises the following steps:
and S1, establishing a menu corpus, wherein the menu corpus can comprise a food material vocabulary library, a cooking utensil vocabulary library and an instruction vocabulary library. For a simpler recipe, cooking appliances such as sugar-mixed tomatoes may not be used during production, and only the tomatoes need to be sliced and then added with sugar, and cooking appliances such as 'pots' (but containing appliances and stirring appliances) are not used, so that the cooking appliances in the recipe do not need to be analyzed according to the vocabulary library of the cooking appliances, but obviously, in practice, more recipes of various cooking appliances are used, and therefore, in the embodiment, the recipe corpus includes the vocabulary library of the cooking appliances. The instruction vocabulary library can be a vocabulary library comprising various vocabularies and standard instructions, and can also be a general term of an adjective vocabulary library, a verb vocabulary library, an auxiliary vocabulary library and a common phrase library. Because the meaning of Chinese is complex, the same word can be used as a verb and an adjective, if the instruction vocabulary library is a vocabulary library comprising various vocabularies and standard instructions, a situation that one vocabulary corresponds to two standard instructions in the instruction vocabulary library can exist, and if only the tangible vocabulary library, the verb vocabulary library and the auxiliary vocabulary library do not have a common short language library, a situation that the standard instructions corresponding to the vocabularies cannot be determined due to the fact that the sentence components are difficult to analyze due to habitual expressions in some spoken languages can occur. Therefore, in the embodiment, the instruction vocabulary library is divided into an adjective vocabulary library, a verb vocabulary library, an auxiliary vocabulary library and a common phrase library, the vocabularies in the menu are analyzed in terms of parts of speech, so that the vocabularies are distinguished from adjectives, verbs or auxiliary words, the adjectives are searched in the adjective vocabulary library corresponding to the verbs, the auxiliary words are searched in the auxiliary vocabulary library corresponding to the auxiliary vocabulary library, so that the standard instructions corresponding to the vocabularies can be conveniently determined, and the corresponding standard instructions for the phrases which are difficult to analyze are determined according to the common phrase library. The standard instruction of the scheme refers to an instruction which can be recognized by the automatic cooking equipment and can complete a series of specified actions according to the instruction. For example, the recipe states "chop meat and put a little salt for pickling", wherein "chop" corresponds to a standard command "chop" in a verb vocabulary library, which can control the automatic cooking device to complete actions of starting a cutting device, putting meat into the cutting device, cutting meat, and the like, and "little" corresponds to a standard command "3 g" in an adjective vocabulary library, which can control the automatic cooking device to complete actions of grabbing salt and weighing salt. It should be noted that some standard commands of the method have a preset default value, for example, the default value corresponding to the word "3 grams" of the standard command, i.e. preset "a few" is 3 grams, but the default value may be modified by the user, and the modification manner by the user may be to adjust the constant corresponding to the word through a setting port provided by the system.
And S2, acquiring the menu to be analyzed and carrying out standardized processing on the menu. Although the recipe can be directly analyzed, since there are many words with similar meanings in the text, such as spoken words like "a few dots", "a dot", "slightly putting" and so on, all mean "a few", if no normalization processing is performed, the corresponding instruction cannot be found in the instruction vocabulary library due to different expression modes. Therefore, in the embodiment, a standard vocabulary library is established, each spoken vocabulary in the standard vocabulary library has a corresponding relationship with one standard vocabulary, and the standard vocabulary library is utilized to replace the spoken vocabularies such as "a few dots", "a little dots", and "a little dots" in the menu with the standard vocabulary "a little", thereby realizing the standardized processing of the menu.
And S3, analyzing the normalized menu, and establishing and filling an instruction set. The method comprises the following specific steps:
s31, finding out all food materials in the menu according to the food material vocabulary library, establishing an instruction set to be filled for each food material, analyzing the operation vocabulary corresponding to each food material vocabulary in the menu, finding standard instructions according to the adjective vocabulary library, the verb vocabulary library, the auxiliary vocabulary library and the common phrase library, and filling the standard instructions into the instruction set to be filled.
For simple recipes, the analysis of the recipe is completed by completing step S31. For example, for a dish of sugar-mixed tomatoes, the standardized recipe is "slice cleaned tomatoes, add sufficient sugar and mix well", and find out that the recipe contains food materials according to the food material vocabulary library: tomato, sugar, respectively, an instruction set to be filled is established for each tomato and sugar. The operation words corresponding to the tomatoes comprise 'cleaning' and 'slicing', and the words 'cleaning' and 'slicing' belong to verbs, so that the 'cleaning' and 'slicing' are respectively searched corresponding to a verb word library to obtain standard instructions 'cleaning' and 'slicing', wherein the standard instructions 'cleaning' and 'slicing' refer to instructions which can be recognized by the automatic cooking equipment and can complete the cleaning action and the slicing action according to the instructions, and the standard instructions 'cleaning' and 'slicing' are filled into an instruction set to be filled of the tomatoes. The operation words corresponding to the sugar comprise 'adding', 'sufficient' and 'stirring', verbs 'adding' and 'stirring' respectively correspond to a verb word library to be searched to obtain standard instructions 'adding' and 'stirring', adjectives 'sufficient' correspond to an adjective word library to be searched to obtain standard instructions '30 g', and the standard instructions 'adding', '30 g' and 'stirring' are filled into an instruction set to be filled of the tomato. This completes the population of the entire instruction set.
However, for a complicated recipe, this step S31 is only a preprocessing step of the food material. For example, for the recipe shown in fig. 2, the recipe is found to contain food materials according to the food material vocabulary library: the edible materials comprise black fungus, lotus seed, carrot, lotus root, celery, ginger, garlic, fistular onion stalk and starch, and the edible materials comprising the carrot, the lotus root and the black fungus and the ginger slice, the chopped garlic and the fistular onion stalk are combined, so that an instruction set to be filled is respectively established for the black fungus, the lotus seed, the carrot, the lotus root, the celery, the ginger, the garlic, the fistular onion stalk, the starch, the combination 1 (the carrot, the lotus root and the black fungus) and the combination 2 (the ginger slice, the chopped garlic and the fistular onion stalk). Filling the aforementioned respective instruction sets to be filled according to steps 1 to 6 in fig. 2, respectively, can result in steps 1 to 11 shown in fig. 3. However, in the frying step after step 6 in fig. 2, if the cooking utensil "pan" needs to be used, the flow proceeds to step S32.
S32, finding out all cooking appliances in the menu according to the cooking appliance vocabulary library, establishing a group of instruction sets to be filled for each cooking appliance, wherein the group of instruction sets to be filled comprises a plurality of instruction sets to be filled, analyzing all food materials corresponding to each cooking appliance in the menu, filling each food material into one instruction set to be filled in the group of instruction sets to be filled of the cooking appliance, analyzing operation vocabularies corresponding to each food material vocabulary in the menu, searching standard instructions according to the adjective vocabulary library, the verb vocabulary library, the auxiliary vocabulary library and the common phrase library, and filling the standard instructions into the instruction sets to be filled.
Specifically, for the recipe shown in fig. 2, the cooking utensil "pots" appearing twice in the recipe shown in fig. 2 is searched according to the cooking utensil vocabulary library, the pots appearing twice are respectively marked as a first pot and a second pot, all related objects of the first pot and the second pot are respectively extracted, two groups of instruction sets to be filled are respectively established for the first pot and the second pot, each related object of the first pot is respectively and correspondingly filled into one instruction set to be filled in one group of instruction sets to be filled in the first pot, and each related object of the second pot is respectively and correspondingly filled into one instruction set to be filled in one group of instruction sets to be filled in the second pot. The first pot appearing step is step 7 "add water and boil in the pot, add salt, carrot, lotus root, black fungus, fish out after boiling thoroughly", because need boil water in this step, will make up 1 and boil thoroughly, so the relevant object of first pot includes water temperature and fire temperature, fills water temperature and fire temperature respectively in a certain one of a set of instruction sets waiting to fill of first pot, and includes the edible material in the first pot: water, salt and combination 1, so that water (water amount), salt and combination 1 are respectively filled into one of a group of instruction sets to be filled in the first pot, so that the water (water amount), the fire temperature, the water temperature, the salt and combination 1 respectively have one instruction set to be filled, and filling each instruction set to be filled according to the method for filling the instruction sets obtains steps 12 to 16 shown in fig. 3. The second step of appearing the pot is steps 8 to 12, since the oil pot needs to be heated in step 8, the fire temperature and the oil temperature are related objects of the second pot, the fire temperature and the oil temperature are respectively filled into one of a group of instruction sets to be filled of the second pot, and the second pot comprises food materials: oil, combination 2, combination 1, cooking wine, salt, white sugar, lotus seed, celery segment, dark soy sauce and water starch are respectively filled into one of a group of instruction sets to be filled in the second pot, and the instruction sets to be filled are filled according to the method for filling the instruction sets to obtain steps 17 to 28 shown in fig. 3. The above completes the population of the entire instruction set for the recipe shown in fig. 2.
And S4, obtaining a standardized processing instruction set of the food materials after all the instruction sets are filled, wherein the standardized processing instruction set is a standardized menu which can be identified by automatic cooking equipment and is obtained according to the common menu.
As shown in fig. 4, the invention discloses a standardized recipe generation device, which comprises a recipe corpus, a recipe normalization processing unit, a first analysis unit, a second analysis unit and a third analysis unit. The recipe corpus comprises a food material vocabulary library, a cooking utensil vocabulary library, an adjective vocabulary library, a verb vocabulary library, an auxiliary vocabulary and vocabulary collection library and a common phrase library, and the recipe standardization processing unit comprises a standard vocabulary library and a vocabulary replacement module. After the menu to be analyzed is obtained, the vocabulary replacement module replaces the spoken vocabulary in the menu with the standard vocabulary according to the standard vocabulary library to obtain the menu after the standardized processing; the third analysis unit analyzes all cooking appliances in the standardized recipe, and establishes a group of instruction sets to be filled for each cooking appliance, wherein the group of instruction sets to be filled comprises a plurality of instruction sets to be filled; the first analysis unit finds out all food materials in the menu according to the food material vocabulary library, if the food materials are not the food materials put into the cooking appliance, a command set to be filled is independently established, and if the food materials are the food materials put into the cooking appliance, the food materials are filled into one of a group of commands to be filled of the cooking appliance; the second analysis unit analyzes the operation vocabulary corresponding to each food material vocabulary in the menu, traverses and searches whether the operation vocabulary exists in the instruction vocabulary library, if so, obtains the standard instruction corresponding to the vocabulary, and fills the standard instruction into the instruction set of the food material to form a standardized processing instruction set of the food material, wherein the standardized processing instruction set is a standardized menu which can be identified by the automatic cooking equipment and is obtained according to a common menu.
The present invention further provides a computer-readable storage medium, which specifically includes a stored computer program, where when the computer program runs, the apparatus on which the computer-readable storage medium is located is controlled to execute the standardized recipe generation method according to any one of the above embodiments.
It should be noted that, all or part of the flow in the method according to the above embodiments of the present invention may also be implemented by a computer program instructing related hardware, where the computer program may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above embodiments of the method may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be further noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The embodiment of the invention provides a standardized menu generation method, a standardized menu generation device, a storage medium and a program module framework, analyzing the common menu through a menu corpus to obtain a standardized menu, specifically, firstly extracting various food materials in the menu by using a food material vocabulary library, then analyzing the operation of each food material, determining the standard instruction corresponding to the operation of each food material by using an instruction vocabulary library to obtain an instruction set for the food material, obtaining the instruction sets of all the food materials to obtain a standardized processing instruction set, processing the food materials by the automatic cooking equipment according to the standardized processing instruction set, the standardized processing instruction set is a standardized menu which can be identified by the automatic cooking equipment and is obtained according to a common menu, the standardized menu which can be identified by the automatic cooking equipment can be generated according to the common menu, and the problem that the existing standardized menu is difficult to obtain is solved.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (13)

1. A standardized menu generation method is characterized by comprising the following steps:
the method utilizes a menu corpus which comprises a food material vocabulary library and an instruction vocabulary library, wherein the instruction vocabulary library comprises vocabularies and standard instructions, and each vocabulary has a corresponding relation with the standard instructions, and the method specifically comprises the following steps:
obtaining a menu to be analyzed, and analyzing the menu, wherein the menu analysis comprises the following steps:
searching all food materials in the menu according to the food material vocabulary library, and establishing an instruction set to be filled for each food material;
analyzing the operation vocabulary corresponding to each food material vocabulary in the menu, traversing and searching whether the operation vocabulary exists in the instruction vocabulary library, if so, acquiring a standard instruction corresponding to the vocabulary, and filling the standard instruction into the instruction set of the food material to form a standardized processing instruction set of the food material.
2. The standardized recipe generation method according to claim 1, wherein the recipe corpus includes a cooking utensil vocabulary library, and the recipe analysis step includes:
searching all cooking appliances in a menu according to a cooking appliance vocabulary library, extracting all related objects of each cooking appliance, establishing a group of instruction sets to be filled for each cooking appliance, wherein each group of instruction sets to be filled comprises a plurality of instruction sets to be filled, and correspondingly filling each related object into one instruction set to be filled in one group of instruction sets to be filled of the cooking appliance;
analyzing all food materials corresponding to each cooking appliance in the menu, and filling each food material into one instruction set to be filled in a group of instruction sets to be filled of the cooking appliance;
analyzing the operation vocabulary corresponding to each food material vocabulary in the menu, traversing and searching whether the operation vocabulary exists in the instruction vocabulary library, if so, acquiring a standard instruction corresponding to the vocabulary, and filling the standard instruction into the instruction set of the food material to form a standardized processing instruction set of the food material.
3. The standardized menu generating method as claimed in claim 1 or 2, wherein the instruction vocabulary library comprises a verb vocabulary library, an adjective vocabulary library, and an auxiliary vocabulary library; the specific method for traversing and searching whether the operation vocabulary exists in the instruction vocabulary library is as follows:
and dividing all the operation vocabularies into adjectives, verbs and auxiliary words according to the menu context, searching the adjectives corresponding to the adjective vocabulary library, searching the verbs corresponding to the verb vocabulary library, and searching the auxiliary words corresponding to the auxiliary vocabulary library.
4. The method as claimed in claim 3, wherein the command vocabulary library further comprises a common phrase library, wherein common phrases in the operation vocabulary are searched according to the context of the menu, and the common phrases are searched corresponding to the common phrase library.
5. The method for generating standardized recipes according to claim 1 or 2, wherein after the recipe to be analyzed is obtained, the recipe is standardized, and then the recipe analysis is performed, wherein the standardized recipe processing comprises the following steps:
establishing a standard vocabulary library, wherein the standard vocabulary library comprises spoken vocabularies and standard vocabularies, and each spoken vocabulary and one standard vocabulary have a corresponding relation;
and replacing the spoken words in the menu with standard words according to a standard word library to obtain the menu after standardized processing.
6. The method as claimed in claim 1 or 2, wherein the parameter in the standard instruction has a preset default value, and the default value can be modified by the user.
7. A standardized recipe generation device characterized by comprising the following software elements:
the menu corpus comprises a food material vocabulary library and an instruction vocabulary library, wherein the instruction vocabulary library comprises vocabularies and standard instructions, and each vocabulary and the standard instructions have a corresponding relation;
the first analysis unit is used for finding out all food materials in the menu according to the food material vocabulary library and establishing an instruction set to be filled for each food material;
and the second analysis unit is used for analyzing the operation vocabulary corresponding to each food material vocabulary in the menu, traversing and searching whether the operation vocabulary exists in the instruction vocabulary library, if so, acquiring a standard instruction corresponding to the vocabulary, and filling the standard instruction into the instruction set of the food material to form a standardized processing instruction set of the food material.
8. The standardized recipe generation apparatus according to claim 7, wherein the recipe corpus comprises a vocabulary library of cooking appliances, the apparatus comprises a third analysis unit, which finds all cooking appliances in the recipe according to the vocabulary library of cooking appliances and extracts all relevant objects of each cooking appliance, establishes a set of instruction sets to be filled for each cooking appliance, the set of instruction sets to be filled comprises a plurality of instruction sets to be filled, and fills each relevant object into one instruction set to be filled in the set of instruction sets to be filled of the cooking appliance.
9. The standardized recipe generation apparatus according to claim 7 or 8, further comprising a recipe normalization processing unit configured to replace the spoken vocabulary in the recipe with a standard vocabulary, so as to obtain a normalized recipe.
10. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the standardized recipe generation method of any one of claims 1 to 6.
11. A computer program module architecture for generating standardized recipes comprising:
the menu corpus comprises a food material vocabulary library and an instruction vocabulary library, wherein the instruction vocabulary library comprises vocabularies and standard instructions, and each vocabulary and the standard instructions have a corresponding relation;
the first analysis unit is used for finding out all food materials in the menu according to the food material vocabulary library and establishing an instruction set to be filled for each food material;
and the second analysis unit is used for analyzing the operation vocabulary corresponding to each food material vocabulary in the menu, traversing and searching whether the operation vocabulary exists in the instruction vocabulary library, if so, acquiring a standard instruction corresponding to the vocabulary, and filling the standard instruction into the instruction set of the food material to form a standardized processing instruction set of the food material.
12. The framework of computer program modules for generating standardized recipes according to claim 11, wherein the recipe corpus comprises a vocabulary library of cooking appliances, the apparatus comprises a third analyzing unit for finding all cooking appliances in the recipe according to the vocabulary library of cooking appliances and extracting all related objects of each cooking appliance, establishing a set of instruction sets to be filled for each cooking appliance, the set of instruction sets to be filled comprising a plurality of instruction sets to be filled, and filling each related object into one instruction set to be filled in the set of instruction sets to be filled of the cooking appliance.
13. The framework of computer program modules for generating standardized recipes according to claim 11 or 12, further comprising a recipe normalization unit for replacing spoken words in the recipe with standard words resulting in a normalized recipe.
CN202010135516.2A 2020-03-02 2020-03-02 Standardized menu generation method, device, storage medium and program module framework Pending CN111414450A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010135516.2A CN111414450A (en) 2020-03-02 2020-03-02 Standardized menu generation method, device, storage medium and program module framework

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010135516.2A CN111414450A (en) 2020-03-02 2020-03-02 Standardized menu generation method, device, storage medium and program module framework

Publications (1)

Publication Number Publication Date
CN111414450A true CN111414450A (en) 2020-07-14

Family

ID=71491072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010135516.2A Pending CN111414450A (en) 2020-03-02 2020-03-02 Standardized menu generation method, device, storage medium and program module framework

Country Status (1)

Country Link
CN (1) CN111414450A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116991968A (en) * 2023-09-26 2023-11-03 济南大学 Menu generation method, system, storage medium and device based on tree structure

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5178936B1 (en) * 2012-05-31 2013-04-10 尚士 橋本 System and method for assessing the contribution of cooking recipes to product sales
CN105488339A (en) * 2015-11-25 2016-04-13 珠海优特电力科技股份有限公司 Digital cookbook generation method and system
CN109815375A (en) * 2019-01-25 2019-05-28 广州富港万嘉智能科技有限公司 A kind of personalization menu generation method and device
CN110706131A (en) * 2019-10-31 2020-01-17 珠海优特智厨科技有限公司 Method and device for creating electronic menu, electronic equipment and storage medium
CN110825770A (en) * 2019-10-12 2020-02-21 珠海优特智厨科技有限公司 Electronic menu generation method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5178936B1 (en) * 2012-05-31 2013-04-10 尚士 橋本 System and method for assessing the contribution of cooking recipes to product sales
CN105488339A (en) * 2015-11-25 2016-04-13 珠海优特电力科技股份有限公司 Digital cookbook generation method and system
CN109815375A (en) * 2019-01-25 2019-05-28 广州富港万嘉智能科技有限公司 A kind of personalization menu generation method and device
CN110825770A (en) * 2019-10-12 2020-02-21 珠海优特智厨科技有限公司 Electronic menu generation method and electronic equipment
CN110706131A (en) * 2019-10-31 2020-01-17 珠海优特智厨科技有限公司 Method and device for creating electronic menu, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116991968A (en) * 2023-09-26 2023-11-03 济南大学 Menu generation method, system, storage medium and device based on tree structure
CN116991968B (en) * 2023-09-26 2023-12-08 济南大学 Menu generation method, system, storage medium and device based on tree structure

Similar Documents

Publication Publication Date Title
US10692491B2 (en) Methods and systems for recipe management
US9754508B2 (en) Computerized method and system for analyzing and processing a food recipe
US9797873B1 (en) Prediction of recipe preparation time
US20150066516A1 (en) Appliance control method, speech-based appliance control system, and cooking appliance
US9495360B2 (en) Recipe creation using text analytics
CA2801298C (en) Device and method for selecting instances in expanded set containing given seed string
WO2019178372A1 (en) Recipe conversion system
US10789049B2 (en) Recipe program code generation method and recipe compiling cloud platform system
KR101874604B1 (en) Method for generating creation recipe
CN109683516A (en) Auxiliary cooking method, household appliance and computer storage medium
CN111414450A (en) Standardized menu generation method, device, storage medium and program module framework
US20230196126A1 (en) System and Method for Identifying Substitutable Entities in Procedural Instructions
US20210212504A1 (en) Recipe suggestion apparatus, recipe suggestion method, and non-transitory computer readable medium for recipe suggestion
CN110472153B (en) Menu recommendation method, system, equipment and storage medium
KR20180067075A (en) System and method for producing cooking recipe
Batista et al. Ontology construction: cooking domain
JP2008123131A (en) Cooking recipe extraction device and method and cooking recipe extraction program
US20200302012A1 (en) Smart meal preparation using a sensor-enabled kitchen environment
BR112020025566A2 (en) METHOD FOR OPERATING A COOKING APPLIANCE
Chen A statistical machine learning approach to generating graph structures from food recipes
CN113041623B (en) Game parameter configuration method and device and computer readable storage medium
JP6491806B1 (en) Quantitative recipe information creation support server, information processing terminal, quantitative recipe information creation support system, quantitative recipe information creation support method, and quantitative recipe information creation support program
KR20220012158A (en) Method and apparatus for providing personalized cooking service
KR102528857B1 (en) Digital recipe creation system based on natural language processing
CN114206178A (en) Use of food processor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination