File size: 4,256 Bytes
192398a
43757c9
192398a
 
 
 
 
 
 
 
 
 
 
 
 
2afa51a
 
 
192398a
 
2e643b4
192398a
a6f1a1a
 
 
 
 
 
 
 
 
 
 
 
 
43757c9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a6f1a1a
 
 
 
 
 
 
 
43757c9
 
 
 
 
 
 
 
 
192398a
 
2e643b4
192398a
a6f1a1a
43757c9
 
 
 
192398a
 
2e643b4
192398a
a6f1a1a
 
 
43757c9
 
 
 
 
a6f1a1a
cf9144b
192398a
 
2e643b4
192398a
a6f1a1a
 
 
 
192398a
 
2e643b4
192398a
4b06e54
2e643b4
192398a
d5c0ea1
 
2e643b4
d5c0ea1
 
 
2e643b4
192398a
 
d5c0ea1
192398a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# ============================================================
# 🧠 ENTITY DICTIONARY — MAURITIUS CONTEXT
# ============================================================

ENTITY_DICTIONARY = {

    "DISTRICT": [
        "Port Louis", "Pamplemousses", "Riviere du Rempart",
        "Flacq", "Grand Port", "Savanne", "Moka",
        "Plaines Wilhems", "Riviere Noire", "Black River"
    ],

    "CITY": [
        "Curepipe", "Vacoas", "Quatre Bornes",
        "Beau Bassin", "Rose Hill", "Ebene", "Phoenix",
        "Goodlands", "Grand Baie", "Mahebourg",
        "Flic en Flac", "Tamarin", "Bel Air",
        "Roche Bois", "Piton", "Triolet"
    ],


    "VILLAGE": [
        "Albion", "Amaury", "Amitie-Gokhoola", "Arsenal",
        "Baie du Tombeau", "Baie du Cap", "Bambous",
        "Bambous Virieux", "Bananes", "Beau Vallon",
        "Bel Air Riviere Seche", "Bel Ombre",
        "Belle Vue Maurel", "Benares", "Bois Cheri",
        "Bois des Amourettes", "Bon Accueil", "Bramsthan",
        "Brisee Verdiere", "Britannia", "Calebasses",
        "Camp Carol", "Camp de Masque",
        "Camp de Masque Pave", "Camp Diable",
        "Camp Ithier", "Camp Thorel", "Cap Malheureux",
        "Cascavelle", "Case Noyale", "Centre de Flacq",
        "Chamarel", "Chamouny", "Chemin Grenier",
        "Clemencia", "Cluny", "Congomah", "Cottage",
        "Creve Coeur", "D'Epinay", "Dagotier", "Dubreuil",
        "Ecroignard", "Esperance", "Esperance Trebuchet",
        "Fond du Sac", "Grand Bel Air", "Grand Bois",
        "Grand Gaube", "Grand River South East",
        "Grand Sable", "Grande Retraite",
        "Grande Riviere Noire", "Gros Cailloux",
        "L'Avenir", "L'Escalier", "La Flora",
        "La Gaulette", "La Laura-Malenga", "Lallmatie",
        "Laventure", "Le Hochet", "Le Morne",
        "Long Mountain", "Mapou", "Mare d'Albert",
        "Mare La Chaux", "Mare Tabac", "Medine",
        "Melrose", "Midlands", "Montagne Blanche",
        "Morcellement St. Andre", "New Grove",
        "Notre Dame", "Nouvelle Decouverte",
        "Nouvelle France", "Old Grand Port", "Olivia",
        "Petit Bel Air", "Petit Raffray",
        "Plaine des Papayes", "Plaine des Roches",
        "Plaine Magnien", "Pointe aux Piments",
        "Poste de Flacq", "Poudre d'Or",
        "Poudre d'Or Hamlet", "Providence",
        "Quartier Militaire", "Quatre Cocos",
        "Quatre Soeurs", "Queen Victoria",
        "Richelieu", "Ripailles",
        "Riviere des Anguilles", "Riviere des Creoles",
        "Riviere du Poste", "Roches Noires",
        "Roche Terre", "Rose Belle", "Sebastopol",
        "Seizieme Mille", "Souillac", "St Aubin",
        "St Hubert", "St Julien", "St Julien D'Hotman",
        "St Pierre", "Surinam", "Terre Rouge",
        "The Vale", "Trois Boutiques",
        "Trou aux Biches", "Trou d'Eau Douce",
        "Tyack", "Union Park", "Verdun", "Ville Bague"
    ],


    "LANDMARK": [
        "Bagatelle", "Caudan Waterfront", "Le Caudan",
        "Ebene Cybercity", "Mont Choisy", "Chamarel",
        "Le Morne", "Blue Bay", "La Cambuse",
        "Ile aux Cerfs", "Reduit", "SSR Airport",
        "Plaisance", "Cascavelle", "Medine"
    ],


    "PERSON": [
        "Amit", "Vikash", "Rishi", "Kiran", "Anil",
        "Sanjay", "Rakesh", "Nikhil", "Kavita",
        "Reena", "Meera", "Neha", "Pooja", "Sunil",
        "Aisha", "Fatima", "Farah", "Yusuf", "Imran",
        "Suleman", "Nazim", "Sofia", "Anwar", "Shabana",
        "Jean", "Marie", "Patrick", "Stephan",
        "Yannick", "Joel", "Denis", "Kevin",
        "Christelle", "Nathalie",
        "Ramesh", "Champa", "Babita", "Kamal",
        "Sonu", "Guddu","Sidharth"
    ],


    "PRODUCT": [
        "Honda Fit", "Honda Vezel", "Suzuki Swift",
        "Toyota Aqua", "Toyota Vitz", "Nissan Note",
        "Mazda Axela", "iPhone", "Samsung",
        "OnePlus", "Pixel", "Redmi"
    ],


    "REGEX_PATTERNS": {
        "TIME": r"\b\d{1,2}(?::\d{2})?\s?(?:am|pm)\b",

        "DATE": r"\b\d{1,2}[\/\-.]\d{1,2}[\/\-.]\d{2,4}\b",
    
        "MONEY": r"\b(?:Rs|rs|RS)\s?\d+(?:,\d{3})*\b",

        "PHONE": r"\b\d{8}\b",
    
        "NUMBER": r"\b\d+(?:,\d{3})*(?:\.\d+)?\b",

        "EMAIL": r"[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}"
    }

}