Files
lc_stylist_agent/app/taxonomy.py

94 lines
2.9 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 这个文件用来储存所有的category和occasion这是标准文件。
OCCASION = [
"Casual", "Formal", "Activewear", "Resort", "Evening", "Outdoor",
"Business / workwear", "Cocktail / Semi-Formal", "Black Tie / White Tie",
"Bridal / Wedding", "Festival / Concert", "Party / Clubbing",
"Travel / Transit", "Athleisure", "Beach / Swim", "Ski / Snow / Mountain",
"Garden Party / Daytime Event"
]
FASHION_TAXONOMY = {
'clothing': [
# --- Tops ---
't-shirts', # T恤
'shirts', # 衬衫 (泛指梭织)
'blouses', # 女式衬衫
'polo shirts', # Polo衫
'tank tops', # 背心/坎肩
'camisoles', # 吊带背心
# --- Knits/Sweaters ---
'sweaters', # 毛衣 (泛指)
'cardigans', # 开衫
'pullovers', # 套头衫
'hoodies', # 连帽衫
'sweatshirts', # 圆领卫衣
'vests', # 马甲/背心 (外穿)
# --- Outerwear ---
'coats', # 大衣 (长款)
'jackets', # 夹克 (短款)
'blazers', # 西装外套
# --- Bottoms ---
'jeans', # 牛仔裤 (虽是材质,但在时尚界视为独立大类)
'trousers', # 西裤/正装长裤
'pants', # 长裤 (泛指休闲)
'joggers', # 束脚裤
'leggings', # 打底裤/紧身裤
'shorts', # 短裤
'skirts', # 半身裙
'skorts', # 裙裤
# --- One-Piece ---
'dresses', # 连衣裙
'jumpsuits', # 连体长裤
'bodysuits', # 连体紧身衣
'suits', # 套装 (西装套)
# --- Intimates/Swim ---
'bras', # 文胸
'underwear', # 内衣
'lingerie', # 性感内衣
'pajamas', # 睡衣套装
'swimwear', # 泳装
],
'shoes': [
'sneakers',
'formal shoes',
'heels',
'flats',
'sandals',
'slides',
'boots',
],
'bags': [
'shoulder bags',
'crossbody',
'bucket bags',
'tote bags',
'clutch bags',
'backpacks',
'travel bags',
'luggage',
],
'accessories': [
# --- Jewelry & Watches ---
'necklaces',
'earrings',
'bracelets',
'rings',
'cufflinks',
'watches',
# --- Head/Face ---
'hats',
'eyewear',
# --- Body/Textile ---
'belts',
'scarves',
'gloves',
'ties',
'bow ties',
'pocket squares',
'socks',
]
}
CATEGORY_LIST = list(FASHION_TAXONOMY.keys())
ALL_SUBCATEGORY_LIST = sum(FASHION_TAXONOMY.values(), [])
IGNORE_SUBCATEGORY = ['socks']