Skip to content

Commit e0f1eaf

Browse files
JiroMusikclaude
andcommitted
Add cremefine, kondensmilch, butterschmalz to Kühlregal category
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7294a63 commit e0f1eaf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/utils/categories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const mapCategory = (rawCategory: string, productName: string): string =>
88
// Tiefkühl (hat Vorrang vor Fleisch/Fisch)
99
if (text.match(/frozen|tiefkühl|tiefgefroren|tk[ -]|ice cream|eis am stiel|pizza.*frozen|iglo|frosta|bofrost|gefrier|golden longs|rösti.*stäbchen/)) return 'Tiefkühl';
1010
// Kühlregal
11-
if (text.match(/dairy|milk|cheese|yogurt|milch|käse|joghurt|butter|cream|sahne|quark|schmand|skyr|frischkäse|aufschnitt|aufstrich|margarine|\bei\b|eier|creme fraiche|mascarpone|ricotta|mozzarella|grana padano|parmesan|kochsahne|vollmilch|creme fine|creme legere|schmetten|sauerrahm|topfen|hüttenkäse|philadelphia|bresso/)) return 'Kühlregal';
11+
if (text.match(/dairy|milk|cheese|yogurt|milch|käse|joghurt|butter|cream|sahne|quark|schmand|skyr|frischkäse|aufschnitt|aufstrich|margarine|\bei\b|eier|creme fraiche|mascarpone|ricotta|mozzarella|grana padano|parmesan|kochsahne|vollmilch|creme fine|creme legere|cremefine|schmetten|sauerrahm|topfen|hüttenkäse|philadelphia|bresso|kondensmilch|butterschmalz/)) return 'Kühlregal';
1212
// Fleisch & Fisch (nach Gewürze — damit "Rinder Bouillon" nicht hier landet)
1313
if (text.match(/meat|poultry|beef|pork|chicken|fleisch|hähnchen|wurst|würstchen|dörffler|schinken|salami|lachs|thunfisch|garnele|hack\b|rind.*steak|rind.*filet|rind.*roast|schwein|pute|truthahn|shrimp|pangasius|forelle|fish.*filet|fisch.*stäbchen/)) return 'Fleisch & Fisch';
1414
// Backwaren

0 commit comments

Comments
 (0)