omerfsahan commited on
Commit
aa76813
·
verified ·
1 Parent(s): 4f5eb26

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +78 -15
README.md CHANGED
@@ -1,3 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  # Restaurant Menu Ingredient & EU Allergen Dataset
2
 
3
  This dataset was created to support the development of **machine learning models and restaurant software systems for detecting the 14 EU food allergens from recipe ingredients**.
@@ -6,15 +78,15 @@ This dataset was created to support the development of **machine learning models
6
 
7
  The dataset is primarily derived from **RecipeNLG**, a large-scale collection containing approximately **2.3 million recipes**.
8
 
9
- A restaurant-oriented subset was selected from this collection. The selection was designed to represent a wide variety of menu items, including main dishes, soups, salads, appetizers, mezze, desserts, bakery products, breads, pasta and noodles, meat and poultry dishes, fish and seafood, vegetarian and vegan dishes, breakfast foods, sauces, snacks, and beverages.
10
 
11
- Duplicate or highly similar recipes were reduced where appropriate. Menu item names that were unsuitable for general restaurant use were also reviewed, cleaned, renamed, or removed.
12
 
13
  ## Data Preparation
14
 
15
  The original RecipeNLG ingredient descriptions often contain quantities, measurement units, package sizes, and preparation instructions.
16
 
17
- A Gemini-based ingredient extraction pipeline was used to convert these raw ingredient descriptions into cleaner ingredient identities.
18
 
19
  For example:
20
 
@@ -24,7 +96,7 @@ becomes:
24
 
25
  `cheddar cheese`
26
 
27
- The extraction process was designed to preserve the actual ingredient identity while separating:
28
 
29
  - Main ingredients
30
  - Optional ingredients
@@ -32,18 +104,9 @@ The extraction process was designed to preserve the actual ingredient identity w
32
 
33
  After ingredient cleaning, an initial allergen detection stage was performed using a deterministic **NLP / regex-based rule system**.
34
 
35
- The rule system considered both direct allergen ingredients and established compound foods such as:
36
-
37
- - Soy sauce
38
- - Mayonnaise
39
- - Hummus
40
- - Tahini
41
- - Pesto
42
- - Worcestershire sauce
43
- - Oyster sauce
44
- - Fish sauce
45
 
46
- False-positive cases were also handled, such as coconut milk, oyster mushrooms, eggplant, nutmeg, and other potentially misleading ingredient names.
47
 
48
  ## Final Allergen Audit
49
 
 
1
+ ---
2
+ license: other
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - text-classification
7
+ size_categories:
8
+ - 10K<n<100K
9
+ pretty_name: Restaurant Menu Ingredient & EU Allergen Dataset
10
+ tags:
11
+ - food
12
+ - food-allergens
13
+ - allergens
14
+ - allergen-detection
15
+ - allergen-classification
16
+ - eu-allergens
17
+ - eu-14-allergens
18
+ - food-allergy
19
+ - food-safety
20
+ - restaurant
21
+ - restaurant-menu
22
+ - restaurant-data
23
+ - menu
24
+ - menu-analysis
25
+ - menu-intelligence
26
+ - recipes
27
+ - recipe-dataset
28
+ - recipenlg
29
+ - ingredients
30
+ - ingredient-extraction
31
+ - ingredient-normalization
32
+ - ingredient-understanding
33
+ - food-ingredients
34
+ - culinary
35
+ - culinary-nlp
36
+ - food-nlp
37
+ - nlp
38
+ - text-classification
39
+ - multi-label
40
+ - multi-label-classification
41
+ - machine-learning
42
+ - artificial-intelligence
43
+ - llm
44
+ - gemini
45
+ - gemini-3.5-flash
46
+ - data-cleaning
47
+ - data-curation
48
+ - data-validation
49
+ - rule-based
50
+ - regex
51
+ - gluten
52
+ - milk
53
+ - eggs
54
+ - soy
55
+ - peanuts
56
+ - tree-nuts
57
+ - sesame
58
+ - mustard
59
+ - celery
60
+ - sulphites
61
+ - fish
62
+ - crustaceans
63
+ - molluscs
64
+ - lupin
65
+ - vegan
66
+ - vegetarian
67
+ - seafood
68
+ - food-tech
69
+ - restaurant-tech
70
+ - menu-ai
71
+ ---
72
+
73
  # Restaurant Menu Ingredient & EU Allergen Dataset
74
 
75
  This dataset was created to support the development of **machine learning models and restaurant software systems for detecting the 14 EU food allergens from recipe ingredients**.
 
78
 
79
  The dataset is primarily derived from **RecipeNLG**, a large-scale collection containing approximately **2.3 million recipes**.
80
 
81
+ A restaurant-oriented subset was selected to represent a wide range of menu items, including main dishes, soups, salads, appetizers, mezze, desserts, bakery products, breads, pasta and noodles, meat and poultry dishes, fish and seafood, vegetarian and vegan dishes, breakfast foods, sauces, snacks, and beverages.
82
 
83
+ Duplicate or highly similar recipes were reduced where appropriate. Menu item names unsuitable for general restaurant use were also reviewed, cleaned, renamed, or removed.
84
 
85
  ## Data Preparation
86
 
87
  The original RecipeNLG ingredient descriptions often contain quantities, measurement units, package sizes, and preparation instructions.
88
 
89
+ A Gemini-based ingredient extraction pipeline was used to convert raw ingredient descriptions into cleaner ingredient identities.
90
 
91
  For example:
92
 
 
96
 
97
  `cheddar cheese`
98
 
99
+ The extraction process preserves the actual ingredient identity while separating:
100
 
101
  - Main ingredients
102
  - Optional ingredients
 
104
 
105
  After ingredient cleaning, an initial allergen detection stage was performed using a deterministic **NLP / regex-based rule system**.
106
 
107
+ The system considered direct allergen ingredients as well as established compound foods such as soy sauce, mayonnaise, hummus, tahini, pesto, Worcestershire sauce, oyster sauce, and fish sauce.
 
 
 
 
 
 
 
 
 
108
 
109
+ False-positive cases such as coconut milk, oyster mushrooms, eggplant, and nutmeg were also considered.
110
 
111
  ## Final Allergen Audit
112