Mohssinibra commited on
Commit
3f0375d
·
verified ·
1 Parent(s): 8dc5e68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -75,7 +75,7 @@ def classify_topic_by_keywords(text, language='ar'):
75
  # Arabic keywords for each topic
76
  arabic_keywords = {
77
  "Customer Service": ["خدمة", "استفسار", "مساعدة", "دعم", "سؤال", "استفسار"],
78
- "Retention Service": ["نوقف", "تجديد", "خصم", "عرض", "نحي"],
79
  "Billing Issue": ["فاتورة", "دفع", "مشكلة", "خطأ", "مبلغ"],
80
  "Other": ["شيء آخر", "غير ذلك", "أخرى"]
81
  }
@@ -83,7 +83,7 @@ def classify_topic_by_keywords(text, language='ar'):
83
  # English keywords for each topic
84
  english_keywords = {
85
  "Customer Service": ["service", "inquiry", "help", "support", "question", "assistance"],
86
- "Retention Service": ["retain", "cut", "discount", "stopped", "promotion","stop"],
87
  "Billing Issue": ["bill", "payment", "problem", "error", "amount"],
88
  "Other": ["other", "none of the above", "something else"]
89
  }
 
75
  # Arabic keywords for each topic
76
  arabic_keywords = {
77
  "Customer Service": ["خدمة", "استفسار", "مساعدة", "دعم", "سؤال", "استفسار"],
78
+ "résiliation Service": ["نوقف", "تجديد", "خصم", "عرض", "نحي"],
79
  "Billing Issue": ["فاتورة", "دفع", "مشكلة", "خطأ", "مبلغ"],
80
  "Other": ["شيء آخر", "غير ذلك", "أخرى"]
81
  }
 
83
  # English keywords for each topic
84
  english_keywords = {
85
  "Customer Service": ["service", "inquiry", "help", "support", "question", "assistance"],
86
+ "résiliation Service": ["retain", "cut", "discount", "stopped", "promotion","stop"],
87
  "Billing Issue": ["bill", "payment", "problem", "error", "amount"],
88
  "Other": ["other", "none of the above", "something else"]
89
  }