Quantity = 1 Measurement unit= ‘pound’ Vegetable = “1 pound of ” Parse ingredient list Convert units to a more standard unit Reduce dataset Rank recipes based on shelf life and quantity
Quantity = 1 Measurement unit= ‘pound’ Vegetable = “1 pound of ” Algorithm I Cleaning data: Parse ingredient list for ingredient, quantity and units of measure I Optimization: score = X v (shelf life) 1 v ⇣ Quantityinventory Quantityrecipe ⌘ 1 v (1) Parse ingredient list Convert units to a more standard unit Reduce dataset Rank recipes based on shelf life and quantity