A Named Entity Based Approach to Model Recipes

04/25/2020
by   Nirav Diwan, et al.
0

Traditional cooking recipes follow a structure which can be modelled very well if the rules and semantics of the different sections of the recipe text are analyzed and represented accurately. We propose a structure that can accurately represent the recipe as well as a pipeline to infer the best representation of the recipe in this uniform structure. The Ingredients section in a recipe typically lists down the ingredients required and corresponding attributes such as quantity, temperature, and processing state. This can be modelled by defining these attributes and their values. The physical entities which make up a recipe can be broadly classified into utensils, ingredients and their combinations that are related by cooking techniques. The instruction section lists down a series of events in which a cooking technique or process is applied upon these utensils and ingredients. We model these relationships in the form of tuples. Thus, using a combination of these methods we model cooking recipe in the dataset RecipeDB to show the efficacy of our method. This mined information model can have several applications which include translating recipes between languages, determining similarity between recipes, generation of novel recipes and estimation of the nutritional profile of recipes. For the purpose of recognition of ingredient attributes, we train the Named Entity Relationship (NER) models and analyze the inferences with the help of K-Means clustering. Our model presented with an F1 score of 0.95 across all datasets. We use a similar NER tagging model for labelling cooking techniques (F1 score = 0.88) and utensils (F1 score = 0.90) within the instructions section. Finally, we determine the temporal sequence of relationships between ingredients, utensils and cooking techniques for modeling the instruction steps.

READ FULL TEXT

page 1

page 4

research
08/28/2023

ANER: Arabic and Arabizi Named Entity Recognition using Transformer-Based Approach

One of the main tasks of Natural Language Processing (NLP), is Named Ent...
research
04/26/2022

Named Entity Recognition for Audio De-Identification

Data anonymization is often a task carried out by humans. Automating it ...
research
12/21/2020

Domain specific BERT representation for Named Entity Recognition of lab protocol

Supervised models trained to predict properties from representations hav...
research
08/30/2022

NEAR: Named Entity and Attribute Recognition of clinical concepts

Named Entity Recognition (NER) or the extraction of concepts from clinic...
research
04/28/2022

HiNER: A Large Hindi Named Entity Recognition Dataset

Named Entity Recognition (NER) is a foundational NLP task that aims to p...
research
12/19/2019

Annotating and normalizing biomedical NEs with limited knowledge

Named entity recognition (NER) is the very first step in the linguistic ...
research
10/05/2022

Attention-based Ingredient Phrase Parser

As virtual personal assistants have now penetrated the consumer market, ...

Please sign up or login with your details

Forgot password? Click here to reset