feat(tagger): add BBQ cuisine inference signals for tag_inferrer
food.com rarely tags BBQ in its own taxonomy fields, so BBQ recipes were previously untagged. Added content-derived signals (brisket, pulled pork, dry rub, regional styles) so infer_recipe_tags.py correctly tags them as cuisine:BBQ. Companion to the browser_domains.py BBQ keyword expansion.
This commit is contained in:
parent
7a7eae4666
commit
a507deddbf
1 changed files with 9 additions and 0 deletions
|
|
@ -68,6 +68,15 @@ _CUISINE_SIGNALS: list[tuple[str, list[str]]] = [
|
|||
("cuisine:Cajun", ["cajun", "creole", "gumbo", "jambalaya", "andouille", "etouffee"]),
|
||||
("cuisine:African", ["injera", "berbere", "jollof", "suya", "egusi", "fufu", "tagine"]),
|
||||
("cuisine:Caribbean", ["jerk", "scotch bonnet", "callaloo", "ackee"]),
|
||||
# BBQ detection: match on title terms and key ingredients; these rarely appear
|
||||
# in food.com's own keyword/category taxonomy so we derive the tag from content.
|
||||
("cuisine:BBQ", ["brisket", "pulled pork", "spare ribs", "baby back ribs",
|
||||
"baby back", "burnt ends", "pit smoked", "smoke ring",
|
||||
"low and slow", "hickory", "mesquite", "liquid smoke",
|
||||
"bbq brisket", "smoked brisket", "barbecue brisket",
|
||||
"carolina bbq", "texas bbq", "kansas city bbq",
|
||||
"memphis bbq", "smoked ribs", "smoked pulled pork",
|
||||
"dry rub ribs", "wet rub ribs", "beer can chicken smoked"]),
|
||||
]
|
||||
|
||||
_DIETARY_SIGNALS: list[tuple[str, list[str]]] = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue