DEV Community

When Food meets AI: the Smart Recipe Project

Condé Nast Italy on July 20, 2020

Part 2. NER for all tastes: extracting information from cooking recipes In the previous articles, we constructed two label datasets to...
Collapse
 
josefroy profile image
Josef • Edited

Named Entity Recognition (NER) is carried out in two stages:

Entity Identification – detecting specific tokens or groups of tokens within a document.

Entity Categorization – assigning those entities to predefined classes.

In this project, instead of standard categories like Person, City, or Company, we introduced domain-specific ones: INGREDIENT, QUANTIFIER, and UNIT. This customization allows NER to effectively process recipe data.

Because NER can organize and classify large amounts of related information, it has broad applications across industries, including human resources, customer support, search and recommendation systems, and content classification, making it a versatile tool for extracting structured insights from unstructured text.

Collapse
 
yasmeen_noor_1249df495220 profile image
Yasmeen Noor

The Smart Recipe Project uses advanced Named Entity Recognition (NER) to extract structured data like ingredients and cooking times from unstructured recipe text, enabling smarter, AI-powered culinary tools. Techniques such as CRF, BiLSTM, and Flair NLP models are explored, with each offering unique strengths in accuracy and context understanding. As explained on Wikipedia, NER is widely used in natural language processing for entity classification and data extraction in various domains. This innovative application of machine learning bridges AI and gastronomy in a way that enhances both kitchen efficiency and user experience. Such intelligent systems could one day personalize recommendations like the olive garden menu based on your tastes.

Collapse
 
zeeshan_ali_4dff18eeaef16 profile image
zeeshan ali

The Named Entity Recognition (NER) process involves two main steps: first, identifying entities—whether individual tokens or groups of tokens—within a document, and second, classifying them into predefined categories. While traditional NER categories might include Person, City, or Company, in this task we designed custom categories tailored to the recipe domain: INGREDIENT, QUANTIFIER, and UNIT.

NER’s ability to efficiently group and classify large volumes of data based on shared attributes makes it a powerful NLP application. Beyond culinary applications, it is widely used across various business domains such as human resources, customer support, search and recommendation engines, and content classification, enabling smarter, more context-aware systems.

Collapse
 
firesubs_menu_e1591c370de profile image
Firesubs Menu • Edited

The Smart Recipe Project effectively uses Named Entity Recognition (NER) models like CRF and BiLSTM to extract ingredients, quantities, and preparation times, enhancing how recipes are understood by AI systems. As explained on Wikipedia, NER plays a vital role in natural language processing, enabling machines to interpret structured data from unstructured text efficiently. Similarly, the chik fila menu reflects intelligent organization by categorizing diverse food items for easy selection and personalized customer experiences.

Collapse
 
johan_smith_44df8af459875 profile image
Johan Smith • Edited

According to Wikipedia, Named Entity Recognition (NER) is a key natural language processing technique that identifies and classifies entities like ingredients, measurements, or times within text — widely used in AI-driven systems. The post effectively explores how CRF and BiLSTM models enhance recipe interpretation through contextual understanding. Similarly, the chiptle menu uses data-driven insights to optimize flavor combinations and create personalized, fresh dining experiences inspired by global culinary trends.