Parses a raw ingredient string into structured data.
Extracts quantity, unit, name, and optional note from strings like "2 cups flour (for the sauce)". Parenthetical content is extracted as a note before cleaning the ingredient name.
Raw ingredient string from scraper
Patterns for ingredients to skip
Parsed ingredient or failure with original string
Parses a raw ingredient string into structured data.
Extracts quantity, unit, name, and optional note from strings like "2 cups flour (for the sauce)". Parenthetical content is extracted as a note before cleaning the ingredient name.