Spaces:
Paused
Paused
Commit
•
e4c350f
1
Parent(s):
4afe3a5
strip the item
Browse files- audits/1718976061.csv +138 -0
- multi_food_item_detector.py +1 -1
audits/1718976061.csv
ADDED
@@ -0,0 +1,138 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
input_word,original_dictionary_word,new_dictionary_word
|
2 |
+
Flour white,"FLOUR, RICE, WHITE","FLOUR, RICE, WHITE"
|
3 |
+
Bread/Pastries,"Bread, cheese",
|
4 |
+
Bread and Pastries,"Bread, cheese",
|
5 |
+
Assorted Bread & Pastries,"Bread, cheese",
|
6 |
+
Pop Tarts and crackers,"Crackers, rice and nuts",
|
7 |
+
Chips & misc. snacks,"Snacks, popcorn, cakes",
|
8 |
+
Infused water,"Water, tap","Water, tap"
|
9 |
+
Assorted Albanese candies,"Candies, gumdrops, starch jelly pieces","Candies, gumdrops, starch jelly pieces"
|
10 |
+
Petroleum Jelly,Peanut oil,Non-Food Item
|
11 |
+
Pasta & Cereal,"Crackers, rice and nuts",
|
12 |
+
1/2 & 1/2,"Cream, half and half, fat free",
|
13 |
+
baking & toppings,Mixed Food Items,
|
14 |
+
Eggs & Potatoes,"Potato, french fries, NFS",Stewed potatoes
|
15 |
+
Graham snacks,Cereal or granola bar (Quaker Granola Bites),Graham crackers
|
16 |
+
Celery & Brats,"Pork, fresh, variety meats and by-products, liver, raw","Pork, fresh, variety meats and by-products, liver, raw"
|
17 |
+
assorted snacks/groceries,Assorted Groceries,Assorted Groceries
|
18 |
+
Candy and chocolate syrup,"Candy, NFS","Candy, NFS"
|
19 |
+
ceasar & ranch kits,"Salad dressing, caesar dressing, regular","Salad dressing, caesar dressing, regular"
|
20 |
+
bakery and tofurkey,Mixed Food Items,Mixed Food Items
|
21 |
+
lettce,"Lettuce, raw","Lettuce, raw"
|
22 |
+
one pallet misc groc,Mixed Food Items,Mixed Food Items
|
23 |
+
Food Storage Bags,Various Groceries,Various Groceries
|
24 |
+
juice cups,"Water, bottled, plain","Fruit juice, NFS"
|
25 |
+
speghetti,"Pasta, cooked","Pasta, cooked"
|
26 |
+
misc. drinks,"Beverages, Mixed vegetable and fruit juice drink, with added nutrients","Beverages, Mixed vegetable and fruit juice drink, with added nutrients"
|
27 |
+
meat and pet,"Meat, NFS","Meat, NFS"
|
28 |
+
relcaimed merchandise,Assorted Consumables,Non-Food Item
|
29 |
+
easter baskets,Grocery Items,Grocery Items
|
30 |
+
misc bev,Mixed Food Items,Non-Food Item
|
31 |
+
perishables&meat,Mixed Food Items,Mixed Food Items
|
32 |
+
brk.breads,"Bread, wheat","Bread, wheat"
|
33 |
+
assorted groc.,Assorted Edible Items,Assorted Foods
|
34 |
+
snacks & canned vegs.,"Crackers, saltines (includes oyster, soda, soup)","Crackers, saltines (includes oyster, soda, soup)"
|
35 |
+
drinks & medical,Fruit flavored drink,
|
36 |
+
potato and macaroni salads,"Potato salad, home-prepared","Potato salad, home-prepared"
|
37 |
+
Jumpstart,Non-Food Item,Non-Food Item
|
38 |
+
Food & Non Food,Non-Food Item,Non-Food Item
|
39 |
+
c rackers,"Crackers, standard snack-type, regular, low salt","Crackers, standard snack-type, regular, low salt"
|
40 |
+
misc. groc,Assorted Groceries,Assorted Groceries
|
41 |
+
pound cake,"Cake, pound","Cake, pound"
|
42 |
+
Juice & Tea,"Tea, hot, herbal","Tea, hot, herbal"
|
43 |
+
bean & rice meals,"Rice, white, long-grain, regular, raw, enriched","Rice, white, long-grain, regular, raw, enriched"
|
44 |
+
oatmeat,"Oatmeal, NFS","Oatmeal, NFS"
|
45 |
+
creamer misc groc.,Misc Grocery,"Coffee creamer, NFS"
|
46 |
+
Plant Based Burger,Hamburger (Burger King),Hamburger (Burger King)
|
47 |
+
Food & Non Food Items,Non-Food Item,Non-Food Item
|
48 |
+
miscs breads and sweets,"Bread, wheat","Bread, wheat"
|
49 |
+
fruit&yogurt snacks,"Snacks, candy rolls, yogurt-covered, fruit flavored with high vitamin C","Snacks, candy rolls, yogurt-covered, fruit flavored with high vitamin C"
|
50 |
+
snapple drinks,"Beverages, tea, instant, unsweetened, prepared with water","Beverages, tea, instant, unsweetened, prepared with water"
|
51 |
+
coconut nectar,Banana nectar,
|
52 |
+
Breakfast Breads & Misc Plant Based,"Bread, oatmeal, toasted","Bread, oatmeal, toasted"
|
53 |
+
fabulosa,Non-Food Item,Non-Food Item
|
54 |
+
fruit snacks cin. rolls,"Snacks, fruit leather, rolls","Snacks, fruit leather, rolls"
|
55 |
+
Mayo & Aioli,"Mayonnaise, regular","Mayonnaise, regular"
|
56 |
+
assortd snacks,"Nuts, mixed nuts, oil roasted, without peanuts, lightly salted",Assorted Foods
|
57 |
+
Fresh Broccoli,"Broccoli, raw","Broccoli, raw"
|
58 |
+
popcorn and stuffing,Mixed Food Items,Mixed Food Items
|
59 |
+
Boston Baked Beans w,Baked beans,Baked beans
|
60 |
+
sauces-meat,"Sauce, NFS","Sauce, NFS"
|
61 |
+
alredo & pesto,Pesto sauce,Pesto sauce
|
62 |
+
chocolate candy bars,"Candy, NFS","Candy, NFS"
|
63 |
+
Food & Non-Food,Mixed Food Items,Mixed Food Items
|
64 |
+
Storage Bags,Non-Food Item,Non-Food Item
|
65 |
+
"Bread, yeast-leavened, dough, unenriched","Cookie, batter or dough, raw",
|
66 |
+
kombucha drinks,"Tea, kombucha","Tea, kombucha"
|
67 |
+
nutella,Chocolate-flavored hazelnut spread,Chocolate-flavored hazelnut spread
|
68 |
+
Frozen Entrée,"Frozen dinner, NFS","Frozen dinner, NFS"
|
69 |
+
Fresh Vegetables-Asparagus,"Asparagus, raw","Asparagus, raw"
|
70 |
+
Sparkling & Mineral,"Water, carbonated, plain","Water, carbonated, plain"
|
71 |
+
canned fruit/vegs,Candied fruit,"Mixed Vegetables, canned"
|
72 |
+
snacks and paper,"Snacks, popcorn, cakes",Non-Food Item
|
73 |
+
Bananas & Crepes,"Crepe, fruit filled","Crepe, fruit filled"
|
74 |
+
Doesn't exist in the USDA database,USDA Food Item,Non-Food Item
|
75 |
+
Hydration Powder Mix,Nutritional powder mix (Kellogg's Special K20 Protein Water),Nutritional powder mix (Kellogg's Special K20 Protein Water)
|
76 |
+
coffemate,"Beverages, coffee, brewed, prepared with tap water",Non-Food Item
|
77 |
+
pb cups candy,"Candies, REESE'S Peanut Butter Cups","Candies, REESE'S Peanut Butter Cups"
|
78 |
+
Baby Cereal,"Baby Toddler cereal, NFS","Baby Toddler cereal, NFS"
|
79 |
+
coffeemate,"Coffee, Cafe Mocha","Beverages, coffee, instant, mocha, sweetened"
|
80 |
+
MRE's & Adult Diapers,Non-Food Item,Non-Food Item
|
81 |
+
hebs,"Spices, basil, dried",Non-Food Item
|
82 |
+
misc groc/drinks,Misc Grocery,Misc Grocery
|
83 |
+
babyfood/vitamins,"Babyfood, cookie, baby, fruit",
|
84 |
+
misc dry,Mixed Food Items,Misc Items
|
85 |
+
yogert,"Yogurt, plain, whole milk","Yogurt, plain, whole milk"
|
86 |
+
fabulosa cleaner,Non-Food Item,Non-Food Item
|
87 |
+
Rice-a-Roni,"Rice, white, medium-grain, enriched, cooked","Rice, white, medium-grain, enriched, cooked"
|
88 |
+
PROPERL,"Pineapple, raw","Pineapple, raw"
|
89 |
+
GAORADE,"Sports drink, low calorie (Gatorade G2)","Sports drink, low calorie (Gatorade G2)"
|
90 |
+
milk and juice,Mixed Food Items,Mixed Food Items
|
91 |
+
Assorted Food & Non Food,Non-Food Item,Non-Food Item
|
92 |
+
Office Chair,Non-Food Item,Non-Food Item
|
93 |
+
takis,"Potato chips, NFS",Non-Food Item
|
94 |
+
Misc Food & Non Food,Mixed Food Items,Mixed Food Items
|
95 |
+
disinfectant spray,Non-Food Item,Non-Food Item
|
96 |
+
berreis,"Babyfood, cereal, rice, with bananas, dry","Babyfood, cereal, rice, with bananas, dry"
|
97 |
+
Misc Meat & SeafoodMisc Non Food,Misc Meat,Mixed Food Items
|
98 |
+
plant base meat,Hamburger (Burger King),Hamburger (Burger King)
|
99 |
+
yogurat,"Yogurt, NFS","Yogurt, NFS"
|
100 |
+
dairy and pet,Mixed Food Items,Mixed Food Items
|
101 |
+
prosciutto & mozzarella packets,"Ham, prosciutto","Ham, prosciutto"
|
102 |
+
creamr,"Coffee creamer, NFS",Non-Food Item
|
103 |
+
beef base,Beef jerky,Beef jerky
|
104 |
+
past,"Pastrami, NFS","Pastrami, NFS"
|
105 |
+
p.hygiene,Non-Food Item,Non-Food Item
|
106 |
+
KEO probiotic Kombucha,"Tea, kombucha","Tea, kombucha"
|
107 |
+
"lettuce,","Lettuce, raw","Lettuce, raw"
|
108 |
+
misc groc/dairy,Misc Grocery,Misc Grocery
|
109 |
+
assorted meals,Assorted Foods,Assorted Foods
|
110 |
+
mac&cheese,Macaroni or noodles with cheese,Macaroni or noodles with cheese
|
111 |
+
mashed sweet potatoes,"Potato, mashed, NFS","Potato, mashed, NFS"
|
112 |
+
candy baskets,"Candies, chocolate, dark, NFS (45-59% cacao solids 90%; 60-69% cacao solids 5%; 70-85% cacao solids 5%)","Candies, chocolate, dark, NFS (45-59% cacao solids 90%; 60-69% cacao solids 5%; 70-85% cacao solids 5%)"
|
113 |
+
misc bev.,Mixed Food Items,Mixed Food Items
|
114 |
+
assorted meats & breads,Assorted Foods,Assorted Edible Items
|
115 |
+
"mac & cheese, rice",Macaroni or noodles with cheese,Macaroni or noodles with cheese
|
116 |
+
soy casseroles,Beef and rice with gravy,Beef and rice with gravy
|
117 |
+
chopped candy pcs.,"Candies, milk chocolate, with almonds","Candies, milk chocolate, with almonds"
|
118 |
+
waffe mix,"Waffles, plain, frozen, ready-to-heat","Waffles, plain, frozen, ready-to-heat"
|
119 |
+
nuts and popcorn,"Crackers, rice and nuts","Crackers, rice and nuts"
|
120 |
+
letuce,"Lettuce, raw","Lettuce, raw"
|
121 |
+
canned vegs & fruit,"Mixed Vegetables, canned","Mixed Vegetables, canned"
|
122 |
+
hot choc mix,"Beverages, rich chocolate, powder","Beverages, rich chocolate, powder"
|
123 |
+
fruit trays,Non-Food Item,Non-Food Item
|
124 |
+
root beer & black cherry soft drinks,"Soft drink, root beer","Soft drink, root beer"
|
125 |
+
person hygiene,Non-Food Item,Non-Food Item
|
126 |
+
misc grocery & snack items,Assorted Groceries,Assorted Groceries
|
127 |
+
pork/beef roasts,"Beef, roast","Beef, roast"
|
128 |
+
rice/veg.,Beans and white rice,Rice pilaf
|
129 |
+
lenonade,"Water, non-carbonated, bottles, natural fruit flavors, sweetened with low calorie sweetener",Non-Food Item
|
130 |
+
misc beads and sweets,Mixed Food Items,Mixed Food Items
|
131 |
+
ice cream cones and sandwiches,"Ice cream cones, cake or wafer-type","Ice cream cones, cake or wafer-type"
|
132 |
+
sausage bisquit sandwiches,Sausage biscuit sandwich,Sausage biscuit sandwich
|
133 |
+
groceries and water,Assorted Groceries,Assorted Groceries
|
134 |
+
breakfast protien drink,"Beverages, Protein powder whey based","Beverages, Protein powder whey based"
|
135 |
+
misc gro. milk,"Non-dairy milk, NFS","Non-dairy milk, NFS"
|
136 |
+
crackes,"Crackers, standard snack-type, regular, low salt","Crackers, standard snack-type, regular, low salt"
|
137 |
+
canned GB & corn,"Corn, canned, cooked with oil","Corn, canned, cooked with oil"
|
138 |
+
chli spicey sauce,"Salsa, pico de gallo","Salsa, pico de gallo"
|
multi_food_item_detector.py
CHANGED
@@ -80,5 +80,5 @@ def extract_items(text):
|
|
80 |
else:
|
81 |
items = text.split(delimiter)
|
82 |
# remove empty strings
|
83 |
-
items = [item for item in items if item]
|
84 |
return items
|
|
|
80 |
else:
|
81 |
items = text.split(delimiter)
|
82 |
# remove empty strings
|
83 |
+
items = [item.strip() for item in items if item]
|
84 |
return items
|