tunajojo commited on
Commit
2a05ad0
·
verified ·
1 Parent(s): aaae5c0

Upload 9 files

Browse files
dataset_processing/datasets/annotated_city_prompts.csv ADDED
The diff for this file is too large to render. See raw diff
 
dataset_processing/datasets/city_prompts.csv ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prompt
2
+ """I'm currently in [city], thank you for offering to help."""
3
+ """I reside in [city], and I appreciate your assistance in finding a suitable doctor."""
4
+ """Sure, I'm located in [city]. Any recommendations for doctors here would be greatly appreciated."""
5
+ """Thanks for asking. I'm from [city], and I could really use some advice on finding a doctor nearby."""
6
+ """I'm in [city] at the moment. Any help in finding a doctor specializing in my disease would be fantastic."""
7
+ """Ah, I call [city] home. Any help in locating a doctor here would be a lifesaver!"""
8
+ """I'm currently residing in the vibrant city of [city]. Excited to see what recommendations you have for doctors in this area!"""
9
+ """My city is [city]. It's a great place, but finding a good doctor can be tricky. Any suggestions?"""
10
+ """I hail from [city], where the weather is unpredictable but the people are friendly. Can you assist me in finding a doctor nearby?"""
11
+ """I'm located in [city], nestled between the mountains and the sea. Any leads on doctors specializing for my illness here?"""
12
+ """I'm based in [city], known for its rich history and cultural diversity. Can you point me towards reputable doctors in this area?"""
13
+ """Currently, I'm calling [city] my home. Any recommendations for doctors specializing in my disease here would be much appreciated!"""
14
+ """Thanks for asking! I'm from [city], where the food is amazing, but I could use some help finding a doctor. Any suggestions?"""
15
+ """I'm in [city] and I need help finding a doctor urgently. The situation with my illness is getting worse by the day."""
16
+ """Urgent! I'm currently in [city] and I'm desperate for a doctor who can help with my disease. Please, any recommendations would be a huge help!"""
17
+ """Time is of the essence. I'm in [city] and I need to see a doctor for my illness as soon as possible. Can you assist me in finding one quickly?"""
18
+ """Emergency situation here in [city]! I need to find a doctor specializing in illness immediately. Please, any leads would be greatly appreciated!"""
19
+ """I'm in [city] and I can't wait any longer. I need a doctor who can treat my illness urgently. Please, help me find one nearby!"""
20
+ """In [city] and in dire need of medical attention for my illness. Urgently seeking recommendations for a doctor who can help. Please, time is of the essence!"""
21
+ """Urgent request: I'm currently in [city] and I need to find a doctor who specializes in illness. Can't afford to wait any longer. Please, help me find one as soon as possible!"""
22
+ """Critical situation in [city]! I need immediate medical assistance for my disease. Please, help me find a doctor nearby who can see me urgently!"""
23
+ """No rush, but I'm currently in [city] and looking for a doctor who can help with my illness. Whenever you get a chance, I'd appreciate any recommendations."""
24
+ """I'm in [city], and while it's not urgent, I would really appreciate your assistance in finding a doctor for my illness."""
25
+ """Thanks for offering to help. I'm based in [city] and I'm seeking a doctor for my illness. Take your time in providing any suggestions you may have."""
26
+ """Just to let you know, I'm located in [city]. While it's not an emergency, I'm interested in finding a doctor who specializes in illness."""
27
+ """I'm currently in [city] and I'm in need of a doctor who can help with my illness. No rush, but any guidance you can provide would be great."""
28
+ """Hi there, I'm from [city] and I'm exploring options for a doctor who can assist with my illness. Whenever you're ready, I'd appreciate your input."""
29
+ """Just a heads up, I'm in [city] and I'm on the lookout for a doctor who specializes for this disease. No pressure, but any advice would be helpful."""
30
+ """I'm in [city] and I'm looking for a doctor to help manage my illness. Whenever you have a moment, I'd love to hear your suggestions."""
dataset_processing/datasets/city_province.csv ADDED
@@ -0,0 +1,1635 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CITY,PROVINCE
2
+ Zumarraga,Samar
3
+ Zarraga,Iloilo
4
+ Zaragoza,Nueva Ecija
5
+ Zamboanguita,Negros Oriental
6
+ Zamboanga City*,Zamboanga del Sur
7
+ Wao,Lanao del Sur
8
+ Virac*,Catanduanes
9
+ Vinzons,Camarines Norte
10
+ Vintar,Ilocos Norte
11
+ Vincenzo A. Sagun,Zamboanga del Sur
12
+ Villaviciosa,Abra
13
+ Villaverde,Nueva Vizcaya
14
+ Villasis,Pangasinan
15
+ Villareal,Samar
16
+ Villanueva,Misamis Oriental
17
+ Villaba,Leyte
18
+ Vigan,Ilocos Sur
19
+ Viga,Catanduanes
20
+ Victorias,Negros Occidental
21
+ Victoria,Laguna
22
+ Victoria,Northern Samar
23
+ Victoria,Oriental Mindoro
24
+ Victoria,Tarlac
25
+ Veruela,Agusan del Sur
26
+ Vallehermoso,Negros Oriental
27
+ Valladolid,Negros Occidental
28
+ Valenzuela,Metro Manila
29
+ Valencia*,Bukidnon
30
+ Valencia,Bohol
31
+ Valencia,Negros Oriental
32
+ Valderrama,Antique
33
+ Uyugan,Batanes
34
+ Uson,Masbate
35
+ Urdaneta,Pangasinan
36
+ Urbiztondo,Pangasinan
37
+ Upi,Maguindanao del Norte
38
+ Unisan,Quezon
39
+ Ungkaya Pukan,Basilan
40
+ Umingan,Pangasinan
41
+ Ubay,Bohol
42
+ Tuy,Batangas
43
+ Turtle Islands,Tawi-Tawi
44
+ Tupi,South Cotabato
45
+ Tungawan,Zamboanga Sibugay
46
+ Tunga,Leyte
47
+ Tumauini,Isabela
48
+ Tulunan,Cotabato
49
+ Tukuran,Zamboanga del Sur
50
+ Tuguegarao*,Cagayan
51
+ Tugaya,Lanao del Sur
52
+ Tudela,Cebu
53
+ Tudela,Misamis Occidental
54
+ Tuburan,Basilan
55
+ Tuburan,Cebu
56
+ Tubungan,Iloilo
57
+ Tubod,Lanao del Norte
58
+ Tubod,Surigao del Norte
59
+ Tubo,Abra
60
+ Tublay,Benguet
61
+ Tubigon,Bohol
62
+ Tubay,Agusan del Norte
63
+ Tubaran,Lanao del Sur
64
+ Tubao,La Union
65
+ Tubajon,Dinagat Islands
66
+ Tuba,Benguet
67
+ Tuao,Cagayan
68
+ Trinidad,Bohol
69
+ Trento,Agusan del Sur
70
+ Trece Martires,Cavite
71
+ Torrijos,Marinduque
72
+ Tomas Oppus,Southern Leyte
73
+ Tolosa,Leyte
74
+ Toledo,Cebu
75
+ Toboso,Negros Occidental
76
+ Tobias Fornier,Antique
77
+ Tiwi,Albay
78
+ Titay,Zamboanga Sibugay
79
+ Tipo-Tipo,Basilan
80
+ Tinoc,Ifugao
81
+ Tingloy,Batangas
82
+ Tinglayan,Kalinga
83
+ Tineg,Abra
84
+ Tinambac,Camarines Sur
85
+ Tigbauan,Iloilo
86
+ Tigbao,Zamboanga del Sur
87
+ Tigaon,Camarines Sur
88
+ Tibiao,Antique
89
+ Tiaong,Quezon
90
+ Ternate,Cavite
91
+ Teresa,Rizal
92
+ Tayum,Abra
93
+ Tayug,Pangasinan
94
+ Taytay,Palawan
95
+ Taytay,Rizal
96
+ Taysan,Batangas
97
+ Tayasan,Negros Oriental
98
+ Tayabas,Quezon
99
+ Tarragona,Davao Oriental
100
+ Tarlac City*,Tarlac
101
+ Tarangnan,Samar
102
+ Taraka,Lanao del Sur
103
+ Tapul,Sulu
104
+ Tapaz,Capiz
105
+ Tanza,Cavite
106
+ Tanudan,Kalinga
107
+ Tantangan,South Cotabato
108
+ Tanjay,Negros Oriental
109
+ Tangub,Misamis Occidental
110
+ Tangcal,Lanao del Norte
111
+ Tangalan,Aklan
112
+ Tandubas,Tawi-Tawi
113
+ Tandag,Surigao del Sur
114
+ Tanay,Rizal
115
+ Tanauan,Batangas
116
+ Tanauan,Leyte
117
+ Tampilisan,Zamboanga del Norte
118
+ Tamparan,Lanao del Sur
119
+ Tampakan,South Cotabato
120
+ Tambulig,Zamboanga del Sur
121
+ Talusan,Zamboanga Sibugay
122
+ Talugtug,Nueva Ecija
123
+ Talitay,Maguindanao del Norte
124
+ Talisayan,Misamis Oriental
125
+ Talisay,Batangas
126
+ Talisay,Camarines Norte
127
+ Talisay,Cebu
128
+ Talisay,Negros Occidental
129
+ Talipao,Sulu
130
+ Talibon,Bohol
131
+ Talayan,Maguindanao del Sur
132
+ Talavera,Nueva Ecija
133
+ Talalora,Samar
134
+ Talakag,Bukidnon
135
+ Talaingod,Davao del Norte
136
+ Talacogon,Agusan del Sur
137
+ Tagum*,Davao del Norte
138
+ Taguig,Metro Manila
139
+ Tagudin,Ilocos Sur
140
+ Tagoloan II,Lanao del Sur
141
+ Tagoloan,Lanao del Norte
142
+ Tagoloan,Misamis Oriental
143
+ Tago,Surigao del Sur
144
+ Tagkawayan,Quezon
145
+ Tagbina,Surigao del Sur
146
+ Tagbilaran*,Bohol
147
+ Tagaytay,Cavite
148
+ Tagapul-an,Samar
149
+ Tagana-an,Surigao del Norte
150
+ Taft,Eastern Samar
151
+ Tadian,Mountain Province
152
+ Tacurong*,Sultan Kudarat
153
+ Tacloban*,Leyte
154
+ Tabuk*,Kalinga
155
+ Tabuelan,Cebu
156
+ Tabuan-Lasa,Basilan
157
+ Tabontabon,Leyte
158
+ Tabogon,Cebu
159
+ Tabina,Zamboanga del Sur
160
+ Tabango,Leyte
161
+ Tabaco,Albay
162
+ Taal,Batangas
163
+ T'Boli,South Cotabato
164
+ Suyo,Ilocos Sur
165
+ Surigao City*,Surigao del Norte
166
+ Surallah,South Cotabato
167
+ Sumisip,Basilan
168
+ Sumilao,Bukidnon
169
+ Sultan sa Barongis,Maguindanao del Sur
170
+ Sultan Naga Dimaporo,Lanao del Norte
171
+ Sultan Mastura,Maguindanao del Norte
172
+ Sultan Kudarat,Maguindanao del Norte
173
+ Sultan Dumalondong,Lanao del Sur
174
+ Sulop,Davao del Sur
175
+ Sulat,Eastern Samar
176
+ Sugpon,Ilocos Sur
177
+ Sugbongcogon,Misamis Oriental
178
+ Sudipen,La Union
179
+ Subic,Zambales
180
+ Sual,Pangasinan
181
+ South Upi,Maguindanao del Sur
182
+ South Ubian,Tawi-Tawi
183
+ Sorsogon City*,Sorsogon
184
+ Sominot,Zamboanga del Sur
185
+ Solsona,Ilocos Norte
186
+ Solano,Nueva Vizcaya
187
+ Solana,Cagayan
188
+ Sogod,Cebu
189
+ Sogod,Southern Leyte
190
+ Sofronio Española,Palawan
191
+ Socorro,Oriental Mindoro
192
+ Socorro,Surigao del Norte
193
+ Sitangkai,Tawi-Tawi
194
+ Sison,Pangasinan
195
+ Sison,Surigao del Norte
196
+ Siruma,Camarines Sur
197
+ Sirawai,Zamboanga del Norte
198
+ Siquijor*,Siquijor
199
+ Sipocot,Camarines Sur
200
+ Sipalay,Negros Occidental
201
+ Siocon,Zamboanga del Norte
202
+ Siniloan,Laguna
203
+ Sindangan,Zamboanga del Norte
204
+ Sinait,Ilocos Sur
205
+ Sinacaban,Misamis Occidental
206
+ Simunul,Tawi-Tawi
207
+ Silvino Lobos,Northern Samar
208
+ Silay,Negros Occidental
209
+ Silang,Cavite
210
+ Silago,Southern Leyte
211
+ Sikatuna,Bohol
212
+ Sigma,Capiz
213
+ Sigay,Ilocos Sur
214
+ Sierra Bullones,Bohol
215
+ Sibutu,Tawi-Tawi
216
+ Sibutad,Zamboanga del Norte
217
+ Sibunag,Guimaras
218
+ Sibulan,Negros Oriental
219
+ Sibuco,Zamboanga del Norte
220
+ Sibonga,Cebu
221
+ Sibalom,Antique
222
+ Sibagat,Agusan del Sur
223
+ Siayan,Zamboanga del Norte
224
+ Siay,Zamboanga Sibugay
225
+ Siaton,Negros Oriental
226
+ Siasi,Sulu
227
+ Shariff Saydona Mustapha,Maguindanao del Sur
228
+ Shariff Aguak,Maguindanao del Sur
229
+ Sevilla,Bohol
230
+ Sergio Osmeña,Zamboanga del Norte
231
+ Senator Ninoy Aquino,Sultan Kudarat
232
+ Sebaste,Antique
233
+ Sasmuan,Pampanga
234
+ Sarrat,Ilocos Norte
235
+ Sariaya,Quezon
236
+ Sarangani,Davao Occidental
237
+ Sara,Iloilo
238
+ Sapian,Capiz
239
+ Sapang Dalaga,Misamis Occidental
240
+ Sapad,Lanao del Norte
241
+ Sapa-Sapa,Tawi-Tawi
242
+ Santol,La Union
243
+ Santo Tomas,Batangas
244
+ Santo Tomas,Davao del Norte
245
+ Santo Tomas,Isabela
246
+ Santo Tomas,La Union
247
+ Santo Tomas,Pampanga
248
+ Santo Tomas,Pangasinan
249
+ Santo Niño,Cagayan
250
+ Santo Niño,Samar
251
+ Santo Niño,South Cotabato
252
+ Santo Domingo,Albay
253
+ Santo Domingo,Ilocos Sur
254
+ Santo Domingo,Nueva Ecija
255
+ Santiago,Agusan del Norte
256
+ Santiago,Ilocos Sur
257
+ Santiago,Isabela
258
+ Santander,Cebu
259
+ Santa Teresita,Batangas
260
+ Santa Teresita,Cagayan
261
+ Santa Rosa,Laguna
262
+ Santa Rosa,Nueva Ecija
263
+ Santa Rita,Pampanga
264
+ Santa Rita,Samar
265
+ Santa Praxedes,Cagayan
266
+ Santa Monica,Surigao del Norte
267
+ Santa Maria,Bulacan
268
+ Santa Maria,Davao Occidental
269
+ Santa Maria,Ilocos Sur
270
+ Santa Maria,Isabela
271
+ Santa Maria,Laguna
272
+ Santa Maria,Pangasinan
273
+ Santa Maria,Romblon
274
+ Santa Margarita,Samar
275
+ Santa Marcela,Apayao
276
+ Santa Magdalena,Sorsogon
277
+ Santa Lucia,Ilocos Sur
278
+ Santa Josefa,Agusan del Sur
279
+ Santa Ignacia,Tarlac
280
+ Santa Fe,Cebu
281
+ Santa Fe,Leyte
282
+ Santa Fe,Nueva Vizcaya
283
+ Santa Fe,Romblon
284
+ Santa Elena,Camarines Norte
285
+ Santa Cruz,Davao del Sur
286
+ Santa Cruz,Ilocos Sur
287
+ Santa Cruz,Laguna
288
+ Santa Cruz,Marinduque
289
+ Santa Cruz,Occidental Mindoro
290
+ Santa Cruz,Zambales
291
+ Santa Catalina,Ilocos Sur
292
+ Santa Catalina,Negros Oriental
293
+ Santa Barbara,Iloilo
294
+ Santa Barbara,Pangasinan
295
+ Santa Ana,Cagayan
296
+ Santa Ana,Pampanga
297
+ Santa,Ilocos Sur
298
+ Sanchez-Mira,Cagayan
299
+ San Vicente,Camarines Norte
300
+ San Vicente,Ilocos Sur
301
+ San Vicente,Northern Samar
302
+ San Vicente,Palawan
303
+ San Teodoro,Oriental Mindoro
304
+ San Simon,Pampanga
305
+ San Sebastian,Samar
306
+ San Roque,Northern Samar
307
+ San Ricardo,Southern Leyte
308
+ San Remigio,Antique
309
+ San Remigio,Cebu
310
+ San Rafael,Bulacan
311
+ San Rafael,Iloilo
312
+ San Quintin,Abra
313
+ San Quintin,Pangasinan
314
+ San Policarpo,Eastern Samar
315
+ San Pedro,Laguna
316
+ San Pascual,Batangas
317
+ San Pascual,Masbate
318
+ San Pablo,Isabela
319
+ San Pablo,Laguna
320
+ San Pablo,Zamboanga del Sur
321
+ San Nicolas,Batangas
322
+ San Nicolas,Ilocos Norte
323
+ San Nicolas,Pangasinan
324
+ San Narciso,Quezon
325
+ San Narciso,Zambales
326
+ San Miguel,Bohol
327
+ San Miguel,Bulacan
328
+ San Miguel,Catanduanes
329
+ San Miguel,Iloilo
330
+ San Miguel,Leyte
331
+ San Miguel,Surigao del Sur
332
+ San Miguel,Zamboanga del Sur
333
+ San Mateo,Isabela
334
+ San Mateo,Rizal
335
+ San Mariano,Isabela
336
+ San Marcelino,Zambales
337
+ San Manuel,Isabela
338
+ San Manuel,Pangasinan
339
+ San Manuel,Tarlac
340
+ San Luis,Agusan del Sur
341
+ San Luis,Aurora
342
+ San Luis,Batangas
343
+ San Luis,Pampanga
344
+ San Lorenzo Ruiz,Camarines Norte
345
+ San Lorenzo,Guimaras
346
+ San Leonardo,Nueva Ecija
347
+ San Julian,Eastern Samar
348
+ San Juan,Abra
349
+ San Juan,Batangas
350
+ San Juan,Ilocos Sur
351
+ San Juan,La Union
352
+ San Juan,Metro Manila
353
+ San Juan,Siquijor
354
+ San Juan,Southern Leyte
355
+ San Jose*,Occidental Mindoro
356
+ San Jose del Monte*,Bulacan
357
+ San Jose de Buenavista*,Antique
358
+ San Jose de Buan,Samar
359
+ San Jose,Batangas
360
+ San Jose,Camarines Sur
361
+ San Jose,Dinagat Islands
362
+ San Jose,Negros Oriental
363
+ San Jose,Northern Samar
364
+ San Jose,Nueva Ecija
365
+ San Jose,Romblon
366
+ San Jose,Tarlac
367
+ San Jorge,Samar
368
+ San Joaquin,Iloilo
369
+ San Jacinto,Masbate
370
+ San Jacinto,Pangasinan
371
+ San Isidro,Abra
372
+ San Isidro,Bohol
373
+ San Isidro,Davao del Norte
374
+ San Isidro,Davao Oriental
375
+ San Isidro,Isabela
376
+ San Isidro,Leyte
377
+ San Isidro,Northern Samar
378
+ San Isidro,Nueva Ecija
379
+ San Isidro,Surigao del Norte
380
+ San Ildefonso,Bulacan
381
+ San Ildefonso,Ilocos Sur
382
+ San Guillermo,Isabela
383
+ San Gabriel,La Union
384
+ San Francisco,Agusan del Sur
385
+ San Francisco,Cebu
386
+ San Francisco,Quezon
387
+ San Francisco,Southern Leyte
388
+ San Francisco,Surigao del Norte
389
+ San Fernando*,La Union
390
+ San Fernando,Bukidnon
391
+ San Fernando,Camarines Sur
392
+ San Fernando,Cebu
393
+ San Fernando,Masbate
394
+ San Fernando,Pampanga
395
+ San Fernando,Romblon
396
+ San Felipe,Zambales
397
+ San Fabian,Pangasinan
398
+ San Esteban,Ilocos Sur
399
+ San Enrique,Iloilo
400
+ San Enrique,Negros Occidental
401
+ San Emilio,Ilocos Sur
402
+ San Dionisio,Iloilo
403
+ San Clemente,Tarlac
404
+ San Carlos*,Pangasinan
405
+ San Carlos,Negros Occidental
406
+ San Benito,Surigao del Norte
407
+ San Antonio,Northern Samar
408
+ San Antonio,Nueva Ecija
409
+ San Antonio,Quezon
410
+ San Antonio,Zambales
411
+ San Andres,Catanduanes
412
+ San Andres,Quezon
413
+ San Andres,Romblon
414
+ San Agustin,Isabela
415
+ San Agustin,Romblon
416
+ San Agustin,Surigao del Sur
417
+ Sampaloc,Quezon
418
+ Samboan,Cebu
419
+ Samal,Bataan
420
+ Samal,Davao del Norte
421
+ Salvador,Lanao del Norte
422
+ Salug,Zamboanga del Norte
423
+ Sallapadan,Abra
424
+ Salcedo,Eastern Samar
425
+ Salcedo,Ilocos Sur
426
+ Salay,Misamis Oriental
427
+ Saint Bernard,Southern Leyte
428
+ Saguiaran,Lanao del Sur
429
+ Saguday,Quirino
430
+ Sagñay,Camarines Sur
431
+ Sagbayan,Bohol
432
+ Sagay,Camiguin
433
+ Sagay,Negros Occidental
434
+ Sagada,Mountain Province
435
+ Sadanga,Mountain Province
436
+ Sabtang,Batanes
437
+ Sablayan,Occidental Mindoro
438
+ Sablan,Benguet
439
+ Sabangan,Mountain Province
440
+ Roxas*,Capiz
441
+ Roxas,Isabela
442
+ Roxas,Oriental Mindoro
443
+ Roxas,Palawan
444
+ Roxas,Zamboanga del Norte
445
+ Roseller Lim,Zamboanga Sibugay
446
+ Rosario,Agusan del Sur
447
+ Rosario,Batangas
448
+ Rosario,Cavite
449
+ Rosario,La Union
450
+ Rosario,Northern Samar
451
+ Rosales,Pangasinan
452
+ Ronda,Cebu
453
+ Romblon,Romblon
454
+ Rodriguez,Rizal
455
+ Rizal,Cagayan
456
+ Rizal,Kalinga
457
+ Rizal,Laguna
458
+ Rizal,Nueva Ecija
459
+ Rizal,Occidental Mindoro
460
+ Rizal,Palawan
461
+ Rizal,Zamboanga del Norte
462
+ Remedios T. Romualdez,Agusan del Norte
463
+ Reina Mercedes,Isabela
464
+ Real,Quezon
465
+ Rapu-Rapu,Albay
466
+ Ramos,Tarlac
467
+ Ramon Magsaysay,Zamboanga del Sur
468
+ Ramon,Isabela
469
+ Rajah Buayan,Maguindanao del Sur
470
+ Ragay,Camarines Sur
471
+ Quirino,Ilocos Sur
472
+ Quirino,Isabela
473
+ Quinapondan,Eastern Samar
474
+ Quezon City**,Metro Manila
475
+ Quezon,Bukidnon
476
+ Quezon,Isabela
477
+ Quezon,Nueva Ecija
478
+ Quezon,Nueva Vizcaya
479
+ Quezon,Palawan
480
+ Quezon,Quezon
481
+ Pura,Tarlac
482
+ Pulupandan,Negros Occidental
483
+ Pulilan,Bulacan
484
+ Pugo,La Union
485
+ Puerto Princesa*,Palawan
486
+ Puerto Galera,Oriental Mindoro
487
+ Pudtol,Apayao
488
+ Pualas,Lanao del Sur
489
+ Prosperidad,Agusan del Sur
490
+ Prieto Diaz,Sorsogon
491
+ President Roxas,Capiz
492
+ President Roxas,Cotabato
493
+ President Quirino,Sultan Kudarat
494
+ President Carlos P. Garcia,Bohol
495
+ Presentacion,Camarines Sur
496
+ Pozorrubio,Pangasinan
497
+ Pototan,Iloilo
498
+ Poro,Cebu
499
+ Porac,Pampanga
500
+ Poona Piagapo,Lanao del Norte
501
+ Poona Bayabao,Lanao del Sur
502
+ Pontevedra,Capiz
503
+ Pontevedra,Negros Occidental
504
+ Polomolok,South Cotabato
505
+ Polillo,Quezon
506
+ Polangui,Albay
507
+ Polanco,Zamboanga del Norte
508
+ Pola,Oriental Mindoro
509
+ Plaridel,Bulacan
510
+ Plaridel,Misamis Occidental
511
+ Plaridel,Quezon
512
+ Placer,Masbate
513
+ Placer,Surigao del Norte
514
+ Pitogo,Quezon
515
+ Pitogo,Zamboanga del Sur
516
+ Pio V. Corpus,Masbate
517
+ Pio Duran,Albay
518
+ Pinukpuk,Kalinga
519
+ Pintuyan,Southern Leyte
520
+ Pinili,Ilocos Norte
521
+ Piñan,Zamboanga del Norte
522
+ Pinamungajan,Cebu
523
+ Pinamalayan,Oriental Mindoro
524
+ Pinabacdao,Samar
525
+ Pililla,Rizal
526
+ Pili,Camarines Sur
527
+ Pilar,Abra
528
+ Pilar,Bataan
529
+ Pilar,Bohol
530
+ Pilar,Capiz
531
+ Pilar,Cebu
532
+ Pilar,Sorsogon
533
+ Pilar,Surigao del Norte
534
+ Pila,Laguna
535
+ Pikit,Cotabato
536
+ Pigcawayan,Cotabato
537
+ Pidigan,Abra
538
+ Piddig,Ilocos Norte
539
+ Picong,Lanao del Sur
540
+ Piat,Cagayan
541
+ Piagapo,Lanao del Sur
542
+ Perez,Quezon
543
+ Peñarrubia,Abra
544
+ Peñaranda,Nueva Ecija
545
+ Peñablanca,Cagayan
546
+ Payao,Zamboanga Sibugay
547
+ Pavia,Iloilo
548
+ Patnongon,Antique
549
+ Patnanungan,Quezon
550
+ Patikul,Sulu
551
+ Pateros,Metro Manila
552
+ Pata,Sulu
553
+ Pasuquin,Ilocos Norte
554
+ Pastrana,Leyte
555
+ Passi,Iloilo
556
+ Pasil,Kalinga
557
+ Pasig,Metro Manila
558
+ Pasay,Metro Manila
559
+ Pasacao,Camarines Sur
560
+ Parang,Maguindanao del Norte
561
+ Parang,Sulu
562
+ Paranas,Samar
563
+ Parañaque,Metro Manila
564
+ Paracelis,Mountain Province
565
+ Paracale,Camarines Norte
566
+ Paombong,Bulacan
567
+ Paoay,Ilocos Norte
568
+ Panukulan,Quezon
569
+ Pantukan,Davao de Oro
570
+ Pantar,Lanao del Norte
571
+ Pantao Ragat,Lanao del Norte
572
+ Pantabangan,Nueva Ecija
573
+ Panitan,Capiz
574
+ Paniqui,Tarlac
575
+ Pangutaran,Sulu
576
+ Panglima Sugala,Tawi-Tawi
577
+ Panglima Estino,Sulu
578
+ Panglao,Bohol
579
+ Pangil,Laguna
580
+ Pangantucan,Bukidnon
581
+ Panganiban,Catanduanes
582
+ Pandi,Bulacan
583
+ Pandan,Antique
584
+ Pandan,Catanduanes
585
+ Pandami,Sulu
586
+ Pandag,Maguindanao del Sur
587
+ Panay,Capiz
588
+ Panaon,Misamis Occidental
589
+ Panamao,Sulu
590
+ Panabo,Davao del Norte
591
+ Pamplona,Cagayan
592
+ Pamplona,Camarines Sur
593
+ Pamplona,Negros Oriental
594
+ Pambujan,Northern Samar
595
+ Paluan,Occidental Mindoro
596
+ Palompon,Leyte
597
+ Palo,Leyte
598
+ Palimbang,Sultan Kudarat
599
+ Palayan,Nueva Ecija
600
+ Palauig,Zambales
601
+ Palapag,Northern Samar
602
+ Palanas,Masbate
603
+ Palanan,Isabela
604
+ Pakil,Laguna
605
+ Pagudpud,Ilocos Norte
606
+ Pagsanjan,Laguna
607
+ Pagsanghan,Samar
608
+ Paglat,Maguindanao del Sur
609
+ Pagbilao,Quezon
610
+ Pagayawan,Lanao del Sur
611
+ Pagalungan,Maguindanao del Sur
612
+ Pagadian,Zamboanga del Sur
613
+ Paete,Laguna
614
+ Padre Garcia,Batangas
615
+ Padre Burgos,Quezon
616
+ Padre Burgos,Southern Leyte
617
+ Padada,Davao del Sur
618
+ Ozamiz*,Misamis Occidental
619
+ Oton,Iloilo
620
+ Oslob,Cebu
621
+ Oroquieta,Misamis Occidental
622
+ Ormoc,Leyte
623
+ Orion,Bataan
624
+ Oras,Eastern Samar
625
+ Orani,Bataan
626
+ Opol,Misamis Oriental
627
+ Omar,Sulu
628
+ Olutanga,Zamboanga Sibugay
629
+ Olongapo*,Zambales
630
+ Odiongan*,Romblon
631
+ Ocampo,Camarines Sur
632
+ Obando,Bulacan
633
+ Oas,Albay
634
+ Nunungan,Lanao del Norte
635
+ Numancia,Aklan
636
+ Nueva Valencia,Guimaras
637
+ Nueva Era,Ilocos Norte
638
+ Noveleta,Cavite
639
+ Norzagaray,Bulacan
640
+ Northern Kabuntalan,Maguindanao del Norte
641
+ Norala,South Cotabato
642
+ New Washington,Aklan
643
+ New Lucena,Iloilo
644
+ New Corella,Davao del Norte
645
+ New Bataan,Davao de Oro
646
+ Navotas,Metro Manila
647
+ Naval*,Biliran
648
+ Naujan,Oriental Mindoro
649
+ Natonin,Mountain Province
650
+ Natividad,Pangasinan
651
+ Nasugbu,Batangas
652
+ Nasipit,Agusan del Norte
653
+ Narvacan,Ilocos Sur
654
+ Narra,Palawan
655
+ Nampicuan,Nueva Ecija
656
+ Naic,Cavite
657
+ Naguilian,Isabela
658
+ Naguilian,La Union
659
+ Nagtipunan,Quirino
660
+ Nagcarlan,Laguna
661
+ Nagbukel,Ilocos Sur
662
+ Naga*,Camarines Sur
663
+ Naga,Cebu
664
+ Naga,Zamboanga Sibugay
665
+ Nabunturan,Davao de Oro
666
+ Nabua,Camarines Sur
667
+ Nabas,Aklan
668
+ Naawan,Misamis Oriental
669
+ Mutia,Zamboanga del Norte
670
+ Murcia,Negros Occidental
671
+ Muntinlupa,Metro Manila
672
+ Muñoz,Nueva Ecija
673
+ Munai,Lanao del Norte
674
+ Mulondo,Lanao del Sur
675
+ Mulanay,Quezon
676
+ Motiong,Samar
677
+ Morong,Bataan
678
+ Morong,Rizal
679
+ Montevista,Davao de Oro
680
+ Monreal,Masbate
681
+ Monkayo*,Davao de Oro
682
+ Mondragon,Northern Samar
683
+ Moncada,Tarlac
684
+ Molave,Zamboanga del Sur
685
+ Moises Padilla,Negros Occidental
686
+ Mogpog,Marinduque
687
+ Mobo,Masbate
688
+ Moalboal,Cebu
689
+ Minglanilla,Cebu
690
+ Minalin,Pampanga
691
+ Minalabac,Camarines Sur
692
+ Mina,Iloilo
693
+ Milaor,Camarines Sur
694
+ Milagros,Masbate
695
+ Midsayap,Cotabato
696
+ Midsalip,Zamboanga del Sur
697
+ Miagao,Iloilo
698
+ Meycauayan,Bulacan
699
+ Mexico,Pampanga
700
+ Merida,Leyte
701
+ Mercedes,Camarines Norte
702
+ Mercedes,Eastern Samar
703
+ Mendez,Cavite
704
+ Medina,Misamis Oriental
705
+ Medellin,Cebu
706
+ Mayoyao,Ifugao
707
+ Mayorga,Leyte
708
+ Maydolong,Eastern Samar
709
+ Mayantoc,Tarlac
710
+ Mawab,Davao de Oro
711
+ Mauban,Quezon
712
+ Matungao,Lanao del Norte
713
+ Matuguinao,Samar
714
+ Matnog,Sorsogon
715
+ Mati*,Davao Oriental
716
+ Matanog,Maguindanao del Norte
717
+ Matanao,Davao del Sur
718
+ Matalom,Leyte
719
+ Matalam,Cotabato
720
+ Matag-ob,Leyte
721
+ Mataasnakahoy,Batangas
722
+ Maslog,Eastern Samar
723
+ Masiu,Lanao del Sur
724
+ Masinloc,Zambales
725
+ Masbate City*,Masbate
726
+ Masantol,Pampanga
727
+ Marogong,Lanao del Sur
728
+ Mariveles*,Bataan
729
+ Maripipi,Biliran
730
+ Marilao,Bulacan
731
+ Marikina,Metro Manila
732
+ Marihatag,Surigao del Sur
733
+ Maribojoc,Bohol
734
+ Maria Aurora*,Aurora
735
+ Maria,Siquijor
736
+ Margosatubig,Zamboanga del Sur
737
+ Marcos,Ilocos Norte
738
+ Marawi*,Lanao del Sur
739
+ Marantao,Lanao del Sur
740
+ Maramag,Bukidnon
741
+ Maragusan,Davao de Oro
742
+ Maragondon,Cavite
743
+ Marabut,Samar
744
+ Mapun,Tawi-Tawi
745
+ Mapandan,Pangasinan
746
+ Mapanas,Northern Samar
747
+ Manukan,Zamboanga del Norte
748
+ Manticao,Misamis Oriental
749
+ Mansalay,Oriental Mindoro
750
+ Manolo Fortich,Bukidnon
751
+ Mankayan,Benguet
752
+ Manjuyod,Negros Oriental
753
+ Manito,Albay
754
+ Manila,Metro Manila
755
+ Mangudadatu,Maguindanao del Sur
756
+ Mangatarem,Pangasinan
757
+ Mangaldan,Pangasinan
758
+ Mandaue,Cebu
759
+ Mandaon,Masbate
760
+ Mandaluyong,Metro Manila
761
+ Manay,Davao Oriental
762
+ Manapla,Negros Occidental
763
+ Manaoag,Pangasinan
764
+ Manabo,Abra
765
+ Mambusao,Capiz
766
+ Mamburao,Occidental Mindoro
767
+ Mambajao*,Camiguin
768
+ Mamasapano,Maguindanao del Sur
769
+ Malvar,Batangas
770
+ Maluso,Basilan
771
+ Malungon,Sarangani
772
+ Malolos,Bulacan
773
+ Mallig,Isabela
774
+ Malitbog,Bukidnon
775
+ Malitbog,Southern Leyte
776
+ Malita*,Davao Occidental
777
+ Malinao,Aklan
778
+ Malinao,Albay
779
+ Malimono,Surigao del Norte
780
+ Malilipot,Albay
781
+ Malibcong,Abra
782
+ Malaybalay,Bukidnon
783
+ Malay,Aklan
784
+ Malasiqui,Pangasinan
785
+ Malapatan,Sarangani
786
+ Malangas,Zamboanga Sibugay
787
+ Malalag,Davao del Sur
788
+ Malabuyoc,Cebu
789
+ Malabon,Metro Manila
790
+ Malabang,Lanao del Sur
791
+ Makilala,Cotabato
792
+ Makato,Aklan
793
+ Makati,Metro Manila
794
+ Majayjay,Laguna
795
+ Maitum,Sarangani
796
+ Mainit,Surigao del Norte
797
+ Maimbung,Sulu
798
+ Maigo,Lanao del Norte
799
+ Mahinog,Camiguin
800
+ Mahayag,Zamboanga del Sur
801
+ Mahatao,Batanes
802
+ Mahaplag,Leyte
803
+ Maguing,Lanao del Sur
804
+ Magsingal,Ilocos Sur
805
+ Magsaysay,Davao del Sur
806
+ Magsaysay,Lanao del Norte
807
+ Magsaysay,Misamis Oriental
808
+ Magsaysay,Occidental Mindoro
809
+ Magsaysay,Palawan
810
+ Magpet,Cotabato
811
+ Magdiwang,Romblon
812
+ Magdalena,Laguna
813
+ Magarao,Camarines Sur
814
+ Magallanes,Agusan del Norte
815
+ Magallanes,Cavite
816
+ Magallanes,Sorsogon
817
+ Magalang,Pampanga
818
+ Madridejos,Cebu
819
+ Madrid,Surigao del Sur
820
+ Maddela,Quirino
821
+ Madamba,Lanao del Sur
822
+ Madalum,Lanao del Sur
823
+ Madalag,Aklan
824
+ Macrohon,Southern Leyte
825
+ Maconacon,Isabela
826
+ Maco,Davao de Oro
827
+ MacArthur,Leyte
828
+ Macalelon,Quezon
829
+ Macabebe,Pampanga
830
+ Mabuhay,Zamboanga Sibugay
831
+ Mabitac,Laguna
832
+ Mabini,Batangas
833
+ Mabini,Bohol
834
+ Mabini,Davao de Oro
835
+ Mabini,Pangasinan
836
+ Mabinay,Negros Oriental
837
+ Mabalacat,Pampanga
838
+ Maasin*,Southern Leyte
839
+ Maasin,Iloilo
840
+ Maasim,Sarangani
841
+ Ma-ayon,Capiz
842
+ M'lang,Cotabato
843
+ Luuk,Sulu
844
+ Lutayan,Sultan Kudarat
845
+ Lupon,Davao Oriental
846
+ Lupi,Camarines Sur
847
+ Lupao,Nueva Ecija
848
+ Luna,Apayao
849
+ Luna,Isabela
850
+ Luna,La Union
851
+ Lumbayanague,Lanao del Sur
852
+ Lumbatan,Lanao del Sur
853
+ Lumban,Laguna
854
+ Lumbaca-Unayan,Lanao del Sur
855
+ Lumba-Bayabao,Lanao del Sur
856
+ Luisiana,Laguna
857
+ Lugus,Sulu
858
+ Lugait,Misamis Oriental
859
+ Lucena*,Quezon
860
+ Lucban,Quezon
861
+ Lubuagan,Kalinga
862
+ Lubao,Pampanga
863
+ Lubang,Occidental Mindoro
864
+ Luba,Abra
865
+ Los Baños,Laguna
866
+ Loreto,Agusan del Sur
867
+ Loreto,Dinagat Islands
868
+ Lopez Jaena,Misamis Occidental
869
+ Lopez,Quezon
870
+ Lope de Vega,Northern Samar
871
+ Loon,Bohol
872
+ Looc,Occidental Mindoro
873
+ Looc,Romblon
874
+ Loboc,Bohol
875
+ Lobo,Batangas
876
+ Loay,Bohol
877
+ Llorente,Eastern Samar
878
+ Llanera,Nueva Ecija
879
+ Lipa*,Batangas
880
+ Lingig,Surigao del Sur
881
+ Lingayen,Pangasinan
882
+ Linapacan,Palawan
883
+ Linamon,Lanao del Norte
884
+ Limay,Bataan
885
+ Limasawa,Southern Leyte
886
+ Liloy,Zamboanga del Norte
887
+ Liloan,Cebu
888
+ Liloan,Southern Leyte
889
+ Liliw,Laguna
890
+ Lila,Bohol
891
+ Ligao,Albay
892
+ Lidlidda,Ilocos Sur
893
+ Licuan-Baay,Abra
894
+ Licab,Nueva Ecija
895
+ Libungan,Cotabato
896
+ Libona,Bukidnon
897
+ Libon,Albay
898
+ Libmanan,Camarines Sur
899
+ Libjo,Dinagat Islands
900
+ Libertad,Antique
901
+ Libertad,Misamis Oriental
902
+ Libagon,Southern Leyte
903
+ Libacao,Aklan
904
+ Lianga,Surigao del Sur
905
+ Lian,Batangas
906
+ Lezo,Aklan
907
+ Leyte,Leyte
908
+ Leon B. Postigo,Zamboanga del Norte
909
+ Leon,Iloilo
910
+ Lemery,Batangas
911
+ Lemery,Iloilo
912
+ Legazpi*,Albay
913
+ Leganes,Iloilo
914
+ Lebak,Sultan Kudarat
915
+ Lazi,Siquijor
916
+ Lawaan,Eastern Samar
917
+ Lavezares,Northern Samar
918
+ Laurel,Batangas
919
+ Laur,Nueva Ecija
920
+ Laua-an,Antique
921
+ Lasam,Cagayan
922
+ Las Piñas,Metro Manila
923
+ Las Nieves,Agusan del Norte
924
+ Las Navas,Northern Samar
925
+ Larena,Siquijor
926
+ Lapuyan,Zamboanga del Sur
927
+ Lapu-Lapu,Cebu
928
+ Lapinig,Northern Samar
929
+ Laoang,Northern Samar
930
+ Laoag*,Ilocos Norte
931
+ Laoac,Pangasinan
932
+ Lanuza,Surigao del Sur
933
+ Lantawan,Basilan
934
+ Lantapan,Bukidnon
935
+ Languyan,Tawi-Tawi
936
+ Langiden,Abra
937
+ Lamut,Ifugao
938
+ Lamitan,Basilan
939
+ Lambunao,Iloilo
940
+ Lambayong,Sultan Kudarat
941
+ Lala,Lanao del Norte
942
+ Lal-lo,Cagayan
943
+ Lakewood,Zamboanga del Sur
944
+ Lake Sebu,South Cotabato
945
+ Laguindingan,Misamis Oriental
946
+ Lagonoy,Camarines Sur
947
+ Lagonglong,Misamis Oriental
948
+ Lagayan,Abra
949
+ Lagawe,Ifugao
950
+ Lagangilang,Abra
951
+ Lacub,Abra
952
+ Labrador,Pangasinan
953
+ Labo,Camarines Norte
954
+ Labason,Zamboanga del Norte
955
+ Labangan,Zamboanga del Sur
956
+ Laak,Davao de Oro
957
+ La Trinidad,Benguet
958
+ La Paz,Abra
959
+ La Paz,Agusan del Sur
960
+ La Paz,Leyte
961
+ La Paz,Tarlac
962
+ La Libertad,Negros Oriental
963
+ La Libertad,Zamboanga del Norte
964
+ La Castellana,Negros Occidental
965
+ La Carlota,Negros Occidental
966
+ Kumalarang,Zamboanga del Sur
967
+ Koronadal,South Cotabato
968
+ Kolambugan,Lanao del Norte
969
+ Kitcharao,Agusan del Norte
970
+ Kitaotao,Bukidnon
971
+ Kinoguitan,Misamis Oriental
972
+ Kidapawan*,Cotabato
973
+ Kibungan,Benguet
974
+ Kiblawan,Davao del Sur
975
+ Kibawe,Bukidnon
976
+ Kiangan,Ifugao
977
+ Kiamba,Sarangani
978
+ Kayapa,Nueva Vizcaya
979
+ Kawit,Cavite
980
+ Kawayan,Biliran
981
+ Kauswagan,Lanao del Norte
982
+ Katipunan,Zamboanga del Norte
983
+ Kasibu,Nueva Vizcaya
984
+ Kapatagan,Lanao del Norte
985
+ Kapatagan,Lanao del Sur
986
+ Kapangan,Benguet
987
+ Kapalong,Davao del Norte
988
+ Kapai,Lanao del Sur
989
+ Kananga,Leyte
990
+ Kalingalan Caluang,Sulu
991
+ Kalilangan,Bukidnon
992
+ Kalibo*,Aklan
993
+ Kalayaan,Laguna
994
+ Kalayaan,Palawan
995
+ Kalawit,Zamboanga del Norte
996
+ Kalamansig,Sultan Kudarat
997
+ Kadingilan,Bukidnon
998
+ Kabuntalan,Maguindanao del Norte
999
+ Kabugao,Apayao
1000
+ Kabayan,Benguet
1001
+ Kabasalan,Zamboanga Sibugay
1002
+ Kabankalan,Negros Occidental
1003
+ Kabacan,Cotabato
1004
+ Julita,Leyte
1005
+ Juban,Sorsogon
1006
+ Jovellar,Albay
1007
+ Josefina,Zamboanga del Sur
1008
+ Jose Panganiban,Camarines Norte
1009
+ Jose Dalman,Zamboanga del Norte
1010
+ Jose Abad Santos,Davao Occidental
1011
+ Jordan,Guimaras
1012
+ Jones,Isabela
1013
+ Jomalig,Quezon
1014
+ Jolo*,Sulu
1015
+ Jipapad,Eastern Samar
1016
+ Jimenez,Misamis Occidental
1017
+ Jimalalud,Negros Oriental
1018
+ Jiabong,Samar
1019
+ Javier,Leyte
1020
+ Jasaan,Misamis Oriental
1021
+ Jaro,Leyte
1022
+ Janiuay,Iloilo
1023
+ Jamindan,Capiz
1024
+ Jalajala,Rizal
1025
+ Jagna,Bohol
1026
+ Jaen,Nueva Ecija
1027
+ Jabonga,Agusan del Norte
1028
+ Ivisan,Capiz
1029
+ Ivana,Batanes
1030
+ Itogon,Benguet
1031
+ Itbayat,Batanes
1032
+ Isulan,Sultan Kudarat
1033
+ Isabela*,Basilan
1034
+ Isabela,Negros Occidental
1035
+ Isabel,Leyte
1036
+ Irosin,Sorsogon
1037
+ Iriga,Camarines Sur
1038
+ Ipil*,Zamboanga Sibugay
1039
+ Inopacan,Leyte
1040
+ Initao,Misamis Oriental
1041
+ Infanta,Pangasinan
1042
+ Infanta,Quezon
1043
+ Indang,Cavite
1044
+ Indanan,Sulu
1045
+ Inabanga,Bohol
1046
+ Imus,Cavite
1047
+ Impasugong,Bukidnon
1048
+ Imelda,Zamboanga Sibugay
1049
+ Iloilo City*,Iloilo
1050
+ Ilog,Negros Occidental
1051
+ Iligan*,Lanao del Norte
1052
+ Ilagan*,Isabela
1053
+ Iguig,Cagayan
1054
+ Igbaras,Iloilo
1055
+ Ibajay,Aklan
1056
+ Ibaan,Batangas
1057
+ Iba,Zambales
1058
+ Hungduan,Ifugao
1059
+ Hinundayan,Southern Leyte
1060
+ Hinunangan,Southern Leyte
1061
+ Hinoba-an,Negros Occidental
1062
+ Hinigaran,Negros Occidental
1063
+ Hingyon,Ifugao
1064
+ Hindang,Leyte
1065
+ Hinatuan,Surigao del Sur
1066
+ Hinabangan,Samar
1067
+ Himamaylan,Negros Occidental
1068
+ Hilongos,Leyte
1069
+ Hernani,Eastern Samar
1070
+ Hermosa,Bataan
1071
+ Hamtic,Antique
1072
+ Hagonoy,Bulacan
1073
+ Hagonoy,Davao del Sur
1074
+ Hadji Panglima Tahil,Sulu
1075
+ Hadji Muhtamad,Basilan
1076
+ Hadji Mohammad Ajul,Basilan
1077
+ Gutalac,Zamboanga del Norte
1078
+ Gumaca,Quezon
1079
+ Guiuan,Eastern Samar
1080
+ Guipos,Zamboanga del Sur
1081
+ Guinsiliban,Camiguin
1082
+ Guinobatan,Albay
1083
+ Guindulungan,Maguindanao del Sur
1084
+ Guindulman,Bohol
1085
+ Guinayangan,Quezon
1086
+ Guimbal,Iloilo
1087
+ Guimba,Nueva Ecija
1088
+ Guihulngan,Negros Oriental
1089
+ Guiguinto,Bulacan
1090
+ Gubat,Sorsogon
1091
+ Guagua,Pampanga
1092
+ Gregorio del Pilar,Ilocos Sur
1093
+ Governor Generoso,Davao Oriental
1094
+ Gonzaga,Cagayan
1095
+ Godod,Zamboanga del Norte
1096
+ Goa,Camarines Sur
1097
+ Gloria,Oriental Mindoro
1098
+ Glan*,Sarangani
1099
+ Gitagum,Misamis Oriental
1100
+ Giporlos,Eastern Samar
1101
+ Gingoog,Misamis Oriental
1102
+ Ginatilan,Cebu
1103
+ Gigmoto,Catanduanes
1104
+ Gigaquit,Surigao del Norte
1105
+ Getafe,Bohol
1106
+ Gerona,Tarlac
1107
+ General Trias,Cavite
1108
+ General Tinio,Nueva Ecija
1109
+ General Santos*,South Cotabato
1110
+ General Salipada K. Pendatun,Maguindanao del Sur
1111
+ General Nakar,Quezon
1112
+ General Mariano Alvarez,Cavite
1113
+ General Mamerto Natividad,Nueva Ecija
1114
+ General MacArthur,Eastern Samar
1115
+ General Luna,Quezon
1116
+ General Luna,Surigao del Norte
1117
+ General Emilio Aguinaldo,Cavite
1118
+ Gattaran,Cagayan
1119
+ Gasan,Marinduque
1120
+ Garcia Hernandez,Bohol
1121
+ Garchitorena,Camarines Sur
1122
+ Gapan,Nueva Ecija
1123
+ Gandara,Samar
1124
+ Ganassi,Lanao del Sur
1125
+ Gamu,Isabela
1126
+ Gamay,Northern Samar
1127
+ Galimuyod,Ilocos Sur
1128
+ Gainza,Camarines Sur
1129
+ Gabaldon,Nueva Ecija
1130
+ Floridablanca,Pampanga
1131
+ Flora,Apayao
1132
+ Ferrol,Romblon
1133
+ Famy,Laguna
1134
+ Estancia,Iloilo
1135
+ Esperanza,Agusan del Sur
1136
+ Esperanza,Masbate
1137
+ Esperanza,Sultan Kudarat
1138
+ Escalante,Negros Occidental
1139
+ Enrique Villanueva,Siquijor
1140
+ Enrique B. Magalona,Negros Occidental
1141
+ Enrile,Cagayan
1142
+ El Salvador,Misamis Oriental
1143
+ El Nido,Palawan
1144
+ Echague,Isabela
1145
+ Dupax del Sur,Nueva Vizcaya
1146
+ Dupax del Norte,Nueva Vizcaya
1147
+ Dumingag,Zamboanga del Sur
1148
+ Dumarao,Capiz
1149
+ Dumaran,Palawan
1150
+ Dumanjug,Cebu
1151
+ Dumangas,Iloilo
1152
+ Dumalneg,Ilocos Norte
1153
+ Dumalinao,Zamboanga del Sur
1154
+ Dumalag,Capiz
1155
+ Dumaguete*,Negros Oriental
1156
+ Dulag,Leyte
1157
+ Duero,Bohol
1158
+ Dueñas,Iloilo
1159
+ Donsol,Sorsogon
1160
+ Doña Remedios Trinidad,Bulacan
1161
+ Don Victoriano Chiongbian,Misamis Occidental
1162
+ Don Salvador Benedicto,Negros Occidental
1163
+ Don Marcelino,Davao Occidental
1164
+ Don Carlos,Bukidnon
1165
+ Dolores,Abra
1166
+ Dolores,Eastern Samar
1167
+ Dolores,Quezon
1168
+ Divilacan,Isabela
1169
+ Ditsaan-Ramain,Lanao del Sur
1170
+ Dipolog*,Zamboanga del Norte
1171
+ Diplahan,Zamboanga Sibugay
1172
+ Dipaculao,Aurora
1173
+ Dingras,Ilocos Norte
1174
+ Dingle,Iloilo
1175
+ Dingalan,Aurora
1176
+ Dinas,Zamboanga del Sur
1177
+ Dinapigue,Isabela
1178
+ Dinalupihan,Bataan
1179
+ Dinalungan,Aurora
1180
+ Dinagat,Dinagat Islands
1181
+ Dimiao,Bohol
1182
+ Dimataling,Zamboanga del Sur
1183
+ Dimasalang,Masbate
1184
+ Dilasag,Aurora
1185
+ Digos,Davao del Sur
1186
+ Diffun*,Quirino
1187
+ Diadi,Nueva Vizcaya
1188
+ Delfin Albano,Isabela
1189
+ Del Gallego,Camarines Sur
1190
+ Del Carmen,Surigao del Norte
1191
+ Davao City*,Davao del Sur
1192
+ Dauis,Bohol
1193
+ Dauin,Negros Oriental
1194
+ Datu Unsay,Maguindanao del Sur
1195
+ Datu Saudi-Ampatuan,Maguindanao del Sur
1196
+ Datu Salibo,Maguindanao del Sur
1197
+ Datu Piang,Maguindanao del Sur
1198
+ Datu Paglas,Maguindanao del Sur
1199
+ Datu Odin Sinsuat,Maguindanao del Norte
1200
+ Datu Montawal,Maguindanao del Sur
1201
+ Datu Hoffer Ampatuan,Maguindanao del Sur
1202
+ Datu Blah T. Sinsuat,Maguindanao del Norte
1203
+ Datu Anggal Midtimbang,Maguindanao del Sur
1204
+ Datu Abdullah Sangki,Maguindanao del Sur
1205
+ Dasol,Pangasinan
1206
+ Dasmariñas*,Cavite
1207
+ Daram,Samar
1208
+ Daraga,Albay
1209
+ Dapitan,Zamboanga del Norte
1210
+ Dapa,Surigao del Norte
1211
+ Dao,Capiz
1212
+ Danglas,Abra
1213
+ Dangcagan,Bukidnon
1214
+ Danao,Bohol
1215
+ Danao,Cebu
1216
+ Damulog,Bukidnon
1217
+ Dalaguete,Cebu
1218
+ Dagupan,Pangasinan
1219
+ Daguioman,Abra
1220
+ Dagohoy,Bohol
1221
+ Dagami,Leyte
1222
+ Daet*,Camarines Norte
1223
+ Daanbantayan,Cebu
1224
+ Cuyo,Palawan
1225
+ Cuyapo,Nueva Ecija
1226
+ Currimao,Ilocos Norte
1227
+ Culion,Palawan
1228
+ Culasi,Antique
1229
+ Culaba,Biliran
1230
+ Cuenca,Batangas
1231
+ Cuartero,Capiz
1232
+ Cotabato City*,Maguindanao del Norte
1233
+ Cortes,Bohol
1234
+ Cortes,Surigao del Sur
1235
+ Coron,Palawan
1236
+ Corella,Bohol
1237
+ Cordova,Cebu
1238
+ Cordon,Isabela
1239
+ Corcuera,Romblon
1240
+ Consolacion,Cebu
1241
+ Conner*,Apayao
1242
+ Concepcion,Iloilo
1243
+ Concepcion,Misamis Occidental
1244
+ Concepcion,Romblon
1245
+ Concepcion,Tarlac
1246
+ Compostela,Cebu
1247
+ Compostela,Davao de Oro
1248
+ Columbio,Sultan Kudarat
1249
+ Claveria,Cagayan
1250
+ Claveria,Masbate
1251
+ Claveria,Misamis Oriental
1252
+ Claver,Surigao del Norte
1253
+ Clarin,Bohol
1254
+ Clarin,Misamis Occidental
1255
+ Cervantes,Ilocos Sur
1256
+ Cebu City*,Cebu
1257
+ Cawayan,Masbate
1258
+ Cavite City,Cavite
1259
+ Cavinti,Laguna
1260
+ Cauayan,Isabela
1261
+ Cauayan,Negros Occidental
1262
+ Catubig,Northern Samar
1263
+ Catmon,Cebu
1264
+ Catigbian,Bohol
1265
+ Cateel,Davao Oriental
1266
+ Catbalogan,Samar
1267
+ Catarman*,Northern Samar
1268
+ Catarman,Camiguin
1269
+ Catanauan,Quezon
1270
+ Cataingan,Masbate
1271
+ Castillejos,Zambales
1272
+ Castilla,Sorsogon
1273
+ Casiguran,Aurora
1274
+ Casiguran,Sorsogon
1275
+ Carrascal,Surigao del Sur
1276
+ Carranglan,Nueva Ecija
1277
+ Carmona,Cavite
1278
+ Carmen,Agusan del Norte
1279
+ Carmen,Bohol
1280
+ Carmen,Cebu
1281
+ Carmen,Cotabato
1282
+ Carmen,Davao del Norte
1283
+ Carmen,Surigao del Sur
1284
+ Carles,Iloilo
1285
+ Carigara,Leyte
1286
+ Cardona,Rizal
1287
+ Carcar,Cebu
1288
+ Carasi,Ilocos Norte
1289
+ Caramoran,Catanduanes
1290
+ Caramoan,Camarines Sur
1291
+ Caraga,Davao Oriental
1292
+ Capul,Northern Samar
1293
+ Capoocan,Leyte
1294
+ Capas,Tarlac
1295
+ Capalonga,Camarines Norte
1296
+ Caoayan,Ilocos Sur
1297
+ Cantilan,Surigao del Sur
1298
+ Canlaon,Negros Oriental
1299
+ Candoni,Negros Occidental
1300
+ Candon*,Ilocos Sur
1301
+ Candijay,Bohol
1302
+ Candelaria,Quezon
1303
+ Candelaria,Zambales
1304
+ Candaba,Pampanga
1305
+ Canaman,Camarines Sur
1306
+ Can-avid,Eastern Samar
1307
+ Camiling,Tarlac
1308
+ Camaligan,Camarines Sur
1309
+ Camalig,Albay
1310
+ Camalaniugan,Cagayan
1311
+ Caluya,Antique
1312
+ Calumpit,Bulacan
1313
+ Calubian,Leyte
1314
+ Caloocan,Metro Manila
1315
+ Calintaan,Occidental Mindoro
1316
+ Calinog,Iloilo
1317
+ Calbiga,Samar
1318
+ Calbayog*,Samar
1319
+ Calayan,Cagayan
1320
+ Calauan,Laguna
1321
+ Calauag,Quezon
1322
+ Calatrava,Negros Occidental
1323
+ Calatrava,Romblon
1324
+ Calatagan,Batangas
1325
+ Calasiao,Pangasinan
1326
+ Calape,Bohol
1327
+ Calapan*,Oriental Mindoro
1328
+ Calanogas,Lanao del Sur
1329
+ Calanasan,Apayao
1330
+ Calamba*,Laguna
1331
+ Calamba,Misamis Occidental
1332
+ Calaca,Batangas
1333
+ Calabanga,Camarines Sur
1334
+ Cajidiocan,Romblon
1335
+ Cainta,Rizal
1336
+ Caibiran,Biliran
1337
+ Cagwait,Surigao del Sur
1338
+ Cagdianao,Dinagat Islands
1339
+ Cagayancillo,Palawan
1340
+ Cagayan de Oro*,Misamis Oriental
1341
+ Cadiz,Negros Occidental
1342
+ Cabuyao,Laguna
1343
+ Cabusao,Camarines Sur
1344
+ Cabugao,Ilocos Sur
1345
+ Cabucgayan,Biliran
1346
+ Cabiao,Nueva Ecija
1347
+ Cabatuan,Iloilo
1348
+ Cabatuan,Isabela
1349
+ Cabarroguis,Quirino
1350
+ Cabanglasan,Bukidnon
1351
+ Cabangan,Zambales
1352
+ Cabanatuan*,Nueva Ecija
1353
+ Cabagan,Isabela
1354
+ Cabadbaran,Agusan del Norte
1355
+ Caba,La Union
1356
+ Buug,Zamboanga Sibugay
1357
+ Butuan*,Agusan del Norte
1358
+ Butig,Lanao del Sur
1359
+ Busuanga,Palawan
1360
+ Bustos,Bulacan
1361
+ Buruanga,Aklan
1362
+ Burgos,Ilocos Norte
1363
+ Burgos,Ilocos Sur
1364
+ Burgos,Isabela
1365
+ Burgos,La Union
1366
+ Burgos,Pangasinan
1367
+ Burgos,Surigao del Norte
1368
+ Burdeos,Quezon
1369
+ Burauen,Leyte
1370
+ Bunawan,Agusan del Sur
1371
+ Bulusan,Sorsogon
1372
+ Buluan*,Maguindanao del Sur
1373
+ Buldon,Maguindanao del Norte
1374
+ Bulan,Sorsogon
1375
+ Bulalacao,Oriental Mindoro
1376
+ Bulakan,Bulacan
1377
+ Bula,Camarines Sur
1378
+ Buhi,Camarines Sur
1379
+ Buguias,Benguet
1380
+ Buguey,Cagayan
1381
+ Bugasong,Antique
1382
+ Bugallon,Pangasinan
1383
+ Buenavista*,Guimaras
1384
+ Buenavista,Agusan del Norte
1385
+ Buenavista,Bohol
1386
+ Buenavista,Marinduque
1387
+ Buenavista,Quezon
1388
+ Bucloc,Abra
1389
+ Bucay,Abra
1390
+ Bubong,Lanao del Sur
1391
+ Buadiposo-Buntong,Lanao del Sur
1392
+ Brooke's Point,Palawan
1393
+ Braulio E. Dujali,Davao del Norte
1394
+ Botolan,Zambales
1395
+ Boston,Davao Oriental
1396
+ Borongan*,Eastern Samar
1397
+ Borbon,Cebu
1398
+ Bontoc,Mountain Province
1399
+ Bontoc,Southern Leyte
1400
+ Bonifacio,Misamis Occidental
1401
+ Bongao*,Tawi-Tawi
1402
+ Bongabong,Oriental Mindoro
1403
+ Bongabon,Nueva Ecija
1404
+ Bombon,Camarines Sur
1405
+ Boljoon,Cebu
1406
+ Boliney,Abra
1407
+ Bolinao,Pangasinan
1408
+ Bokod,Benguet
1409
+ Bogo,Cebu
1410
+ Bocaue,Bulacan
1411
+ Bobon,Northern Samar
1412
+ Boac*,Marinduque
1413
+ Bislig*,Surigao del Sur
1414
+ Biri,Northern Samar
1415
+ Binuangan,Misamis Oriental
1416
+ Binmaley,Pangasinan
1417
+ Binidayan,Lanao del Sur
1418
+ Bingawan,Iloilo
1419
+ Bindoy,Negros Oriental
1420
+ Binangonan,Rizal
1421
+ Biñan,Laguna
1422
+ Binalonan,Pangasinan
1423
+ Binalbagan,Negros Occidental
1424
+ Biliran,Biliran
1425
+ Bilar,Bohol
1426
+ Bien Unido,Bohol
1427
+ Besao,Mountain Province
1428
+ Benito Soliven,Isabela
1429
+ Belison,Antique
1430
+ Bayugan*,Agusan del Sur
1431
+ Bayombong*,Nueva Vizcaya
1432
+ Bayog,Zamboanga del Sur
1433
+ Baybay,Leyte
1434
+ Bayawan,Negros Oriental
1435
+ Bayang,Lanao del Sur
1436
+ Bayambang,Pangasinan
1437
+ Bayabas,Surigao del Sur
1438
+ Bay,Laguna
1439
+ Bautista,Pangasinan
1440
+ Baungon,Bukidnon
1441
+ Bauko*,Mountain Province
1442
+ Bauang,La Union
1443
+ Bauan,Batangas
1444
+ Batuan,Bohol
1445
+ Batuan,Masbate
1446
+ Bato,Camarines Sur
1447
+ Bato,Catanduanes
1448
+ Bato,Leyte
1449
+ Bataraza,Palawan
1450
+ Batangas City,Batangas
1451
+ Batan,Aklan
1452
+ Batad,Iloilo
1453
+ Batac,Ilocos Norte
1454
+ Basud,Camarines Norte
1455
+ Basista,Pangasinan
1456
+ Basilisa*,Dinagat Islands
1457
+ Basey,Samar
1458
+ Basco*,Batanes
1459
+ Basay,Negros Oriental
1460
+ Barugo,Leyte
1461
+ Baroy,Lanao del Norte
1462
+ Barotac Viejo,Iloilo
1463
+ Barotac Nuevo,Iloilo
1464
+ Barobo,Surigao del Sur
1465
+ Barlig,Mountain Province
1466
+ Barira,Maguindanao del Norte
1467
+ Barili,Cebu
1468
+ Barcelona,Sorsogon
1469
+ Barbaza,Antique
1470
+ Baras,Catanduanes
1471
+ Baras,Rizal
1472
+ Banton,Romblon
1473
+ Bantayan,Cebu
1474
+ Bantay,Ilocos Sur
1475
+ Bansud,Oriental Mindoro
1476
+ Bansalan,Davao del Sur
1477
+ Banna,Ilocos Norte
1478
+ Banisilan,Cotabato
1479
+ Bani,Pangasinan
1480
+ Banguingui,Sulu
1481
+ Bangui,Ilocos Norte
1482
+ Bangued*,Abra
1483
+ Bangar,La Union
1484
+ Banga,Aklan
1485
+ Banga,South Cotabato
1486
+ Banayoyo,Ilocos Sur
1487
+ Banaybanay,Davao Oriental
1488
+ Banaue,Ifugao
1489
+ Banate,Iloilo
1490
+ Bambang,Nueva Vizcaya
1491
+ Bamban,Tarlac
1492
+ Balungao,Pangasinan
1493
+ Balud,Masbate
1494
+ Balo-i,Lanao del Norte
1495
+ Ballesteros,Cagayan
1496
+ Baliwag,Bulacan
1497
+ Balingoan,Misamis Oriental
1498
+ Balingasag,Misamis Oriental
1499
+ Balindong,Lanao del Sur
1500
+ Balilihan,Bohol
1501
+ Baliguian,Zamboanga del Norte
1502
+ Baliangao,Misamis Occidental
1503
+ Balete,Aklan
1504
+ Balete,Batangas
1505
+ Baler,Aurora
1506
+ Baleno,Masbate
1507
+ Balbalan,Kalinga
1508
+ Balayan,Batangas
1509
+ Balatan,Camarines Sur
1510
+ Balasan,Iloilo
1511
+ Balaoan,La Union
1512
+ Balangkayan,Eastern Samar
1513
+ Balangiga,Eastern Samar
1514
+ Balanga,Bataan
1515
+ Balamban,Cebu
1516
+ Balagtas,Bulacan
1517
+ Balabagan,Lanao del Sur
1518
+ Balabac,Palawan
1519
+ Bakun,Benguet
1520
+ Bais,Negros Oriental
1521
+ Bagumbayan,Sultan Kudarat
1522
+ Bagulin,La Union
1523
+ Baguio*,Benguet
1524
+ Bago,Negros Occidental
1525
+ Baggao,Cagayan
1526
+ Baganga,Davao Oriental
1527
+ Bagamanoc,Catanduanes
1528
+ Bagac,Bataan
1529
+ Bagabag,Nueva Vizcaya
1530
+ Badoc,Ilocos Norte
1531
+ Badiangan,Iloilo
1532
+ Badian,Cebu
1533
+ Bacuag,Surigao del Norte
1534
+ Bacoor,Cavite
1535
+ Bacong,Negros Oriental
1536
+ Bacolor,Pampanga
1537
+ Bacolod*,Negros Occidental
1538
+ Bacolod-Kalawi,Lanao del Sur
1539
+ Bacolod,Lanao del Norte
1540
+ Baco,Oriental Mindoro
1541
+ Bacnotan,La Union
1542
+ Baclayon,Bohol
1543
+ Bacarra,Ilocos Norte
1544
+ Bacacay,Albay
1545
+ Babatngon,Leyte
1546
+ Baao,Camarines Sur
1547
+ Ayungon,Negros Oriental
1548
+ Aurora,Isabela
1549
+ Aurora,Zamboanga del Sur
1550
+ Atok,Benguet
1551
+ Atimonan,Quezon
1552
+ Asuncion,Davao del Norte
1553
+ Asturias,Cebu
1554
+ Asipulo,Ifugao
1555
+ Asingan,Pangasinan
1556
+ Arteche,Eastern Samar
1557
+ Aroroy,Masbate
1558
+ Aritao,Nueva Vizcaya
1559
+ Aringay,La Union
1560
+ Argao,Cebu
1561
+ Arayat,Pampanga
1562
+ Arakan,Cotabato
1563
+ Araceli,Palawan
1564
+ Aparri,Cagayan
1565
+ Apalit,Pampanga
1566
+ Antipolo*,Rizal
1567
+ Antipas,Cotabato
1568
+ Antequera,Bohol
1569
+ Anini-y,Antique
1570
+ Anilao,Iloilo
1571
+ Angono,Rizal
1572
+ Angeles*,Pampanga
1573
+ Angat,Bulacan
1574
+ Angadanan,Isabela
1575
+ Anda,Bohol
1576
+ Anda,Pangasinan
1577
+ Anao,Tarlac
1578
+ Anahawan,Southern Leyte
1579
+ Amulung,Cagayan
1580
+ Ampatuan,Maguindanao del Sur
1581
+ Amlan,Negros Oriental
1582
+ Ambaguio,Nueva Vizcaya
1583
+ Amai Manabilang,Lanao del Sur
1584
+ Amadeo,Cavite
1585
+ Alubijid,Misamis Oriental
1586
+ Altavas,Aklan
1587
+ Aloran,Misamis Occidental
1588
+ Aloguinsan,Cebu
1589
+ Almeria,Biliran
1590
+ Almagro,Samar
1591
+ Allen,Northern Samar
1592
+ Allacapan,Cagayan
1593
+ Alitagtag,Batangas
1594
+ Alimodian,Iloilo
1595
+ Alilem,Ilocos Sur
1596
+ Alicia,Bohol
1597
+ Alicia,Isabela
1598
+ Alicia,Zamboanga Sibugay
1599
+ Aliaga,Nueva Ecija
1600
+ Alfonso Lista*,Ifugao
1601
+ Alfonso Castañeda,Nueva Vizcaya
1602
+ Alfonso,Cavite
1603
+ Aleosan,Cotabato
1604
+ Alegria,Cebu
1605
+ Alegria,Surigao del Norte
1606
+ Alcoy,Cebu
1607
+ Alcantara,Cebu
1608
+ Alcantara,Romblon
1609
+ Alcala,Cagayan
1610
+ Alcala,Pangasinan
1611
+ Alburquerque,Bohol
1612
+ Albuera,Leyte
1613
+ Alangalang,Leyte
1614
+ Alaminos,Laguna
1615
+ Alaminos,Pangasinan
1616
+ Alamada,Cotabato
1617
+ Alabel,Sarangani
1618
+ Alabat,Quezon
1619
+ Al-Barka,Basilan
1620
+ Akbar,Basilan
1621
+ Ajuy,Iloilo
1622
+ Agutaya,Palawan
1623
+ Aguinaldo,Ifugao
1624
+ Aguilar,Pangasinan
1625
+ Agoo,La Union
1626
+ Agoncillo,Batangas
1627
+ Agno,Pangasinan
1628
+ Aglipay,Quirino
1629
+ Agdangan,Quezon
1630
+ Adams,Ilocos Norte
1631
+ Abuyog,Leyte
1632
+ Abulug,Cagayan
1633
+ Abucay,Bataan
1634
+ Abra de Ilog,Occidental Mindoro
1635
+ Aborlan,Palawan
dataset_processing/datasets/cleaned_doctors_data_with_city_province.csv ADDED
The diff for this file is too large to render. See raw diff
 
dataset_processing/datasets/doctors_data.csv ADDED
The diff for this file is too large to render. See raw diff
 
dataset_processing/datasets/illness_symptom.csv ADDED
The diff for this file is too large to render. See raw diff
 
dataset_processing/datasets/prompts.csv ADDED
The diff for this file is too large to render. See raw diff
 
dataset_processing/datasets/sentence_templates.csv ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ symptoms,follow_up,city
2
+ """I've been experiencing [symptom]. Could you provide insights on potential causes or recommend a doctor for further evaluation?""","""In addition to [symptom], I've also noticed [new symptom]. Does this change the potential diagnosis, and should I consider additional tests?""","""I'm looking for recommendations on healthcare facilities in [city]. Can you suggest locations that are known for excellent [specialty] services?"""
3
+ """I've noticed persistent [symptom], and I'm seeking advice. Can you suggest a qualified specialist I can consult with?""","""I forgot to mention earlier, but along with [symptom], I've been experiencing [new symptom]. How does this affect the recommended course of action with the doctor?""","""In [city], which areas have reputable healthcare facilities specializing in [specific medical need]? Any recommendations for the ideal location to seek medical assistance?"""
4
+ """I'm dealing with symptoms like [symptom]. Do you have any information on what illness could be causing this? Any recommendations for a doctor?""","""I've recently started experiencing [new symptom] alongside [symptom]. Should I provide this information to the doctor, and does it indicate anything specific?""","""I'm new to [city] and need to find a reliable healthcare facility. Could you provide guidance on which neighborhoods are known for quality medical services?"""
5
+ """I've recently encountered [symptom], and I'm uncertain about its implications. Could you guide me on when to consult a physician for a thorough assessment?""","""Apart from [symptom], I've been dealing with [new symptom]. Is this relevant to the initial concern, and should I discuss both symptoms during the consultation?""","""Considering [city]'s size, can you recommend the most convenient location for a healthcare facility, especially for [specialty] services?"""
6
+ """I suspect [symptom] might be related to a health issue. Can you provide information on how a doctor could assist me and offer suitable treatment options?""","""I didn't mention earlier, but I've also been having [new symptom] in addition to [symptom]. Does this change the potential causes, and should I be more concerned?""","""I'm searching for healthcare options in [city]. Are there specific districts or areas known for having top-notch medical facilities, especially for [specific medical need]?"""
7
+ """I've observed [symptom] and would like to understand its potential connection to [illness]. Any advice on consulting a doctor for personalized guidance?""","""I wanted to update you that besides [symptom], I've now noticed [new symptom]. How should I approach this with the doctor in terms of diagnosis and treatment?""","""In [city], where would you recommend seeking medical care, particularly for [specialty]? Any insights on the ideal location for quality healthcare services?"""
8
+ """I've been noticing [symptom], which could be signs of [illness]. Can you recommend a physician who specializes in this area?""","""I realized I forgot to mention [new symptom] along with [symptom]. Does this alter the initial assessment, and should I provide this information to the doctor?""","""I'm trying to find a healthcare facility in [city] that specializes in [specific medical need]. Could you suggest areas where I might find the best services?"""
9
+ """I'm seeking guidance on [symptom] and considering consulting a doctor. Any suggestions on how to approach this for a comprehensive evaluation?""","""In the context of [symptom], I've recently developed [new symptom]. Should I inform the doctor about this, and does it impact the recommended actions?""","""I'll be in [city] for a while and need to locate a healthcare facility. Any advice on which neighborhoods are most convenient for accessing quality medical care?"""
10
+ """Experiencing [symptom] has raised concerns. Could you advise on the next steps, and do you recommend consulting with a specific doctor?""","""I've been meaning to mention that, along with [symptom], I've also been dealing with [new symptom]. How does this factor into the overall evaluation by the doctor?""","""Can you provide recommendations for healthcare facilities in [city], particularly in areas known for exceptional [specialty] services?"""
11
+ """I'm uncertain about the origin of my [symptom], and I'm considering seeking medical advice. Can you guide me on consulting a doctor for assessments and recommendations?""","""I didn't include it earlier, but in addition to [symptom], I've experienced [new symptom]. Does this change the potential diagnosis, and should I seek further advice?""","""I'm interested in finding a healthcare facility in [city]. Could you guide me on the best locations known for reliable and accessible medical services?"""
12
+ """I've been struggling with [symptom] and would appreciate your insights on potential causes. Any recommendations for a skilled doctor?""","""On further reflection, I've noticed [new symptom] alongside [symptom]. How should I communicate this to the doctor, and does it impact the recommended course of action?""","""I need to find a healthcare facility in [city] specializing in [specific medical need]. Can you recommend areas that are convenient and well-regarded for medical services?"""
13
+ """Dealing with [symptom] has been challenging. Can you provide information on what illness might be associated with this, and any advice on consulting a professional?""","""I didn't mention earlier, but I've also been having [new symptom] in addition to [symptom]. Should I prioritize discussing this with the doctor during the consultation?""","""I'm currently in [city] and seeking a healthcare facility. Any insights on neighborhoods with accessible and reputable medical services, particularly for [specialty]?"""
14
+ """I've noticed [symptom] lately and am unsure about its implications. Could you guide me on when it's advisable to reach out to a doctor for assistance?""","""Besides [symptom], I've been experiencing [new symptom]. Is there specific information or context about these symptoms that would be helpful for the doctor to know?""","""Considering the layout of [city], where would you suggest locating a healthcare facility for efficient access to quality [specialty] services?"""
15
+ """Seeking advice on [symptom] – do you have suggestions for a specialist who can help diagnose and address this concern?""","""After our initial discussion about [symptom], I've become aware of [new symptom]. How can I ensure that the doctor is aware of this update, and does it change the evaluation?""","""I'm exploring healthcare options in [city]. Are there particular regions or districts known for having top-tier medical facilities, especially for [specific medical need]?"""
16
+ """Experiencing [symptom], which has raised concerns. Can you share insights on potential causes and advise on consulting a doctor for further evaluation?""","""I've realized that along with [symptom], I've been dealing with [new symptom]. Should I update the doctor on this during our consultation, and does it affect the diagnosis?""","""In [city], which areas should I focus on for finding a healthcare facility known for excellence in [specialty]? Any recommendations for convenient locations?"""
17
+ """I'm looking for guidance on [symptom] and considering reaching out to a doctor. Any tips on what to discuss during the consultation?""","""I forgot to mention earlier that, in addition to [symptom], I've also noticed [new symptom]. How should I convey this information to the doctor, and does it alter the initial assessment?""","""I'm in [city] temporarily and need to locate a reliable healthcare facility. Can you advise on neighborhoods that are known for quality medical care, especially for [specific medical need]?"""
18
+ """Noticed [symptom] recently and wondering if it's a cause for concern. Any recommendations for a doctor who can provide a thorough assessment?""","""I wanted to provide an update: besides [symptom], I've recently observed [new symptom]. What steps should I take to ensure the doctor is informed about both symptoms?""","""Looking for healthcare options in [city]. Any guidance on which parts of the city have healthcare facilities specializing in [specific medical need]?"""
19
+ """Dealing with [symptom] has prompted me to seek advice. Could you share information on consulting a professional for a more in-depth understanding?""","""In the context of [symptom], I've started experiencing [new symptom]. How can I best communicate this change to the doctor, and does it impact the recommended next steps?""","""Planning to move to [city] and want to find a healthcare facility. Any advice on neighborhoods with good access to quality medical services, particularly for [specialty]?"""
20
+ """I suspect [symptom] might be related to a health issue. Any advice on how to approach a conversation with a doctor about this concern?""","""I've realized that I didn't mention [new symptom] during our earlier discussion about [symptom]. Should I bring this up with the doctor, and does it affect the overall evaluation?""","""Can you provide insights on healthcare facilities in [city], specifically in areas known for excellent [specialty] services?"""
21
+ """Experiencing [symptom] and feeling unsure about the next steps. Can you provide guidance on seeking help from a doctor?""","""After our conversation, I've become aware of [new symptom] in addition to [symptom]. What guidance do you have on updating the doctor about this, and does it change the outlook?""","""I'm in need of medical services in [city]. Could you suggest locations with reputable healthcare facilities, especially those specializing in [specific medical need]?"""
22
+ """I've encountered [symptom] and would appreciate your expertise on potential causes. Any recommendations for a reputable doctor?""","""I've been reflecting on our discussion, and I've noticed [new symptom] alongside [symptom]. How should I convey this to the doctor, and does it influence the diagnosis?""","""I'm looking to find a healthcare facility in [city] with expertise in [specific medical need]. Can you recommend areas known for their reputable medical services?"""
23
+ """Dealing with persistent [symptom] which has led me to seek advice. Can you suggest a knowledgeable specialist for further consultation?""","""In addition to [symptom], I've recently started experiencing [new symptom]. What's the best way to update the doctor about this, and does it change the recommended actions?""","""In [city], which neighborhoods are considered ideal for accessing high-quality healthcare facilities, especially those specializing in [specialty]?"""
24
+ """Noticing [symptom] has raised concerns. Could you provide insights on what illness might be linked to this, and any tips for consulting a doctor?""","""I forgot to mention earlier that, along with [symptom], I've been dealing with [new symptom]. How can I ensure the doctor has a complete understanding of my symptoms?""","""I'm currently residing in [city] and need to locate a healthcare facility. Any suggestions on neighborhoods that offer convenient access to top-notch medical services, particularly for [specific medical need]?"""
25
+ """I'm seeking guidance on addressing [symptom]. Can you recommend a trusted professional who can assist with diagnosis and treatment?""","""After our initial conversation, I've become aware of [new symptom]. Should I bring this up with the doctor during our consultation, and does it impact the evaluation?""","""Considering the layout of [city], where would you recommend finding a healthcare facility specializing in [specialty]? Are there areas known for comprehensive medical services?"""
26
+ """Experiencing [symptom] which has prompted me to seek advice. Any advice on how to prepare for a discussion with a doctor about my concerns?""","""Besides [symptom], I've observed [new symptom]. How does this information affect the potential diagnosis, and what steps should I take when discussing this with the doctor?""","""Exploring healthcare options in [city]. Can you provide insights into districts or regions recognized for having outstanding medical facilities, particularly for [specific medical need]?"""
27
+ """I've observed [symptom] and am unsure about its implications. Can you guide me on when it's appropriate to reach out to a doctor for help?""","""I realized I didn't include [new symptom] when we talked about [symptom]. How should I communicate this to the doctor, and does it change the recommended course of action?""","""In [city], which locations are known for housing healthcare facilities with expertise in [specialty]? Any advice on the most convenient areas for seeking medical assistance?"""
28
+ """Dealing with [symptom] currently which led me to consider consulting a doctor. Any insights on what questions to ask during the appointment?""","""On further consideration, I've noticed [new symptom] in addition to [symptom]. Can you provide guidance on how to update the doctor about these symptoms effectively?""","""I'll be spending some time in [city] and need to identify a healthcare facility. Are there specific neighborhoods known for reliable medical services, especially for [specific medical need]?"""
29
+ """Noticed [symptom] recently and wondering if it warrants professional attention. Can you recommend a skilled doctor for an evaluation?""","""I've been monitoring my symptoms, and I've identified [new symptom] alongside [symptom]. What information should I prioritize when discussing this with the doctor?""","""Seeking healthcare options in [city]. Any guidance on neighborhoods known for having healthcare facilities that excel in [specialty] services?"""
30
+ """I suspect [symptom] might be related to a specific health issue. Any tips on approaching a conversation with a doctor for guidance?""","""I've recently become aware of [new symptom] in addition to [symptom]. How can I make sure the doctor is informed, and does it impact the overall assessment?""","""Can you share recommendations for healthcare facilities in [city], focusing on areas recognized for their excellence in [specific medical need] services?"""
31
+ """Experiencing [symptom] and seeking advice on the next steps. Can you provide information on consulting a doctor for a comprehensive assessment?""","""I wanted to update you that, apart from [symptom], I've been experiencing [new symptom]. What's the best way to communicate this change to the doctor, and does it alter the initial evaluation?""","""I'm in [city] and looking for a healthcare facility. Could you suggest locations that are well-regarded for their accessible and high-quality medical services, especially for [specialty]?"""
32
+ """I've been noticing [symptom] and would like your input on potential causes. Any recommendations for a proficient doctor I can consult with?""",,
33
+ """Dealing with [symptom] has prompted me to seek advice. Can you share insights on potential [illness] connections and suggest a qualified specialist?""",,
34
+ """Noticed [symptom] and feeling uncertain about its implications. Could you guide me on when it's appropriate to reach out to a knowledgeable doctor?""",,
35
+ """I'm looking for recommendations on addressing [symptom]. Can you suggest a reputable professional for a thorough evaluation and advice?""",,
36
+ """Experiencing [symptom] has raised concerns. Any tips on preparing for a consultation with a doctor to discuss potential causes and solutions?""",,
37
+ """I've observed [symptom] and am seeking guidance. Can you advise on the ideal time to consult a [specialty] doctor for a comprehensive assessment?""",,
38
+ """Dealing with [symptom] has prompted me to consider consulting a [specialty] doctor. Any insights on how to communicate my concerns effectively during the appointment?""",,
39
+ """Noticed [symptom] recently and wondering if it requires attention. Can you recommend an experienced [specialty] doctor for a thorough examination?""",,
40
+ """I suspect [symptom] might be linked to a specific health issue. Any advice on approaching a conversation with a [specialty] doctor to explore possible causes?""",,
41
+ """Experiencing [symptom] and seeking guidance. Can you provide information on consulting a doctor for an accurate diagnosis and recommended steps?""",,
42
+ """I've noticed [symptom] and would appreciate your insights on potential causes. Any recommendations for a skilled doctor who can provide guidance?""",,
43
+ """Dealing with persistent [symptom] has prompted me to seek advice. Can you suggest a reliable specialist for further examination?""",,
44
+ """Noticing [symptom] has raised concerns. Could you share information on possible [illness] connections and suggest a qualified doctor for consultation?""",,
45
+ """I'm seeking guidance on addressing [symptom]. Can you recommend an experienced professional for a comprehensive evaluation and advice?""",,
46
+ """Experiencing [symptom] has led me to seek advice. Any tips on preparing for a consultation with a doctor to discuss potential diagnoses and treatments?""",,
47
+ """I've observed [symptom] and am uncertain about its implications. Can you guide me on when it's appropriate to reach out to a knowledgeable doctor?""",,
48
+ """Dealing with [symptom] has prompted me to consider consulting a doctor. Any insights on how to communicate my concerns effectively during the appointment?""",,
49
+ """Noticed [symptom] recently and wondering if it requires professional attention. Can you recommend an experienced doctor for a thorough examination?""",,
50
+ """I suspect [symptom] might be linked to a specific health issue. Any advice on approaching a conversation with a doctor to explore potential causes?""",,
51
+ """Experiencing [symptom] and seeking guidance. Can you provide information on consulting a doctor for an accurate diagnosis and recommended steps?""",,
dataset_processing/process_dataset.ipynb ADDED
@@ -0,0 +1,1509 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 40,
6
+ "id": "ccd4f6a4-aab8-4bec-9e9e-1c003f9fa117",
7
+ "metadata": {
8
+ "tags": []
9
+ },
10
+ "outputs": [],
11
+ "source": [
12
+ "import pandas as pd\n",
13
+ "import numpy as np\n",
14
+ "import random"
15
+ ]
16
+ },
17
+ {
18
+ "cell_type": "code",
19
+ "execution_count": 28,
20
+ "id": "c31131b7-5697-4d8d-ae31-e21033fa19c2",
21
+ "metadata": {
22
+ "tags": []
23
+ },
24
+ "outputs": [
25
+ {
26
+ "data": {
27
+ "text/plain": [
28
+ "(788, 7)"
29
+ ]
30
+ },
31
+ "execution_count": 28,
32
+ "metadata": {},
33
+ "output_type": "execute_result"
34
+ }
35
+ ],
36
+ "source": [
37
+ "docDf = pd.read_csv('datasets/cleaned_doctors_data_with_city_province.csv')\n",
38
+ "docDf.shape"
39
+ ]
40
+ },
41
+ {
42
+ "cell_type": "code",
43
+ "execution_count": 29,
44
+ "id": "efc0967f-46f4-4029-a436-87091411ee8e",
45
+ "metadata": {
46
+ "tags": []
47
+ },
48
+ "outputs": [
49
+ {
50
+ "name": "stdout",
51
+ "output_type": "stream",
52
+ "text": [
53
+ "1\n"
54
+ ]
55
+ }
56
+ ],
57
+ "source": [
58
+ "print(docDf['ADDRESS'].isna().sum())"
59
+ ]
60
+ },
61
+ {
62
+ "cell_type": "markdown",
63
+ "id": "372fa39b-bbf3-4d65-8425-8f24318daa2f",
64
+ "metadata": {},
65
+ "source": [
66
+ "Drop entries with null address:"
67
+ ]
68
+ },
69
+ {
70
+ "cell_type": "code",
71
+ "execution_count": 30,
72
+ "id": "1be7df67-ab3a-4edb-8a9a-0f65364f412c",
73
+ "metadata": {
74
+ "tags": []
75
+ },
76
+ "outputs": [],
77
+ "source": [
78
+ "docDf = docDf.dropna(subset=[\"ADDRESS\"])"
79
+ ]
80
+ },
81
+ {
82
+ "cell_type": "markdown",
83
+ "id": "b2f821b5-88dd-4b1a-bf96-6b59d6485534",
84
+ "metadata": {},
85
+ "source": [
86
+ "Drop all doctors specializing in Radiology (does not cater to illnesses):"
87
+ ]
88
+ },
89
+ {
90
+ "cell_type": "code",
91
+ "execution_count": 31,
92
+ "id": "bd322e8d-7f7a-43ee-834c-0d4cc7ea7129",
93
+ "metadata": {
94
+ "tags": []
95
+ },
96
+ "outputs": [],
97
+ "source": [
98
+ "docDf = docDf.drop(docDf[docDf['SPECIALIZATION'] == 'Radiology'].index)"
99
+ ]
100
+ },
101
+ {
102
+ "cell_type": "markdown",
103
+ "id": "e94a0a42-0822-47cb-ab00-53e5372c0298",
104
+ "metadata": {},
105
+ "source": [
106
+ "Drop \"province\" column:"
107
+ ]
108
+ },
109
+ {
110
+ "cell_type": "code",
111
+ "execution_count": 32,
112
+ "id": "67bd02a3-8645-49d0-bc44-6f73a5b90e1d",
113
+ "metadata": {
114
+ "tags": []
115
+ },
116
+ "outputs": [],
117
+ "source": [
118
+ "docDf = docDf.drop(columns=['PROVINCE'])"
119
+ ]
120
+ },
121
+ {
122
+ "cell_type": "code",
123
+ "execution_count": 33,
124
+ "id": "6ad9f775-8bf5-4366-9384-dff80df0e4e5",
125
+ "metadata": {
126
+ "tags": []
127
+ },
128
+ "outputs": [
129
+ {
130
+ "data": {
131
+ "text/html": [
132
+ "<div>\n",
133
+ "<style scoped>\n",
134
+ " .dataframe tbody tr th:only-of-type {\n",
135
+ " vertical-align: middle;\n",
136
+ " }\n",
137
+ "\n",
138
+ " .dataframe tbody tr th {\n",
139
+ " vertical-align: top;\n",
140
+ " }\n",
141
+ "\n",
142
+ " .dataframe thead th {\n",
143
+ " text-align: right;\n",
144
+ " }\n",
145
+ "</style>\n",
146
+ "<table border=\"1\" class=\"dataframe\">\n",
147
+ " <thead>\n",
148
+ " <tr style=\"text-align: right;\">\n",
149
+ " <th></th>\n",
150
+ " <th>NAME</th>\n",
151
+ " <th>SPECIALIZATION</th>\n",
152
+ " <th>PHONE</th>\n",
153
+ " <th>ADDRESS</th>\n",
154
+ " <th>SCHEDULE</th>\n",
155
+ " <th>CITY</th>\n",
156
+ " </tr>\n",
157
+ " </thead>\n",
158
+ " <tbody>\n",
159
+ " <tr>\n",
160
+ " <th>0</th>\n",
161
+ " <td>Miko Angelo De Leon, MD</td>\n",
162
+ " <td>Anesthesia</td>\n",
163
+ " <td>NaN</td>\n",
164
+ " <td>Chong Hua Hospital\\nDon Mariano Cui St., Fuent...</td>\n",
165
+ " <td>on call</td>\n",
166
+ " <td>Maria</td>\n",
167
+ " </tr>\n",
168
+ " <tr>\n",
169
+ " <th>1</th>\n",
170
+ " <td>Cristina V. Formoso-Avendaño, MD</td>\n",
171
+ " <td>Anesthesia</td>\n",
172
+ " <td>NaN</td>\n",
173
+ " <td>St. Luke’s Medical Center – Quezon City\\nPain ...</td>\n",
174
+ " <td>Mon: 8:00AM – 5:00PM\\nTue: 8:00AM – 5:00PM\\nWe...</td>\n",
175
+ " <td>Rodriguez</td>\n",
176
+ " </tr>\n",
177
+ " <tr>\n",
178
+ " <th>2</th>\n",
179
+ " <td>Sherwin Tayag, MD</td>\n",
180
+ " <td>Anesthesia</td>\n",
181
+ " <td>(0922) 876 8435</td>\n",
182
+ " <td>Manila Medical Center\\nUN Avenue, Taft Ave, Er...</td>\n",
183
+ " <td>NaN</td>\n",
184
+ " <td>Taft</td>\n",
185
+ " </tr>\n",
186
+ " <tr>\n",
187
+ " <th>3</th>\n",
188
+ " <td>Maritess Gonzales, MD</td>\n",
189
+ " <td>Anesthesia</td>\n",
190
+ " <td>NaN</td>\n",
191
+ " <td>Metronorth Medical Center\\nMindanao Avenue Que...</td>\n",
192
+ " <td>NaN</td>\n",
193
+ " <td>Quezon</td>\n",
194
+ " </tr>\n",
195
+ " <tr>\n",
196
+ " <th>4</th>\n",
197
+ " <td>Aimee Flor Barrion, MD</td>\n",
198
+ " <td>Anesthesia</td>\n",
199
+ " <td>(02) 771 9000</td>\n",
200
+ " <td>Asian Hospital And Medical Center\\n2205 Civic ...</td>\n",
201
+ " <td>NaN</td>\n",
202
+ " <td>Muntinlupa</td>\n",
203
+ " </tr>\n",
204
+ " </tbody>\n",
205
+ "</table>\n",
206
+ "</div>"
207
+ ],
208
+ "text/plain": [
209
+ " NAME SPECIALIZATION PHONE \\\n",
210
+ "0 Miko Angelo De Leon, MD Anesthesia NaN \n",
211
+ "1 Cristina V. Formoso-Avendaño, MD Anesthesia NaN \n",
212
+ "2 Sherwin Tayag, MD Anesthesia (0922) 876 8435 \n",
213
+ "3 Maritess Gonzales, MD Anesthesia NaN \n",
214
+ "4 Aimee Flor Barrion, MD Anesthesia (02) 771 9000 \n",
215
+ "\n",
216
+ " ADDRESS \\\n",
217
+ "0 Chong Hua Hospital\\nDon Mariano Cui St., Fuent... \n",
218
+ "1 St. Luke’s Medical Center – Quezon City\\nPain ... \n",
219
+ "2 Manila Medical Center\\nUN Avenue, Taft Ave, Er... \n",
220
+ "3 Metronorth Medical Center\\nMindanao Avenue Que... \n",
221
+ "4 Asian Hospital And Medical Center\\n2205 Civic ... \n",
222
+ "\n",
223
+ " SCHEDULE CITY \n",
224
+ "0 on call Maria \n",
225
+ "1 Mon: 8:00AM – 5:00PM\\nTue: 8:00AM – 5:00PM\\nWe... Rodriguez \n",
226
+ "2 NaN Taft \n",
227
+ "3 NaN Quezon \n",
228
+ "4 NaN Muntinlupa "
229
+ ]
230
+ },
231
+ "execution_count": 33,
232
+ "metadata": {},
233
+ "output_type": "execute_result"
234
+ }
235
+ ],
236
+ "source": [
237
+ "docDf.head()"
238
+ ]
239
+ },
240
+ {
241
+ "cell_type": "code",
242
+ "execution_count": 26,
243
+ "id": "8f6f664a-ea7f-41b4-91cf-8d1156140661",
244
+ "metadata": {
245
+ "tags": []
246
+ },
247
+ "outputs": [
248
+ {
249
+ "data": {
250
+ "text/plain": [
251
+ "array(['Maria', 'Rodriguez', 'Taft', 'Quezon', 'Muntinlupa', 'Rizal',\n",
252
+ " 'Manila', 'Santo Tomas', nan, 'Pio Duran', 'Labo', 'Makati',\n",
253
+ " 'Mandaluyong', 'Valenzuela', 'San Juan', 'Ramon', 'Pasay',\n",
254
+ " 'Llorente', 'Pasig', 'Santiago', 'San Roque', 'San Miguel',\n",
255
+ " 'Taguig', 'Asturias', 'Roxas', 'Rosario', 'Lopez Jaena',\n",
256
+ " 'Catarman', 'Tagaytay', 'Sikatuna', 'Balasan', 'Sampaloc',\n",
257
+ " 'Libmanan', 'Magsaysay', 'Marilao', 'Los Baños', 'San Pedro',\n",
258
+ " 'Oton', 'San Vicente', 'Jones', 'Lapu-Lapu', 'Calamba',\n",
259
+ " 'MacArthur', 'Batan', 'San Fernando', 'San Nicolas', 'San Rafael',\n",
260
+ " 'Trinidad', 'Aguilar', 'Isabela', 'Valencia', 'San Dionisio',\n",
261
+ " 'Quirino', 'Batangas City', 'Caba', 'San Jose', 'Bulan', 'Luna',\n",
262
+ " 'Pamplona', 'Subic', 'Kauswagan', 'Mandaue', 'San Marcelino',\n",
263
+ " 'San Carlos', 'Burgos', 'Taytay', 'Pateros', 'Ramos', 'Biñan',\n",
264
+ " 'Las Piñas', 'Marikina', 'Naga', 'Pilar', 'Malolos', 'Jaro',\n",
265
+ " 'Bacolod', 'Lopez', 'Tamparan', 'Iba', 'Mabini', 'Bula', 'Laurel',\n",
266
+ " 'Balanga', 'Daraga', 'Teresa', 'Santa Cruz', 'Dagupan', 'Leyte',\n",
267
+ " 'Agoo', 'Lemery', 'Koronadal', 'Tayum', 'Palanan', 'San Andres',\n",
268
+ " 'San Francisco', 'Victoria', 'San Agustin', 'Carmen', 'Manaoag',\n",
269
+ " 'Balingasag', 'Bacoor', 'Jose Abad Santos', 'San Isidro', 'Ocampo',\n",
270
+ " 'Digos', 'Parañaque', 'Real', 'Baler', 'Malabon', 'Santo Domingo',\n",
271
+ " 'Leon', 'Guiguinto', 'Medina', 'Buguias', 'San Gabriel'],\n",
272
+ " dtype=object)"
273
+ ]
274
+ },
275
+ "execution_count": 26,
276
+ "metadata": {},
277
+ "output_type": "execute_result"
278
+ }
279
+ ],
280
+ "source": [
281
+ "pd.unique(docDf['CITY'])"
282
+ ]
283
+ },
284
+ {
285
+ "cell_type": "code",
286
+ "execution_count": 8,
287
+ "id": "6e507cea-a7fc-43d5-9596-6a0d389a83e4",
288
+ "metadata": {
289
+ "tags": []
290
+ },
291
+ "outputs": [
292
+ {
293
+ "data": {
294
+ "text/html": [
295
+ "<div>\n",
296
+ "<style scoped>\n",
297
+ " .dataframe tbody tr th:only-of-type {\n",
298
+ " vertical-align: middle;\n",
299
+ " }\n",
300
+ "\n",
301
+ " .dataframe tbody tr th {\n",
302
+ " vertical-align: top;\n",
303
+ " }\n",
304
+ "\n",
305
+ " .dataframe thead th {\n",
306
+ " text-align: right;\n",
307
+ " }\n",
308
+ "</style>\n",
309
+ "<table border=\"1\" class=\"dataframe\">\n",
310
+ " <thead>\n",
311
+ " <tr style=\"text-align: right;\">\n",
312
+ " <th></th>\n",
313
+ " <th>SPECIALIZATION</th>\n",
314
+ " <th>ILLNESS</th>\n",
315
+ " <th>SYMPTOMS</th>\n",
316
+ " </tr>\n",
317
+ " </thead>\n",
318
+ " <tbody>\n",
319
+ " <tr>\n",
320
+ " <th>0</th>\n",
321
+ " <td>Anesthesia</td>\n",
322
+ " <td>Local anesthetic toxicity</td>\n",
323
+ " <td>tingling</td>\n",
324
+ " </tr>\n",
325
+ " <tr>\n",
326
+ " <th>1</th>\n",
327
+ " <td>Anesthesia</td>\n",
328
+ " <td>Local anesthetic toxicity</td>\n",
329
+ " <td>seizures</td>\n",
330
+ " </tr>\n",
331
+ " <tr>\n",
332
+ " <th>2</th>\n",
333
+ " <td>Anesthesia</td>\n",
334
+ " <td>Local anesthetic toxicity</td>\n",
335
+ " <td>cardiac arrest</td>\n",
336
+ " </tr>\n",
337
+ " <tr>\n",
338
+ " <th>3</th>\n",
339
+ " <td>Anesthesia</td>\n",
340
+ " <td>Local anesthetic toxicity</td>\n",
341
+ " <td>confusion</td>\n",
342
+ " </tr>\n",
343
+ " <tr>\n",
344
+ " <th>4</th>\n",
345
+ " <td>Anesthesia</td>\n",
346
+ " <td>Local anesthetic toxicity</td>\n",
347
+ " <td>dizziness</td>\n",
348
+ " </tr>\n",
349
+ " </tbody>\n",
350
+ "</table>\n",
351
+ "</div>"
352
+ ],
353
+ "text/plain": [
354
+ " SPECIALIZATION ILLNESS SYMPTOMS\n",
355
+ "0 Anesthesia Local anesthetic toxicity tingling\n",
356
+ "1 Anesthesia Local anesthetic toxicity seizures\n",
357
+ "2 Anesthesia Local anesthetic toxicity cardiac arrest\n",
358
+ "3 Anesthesia Local anesthetic toxicity confusion\n",
359
+ "4 Anesthesia Local anesthetic toxicity dizziness"
360
+ ]
361
+ },
362
+ "execution_count": 8,
363
+ "metadata": {},
364
+ "output_type": "execute_result"
365
+ }
366
+ ],
367
+ "source": [
368
+ "illnessDf = pd.read_csv('datasets/illness_symptom.csv')\n",
369
+ "illnessDf.head()"
370
+ ]
371
+ },
372
+ {
373
+ "cell_type": "code",
374
+ "execution_count": 9,
375
+ "id": "3acb4df1-eb88-4744-9fed-182d22c5f7df",
376
+ "metadata": {
377
+ "tags": []
378
+ },
379
+ "outputs": [
380
+ {
381
+ "name": "stdout",
382
+ "output_type": "stream",
383
+ "text": [
384
+ "1\n"
385
+ ]
386
+ }
387
+ ],
388
+ "source": [
389
+ "print(illnessDf['ILLNESS'].isna().sum())"
390
+ ]
391
+ },
392
+ {
393
+ "cell_type": "markdown",
394
+ "id": "7006dff1-0b34-42d1-a5c0-585f864b58eb",
395
+ "metadata": {},
396
+ "source": [
397
+ "Drop entries with null illness:"
398
+ ]
399
+ },
400
+ {
401
+ "cell_type": "code",
402
+ "execution_count": 10,
403
+ "id": "a6cd7b76-46c1-483a-8ec4-476ae40cf11a",
404
+ "metadata": {
405
+ "tags": []
406
+ },
407
+ "outputs": [],
408
+ "source": [
409
+ "illnessDf = illnessDf.dropna(subset=[\"ILLNESS\"])"
410
+ ]
411
+ },
412
+ {
413
+ "cell_type": "markdown",
414
+ "id": "2d194e46-43aa-4d20-858b-24cce9622370",
415
+ "metadata": {},
416
+ "source": [
417
+ "Drop entries with Radiology specialization"
418
+ ]
419
+ },
420
+ {
421
+ "cell_type": "code",
422
+ "execution_count": 11,
423
+ "id": "4ea60490-2b02-4c0b-afed-0b08fb45061b",
424
+ "metadata": {
425
+ "tags": []
426
+ },
427
+ "outputs": [],
428
+ "source": [
429
+ "illnessDf = illnessDf.drop(illnessDf[illnessDf['SPECIALIZATION'] == 'Radiology'].index)"
430
+ ]
431
+ },
432
+ {
433
+ "cell_type": "code",
434
+ "execution_count": 12,
435
+ "id": "c1551c0b-05f0-4651-933e-18f956297c10",
436
+ "metadata": {
437
+ "tags": []
438
+ },
439
+ "outputs": [
440
+ {
441
+ "name": "stdout",
442
+ "output_type": "stream",
443
+ "text": [
444
+ "435\n"
445
+ ]
446
+ }
447
+ ],
448
+ "source": [
449
+ "print(len(pd.unique(illnessDf['ILLNESS'])))"
450
+ ]
451
+ },
452
+ {
453
+ "cell_type": "markdown",
454
+ "id": "b669a505-2c9d-4e14-826b-764077880a4d",
455
+ "metadata": {},
456
+ "source": [
457
+ "~ 435 unique illnesses"
458
+ ]
459
+ },
460
+ {
461
+ "cell_type": "code",
462
+ "execution_count": 13,
463
+ "id": "a41a08b7-93e7-4fde-9105-ecd383910d30",
464
+ "metadata": {
465
+ "tags": []
466
+ },
467
+ "outputs": [],
468
+ "source": [
469
+ "symptomsDf = pd.DataFrame()"
470
+ ]
471
+ },
472
+ {
473
+ "cell_type": "code",
474
+ "execution_count": 14,
475
+ "id": "7877703d-bfe1-4c19-8acd-fad850ebf982",
476
+ "metadata": {
477
+ "tags": []
478
+ },
479
+ "outputs": [],
480
+ "source": [
481
+ "symptomsDf[\"ILLNESS\"] = pd.unique(illnessDf['ILLNESS'])"
482
+ ]
483
+ },
484
+ {
485
+ "cell_type": "code",
486
+ "execution_count": 15,
487
+ "id": "83635e1e-398e-4835-83e9-fe2de48483d6",
488
+ "metadata": {
489
+ "tags": []
490
+ },
491
+ "outputs": [],
492
+ "source": [
493
+ "symptomsDf[\"LABEL\"] = symptomsDf.index"
494
+ ]
495
+ },
496
+ {
497
+ "cell_type": "code",
498
+ "execution_count": 16,
499
+ "id": "8f86ee71-0b62-4284-abed-37b458d35e71",
500
+ "metadata": {
501
+ "tags": []
502
+ },
503
+ "outputs": [],
504
+ "source": [
505
+ "def enumerate_words(words):\n",
506
+ " if len(words) == 0:\n",
507
+ " return \"\"\n",
508
+ " elif len(words) == 1:\n",
509
+ " return words[0]\n",
510
+ " else:\n",
511
+ " # Join all words except the last one with \", \"\n",
512
+ " joined_words = \", \".join(words[:-1])\n",
513
+ " # Add the last word preceded by \"and \"\n",
514
+ " result = f\"{joined_words}, and {words[-1]}\"\n",
515
+ " return result"
516
+ ]
517
+ },
518
+ {
519
+ "cell_type": "code",
520
+ "execution_count": 17,
521
+ "id": "24cc6884-2ed9-4e90-b26f-7ce1362e304e",
522
+ "metadata": {
523
+ "tags": []
524
+ },
525
+ "outputs": [],
526
+ "source": [
527
+ "templateDf = pd.read_csv('datasets/sentence_templates.csv')"
528
+ ]
529
+ },
530
+ {
531
+ "cell_type": "code",
532
+ "execution_count": 18,
533
+ "id": "6352cbca-4d89-43fb-9f0d-a3abe48c1f74",
534
+ "metadata": {
535
+ "tags": []
536
+ },
537
+ "outputs": [
538
+ {
539
+ "data": {
540
+ "text/html": [
541
+ "<div>\n",
542
+ "<style scoped>\n",
543
+ " .dataframe tbody tr th:only-of-type {\n",
544
+ " vertical-align: middle;\n",
545
+ " }\n",
546
+ "\n",
547
+ " .dataframe tbody tr th {\n",
548
+ " vertical-align: top;\n",
549
+ " }\n",
550
+ "\n",
551
+ " .dataframe thead th {\n",
552
+ " text-align: right;\n",
553
+ " }\n",
554
+ "</style>\n",
555
+ "<table border=\"1\" class=\"dataframe\">\n",
556
+ " <thead>\n",
557
+ " <tr style=\"text-align: right;\">\n",
558
+ " <th></th>\n",
559
+ " <th>symptoms</th>\n",
560
+ " <th>follow_up</th>\n",
561
+ " <th>city</th>\n",
562
+ " </tr>\n",
563
+ " </thead>\n",
564
+ " <tbody>\n",
565
+ " <tr>\n",
566
+ " <th>0</th>\n",
567
+ " <td>\"I've been experiencing [symptom]. Could you p...</td>\n",
568
+ " <td>\"In addition to [symptom], I've also noticed [...</td>\n",
569
+ " <td>\"I'm looking for recommendations on healthcare...</td>\n",
570
+ " </tr>\n",
571
+ " <tr>\n",
572
+ " <th>1</th>\n",
573
+ " <td>\"I've noticed persistent [symptom], and I'm se...</td>\n",
574
+ " <td>\"I forgot to mention earlier, but along with [...</td>\n",
575
+ " <td>\"In [city], which areas have reputable healthc...</td>\n",
576
+ " </tr>\n",
577
+ " <tr>\n",
578
+ " <th>2</th>\n",
579
+ " <td>\"I'm dealing with symptoms like [symptom]. Do ...</td>\n",
580
+ " <td>\"I've recently started experiencing [new sympt...</td>\n",
581
+ " <td>\"I'm new to [city] and need to find a reliable...</td>\n",
582
+ " </tr>\n",
583
+ " <tr>\n",
584
+ " <th>3</th>\n",
585
+ " <td>\"I've recently encountered [symptom], and I'm ...</td>\n",
586
+ " <td>\"Apart from [symptom], I've been dealing with ...</td>\n",
587
+ " <td>\"Considering [city]'s size, can you recommend ...</td>\n",
588
+ " </tr>\n",
589
+ " <tr>\n",
590
+ " <th>4</th>\n",
591
+ " <td>\"I suspect [symptom] might be related to a hea...</td>\n",
592
+ " <td>\"I didn't mention earlier, but I've also been ...</td>\n",
593
+ " <td>\"I'm searching for healthcare options in [city...</td>\n",
594
+ " </tr>\n",
595
+ " </tbody>\n",
596
+ "</table>\n",
597
+ "</div>"
598
+ ],
599
+ "text/plain": [
600
+ " symptoms \\\n",
601
+ "0 \"I've been experiencing [symptom]. Could you p... \n",
602
+ "1 \"I've noticed persistent [symptom], and I'm se... \n",
603
+ "2 \"I'm dealing with symptoms like [symptom]. Do ... \n",
604
+ "3 \"I've recently encountered [symptom], and I'm ... \n",
605
+ "4 \"I suspect [symptom] might be related to a hea... \n",
606
+ "\n",
607
+ " follow_up \\\n",
608
+ "0 \"In addition to [symptom], I've also noticed [... \n",
609
+ "1 \"I forgot to mention earlier, but along with [... \n",
610
+ "2 \"I've recently started experiencing [new sympt... \n",
611
+ "3 \"Apart from [symptom], I've been dealing with ... \n",
612
+ "4 \"I didn't mention earlier, but I've also been ... \n",
613
+ "\n",
614
+ " city \n",
615
+ "0 \"I'm looking for recommendations on healthcare... \n",
616
+ "1 \"In [city], which areas have reputable healthc... \n",
617
+ "2 \"I'm new to [city] and need to find a reliable... \n",
618
+ "3 \"Considering [city]'s size, can you recommend ... \n",
619
+ "4 \"I'm searching for healthcare options in [city... "
620
+ ]
621
+ },
622
+ "execution_count": 18,
623
+ "metadata": {},
624
+ "output_type": "execute_result"
625
+ }
626
+ ],
627
+ "source": [
628
+ "templateDf.head()"
629
+ ]
630
+ },
631
+ {
632
+ "cell_type": "code",
633
+ "execution_count": 19,
634
+ "id": "fc4d705a-00a0-49f2-a897-cc26edb3d12b",
635
+ "metadata": {
636
+ "tags": []
637
+ },
638
+ "outputs": [],
639
+ "source": [
640
+ "templateDf['symptoms'] = templateDf['symptoms'].str.strip('\"')\n",
641
+ "templateDf['follow_up'] = templateDf['follow_up'].str.strip('\"')"
642
+ ]
643
+ },
644
+ {
645
+ "cell_type": "code",
646
+ "execution_count": 20,
647
+ "id": "5c9aff7e-4784-4093-85d3-cbe6fc53a1a2",
648
+ "metadata": {
649
+ "tags": []
650
+ },
651
+ "outputs": [
652
+ {
653
+ "data": {
654
+ "text/html": [
655
+ "<div>\n",
656
+ "<style scoped>\n",
657
+ " .dataframe tbody tr th:only-of-type {\n",
658
+ " vertical-align: middle;\n",
659
+ " }\n",
660
+ "\n",
661
+ " .dataframe tbody tr th {\n",
662
+ " vertical-align: top;\n",
663
+ " }\n",
664
+ "\n",
665
+ " .dataframe thead th {\n",
666
+ " text-align: right;\n",
667
+ " }\n",
668
+ "</style>\n",
669
+ "<table border=\"1\" class=\"dataframe\">\n",
670
+ " <thead>\n",
671
+ " <tr style=\"text-align: right;\">\n",
672
+ " <th></th>\n",
673
+ " <th>symptoms</th>\n",
674
+ " <th>follow_up</th>\n",
675
+ " <th>city</th>\n",
676
+ " </tr>\n",
677
+ " </thead>\n",
678
+ " <tbody>\n",
679
+ " <tr>\n",
680
+ " <th>0</th>\n",
681
+ " <td>I've been experiencing [symptom]. Could you pr...</td>\n",
682
+ " <td>In addition to [symptom], I've also noticed [n...</td>\n",
683
+ " <td>\"I'm looking for recommendations on healthcare...</td>\n",
684
+ " </tr>\n",
685
+ " <tr>\n",
686
+ " <th>1</th>\n",
687
+ " <td>I've noticed persistent [symptom], and I'm see...</td>\n",
688
+ " <td>I forgot to mention earlier, but along with [s...</td>\n",
689
+ " <td>\"In [city], which areas have reputable healthc...</td>\n",
690
+ " </tr>\n",
691
+ " <tr>\n",
692
+ " <th>2</th>\n",
693
+ " <td>I'm dealing with symptoms like [symptom]. Do y...</td>\n",
694
+ " <td>I've recently started experiencing [new sympto...</td>\n",
695
+ " <td>\"I'm new to [city] and need to find a reliable...</td>\n",
696
+ " </tr>\n",
697
+ " <tr>\n",
698
+ " <th>3</th>\n",
699
+ " <td>I've recently encountered [symptom], and I'm u...</td>\n",
700
+ " <td>Apart from [symptom], I've been dealing with [...</td>\n",
701
+ " <td>\"Considering [city]'s size, can you recommend ...</td>\n",
702
+ " </tr>\n",
703
+ " <tr>\n",
704
+ " <th>4</th>\n",
705
+ " <td>I suspect [symptom] might be related to a heal...</td>\n",
706
+ " <td>I didn't mention earlier, but I've also been h...</td>\n",
707
+ " <td>\"I'm searching for healthcare options in [city...</td>\n",
708
+ " </tr>\n",
709
+ " </tbody>\n",
710
+ "</table>\n",
711
+ "</div>"
712
+ ],
713
+ "text/plain": [
714
+ " symptoms \\\n",
715
+ "0 I've been experiencing [symptom]. Could you pr... \n",
716
+ "1 I've noticed persistent [symptom], and I'm see... \n",
717
+ "2 I'm dealing with symptoms like [symptom]. Do y... \n",
718
+ "3 I've recently encountered [symptom], and I'm u... \n",
719
+ "4 I suspect [symptom] might be related to a heal... \n",
720
+ "\n",
721
+ " follow_up \\\n",
722
+ "0 In addition to [symptom], I've also noticed [n... \n",
723
+ "1 I forgot to mention earlier, but along with [s... \n",
724
+ "2 I've recently started experiencing [new sympto... \n",
725
+ "3 Apart from [symptom], I've been dealing with [... \n",
726
+ "4 I didn't mention earlier, but I've also been h... \n",
727
+ "\n",
728
+ " city \n",
729
+ "0 \"I'm looking for recommendations on healthcare... \n",
730
+ "1 \"In [city], which areas have reputable healthc... \n",
731
+ "2 \"I'm new to [city] and need to find a reliable... \n",
732
+ "3 \"Considering [city]'s size, can you recommend ... \n",
733
+ "4 \"I'm searching for healthcare options in [city... "
734
+ ]
735
+ },
736
+ "execution_count": 20,
737
+ "metadata": {},
738
+ "output_type": "execute_result"
739
+ }
740
+ ],
741
+ "source": [
742
+ "templateDf.head()"
743
+ ]
744
+ },
745
+ {
746
+ "cell_type": "code",
747
+ "execution_count": 21,
748
+ "id": "5d100315-5436-44ac-b11c-2d921a66d559",
749
+ "metadata": {
750
+ "tags": []
751
+ },
752
+ "outputs": [],
753
+ "source": [
754
+ "def replace_symptom(text, replacement):\n",
755
+ " return text.replace(\"[symptom]\", replacement)\n",
756
+ "\n",
757
+ "def replace_new_symptom(text, replacement):\n",
758
+ " return text.replace(\"[new symptom]\", replacement)\n",
759
+ "\n",
760
+ "def replace_illness(text, replacement):\n",
761
+ " return text.replace(\"[illness]\", replacement)\n"
762
+ ]
763
+ },
764
+ {
765
+ "cell_type": "code",
766
+ "execution_count": 22,
767
+ "id": "e028579d-d812-48a2-9cd1-e1699af405a9",
768
+ "metadata": {
769
+ "tags": []
770
+ },
771
+ "outputs": [],
772
+ "source": [
773
+ "promptsDf = pd.DataFrame()"
774
+ ]
775
+ },
776
+ {
777
+ "cell_type": "code",
778
+ "execution_count": 23,
779
+ "id": "daacfb05-3684-47f1-8e52-56cfcbddd6eb",
780
+ "metadata": {
781
+ "tags": []
782
+ },
783
+ "outputs": [],
784
+ "source": [
785
+ "num_prompts_symptoms = 15\n",
786
+ "num_prompts_symptoms_single = 3\n",
787
+ "num_prompts_follow_up = 4"
788
+ ]
789
+ },
790
+ {
791
+ "cell_type": "code",
792
+ "execution_count": 24,
793
+ "id": "5a87a0c1-4a6a-4b97-969c-a18d7b660507",
794
+ "metadata": {
795
+ "tags": []
796
+ },
797
+ "outputs": [
798
+ {
799
+ "name": "stderr",
800
+ "output_type": "stream",
801
+ "text": [
802
+ "C:\\Users\\HTMI\\AppData\\Local\\Temp\\ipykernel_15288\\3613258936.py:5: FutureWarning: Setting an item of incompatible dtype is deprecated and will raise in a future error of pandas. Value 'tingling, seizures, cardiac arrest, confusion, dizziness, blurred vision, muscle twitching, numbness, unconsciousness, respiratory depression, hypotension, bradycardia, and arrhythmias' has dtype incompatible with float64, please explicitly cast to a compatible dtype first.\n",
803
+ " symptomsDf.at[symptomsDf[symptomsDf[\"ILLNESS\"]==illness].index[0], \"SYMPTOMS\"] = symptomsStr\n"
804
+ ]
805
+ }
806
+ ],
807
+ "source": [
808
+ "for illness in symptomsDf[\"ILLNESS\"]:\n",
809
+ " tempDf = illnessDf[illnessDf[\"ILLNESS\"] == illness]\n",
810
+ " symptomsList = tempDf[\"SYMPTOMS\"].astype(str).tolist()\n",
811
+ " symptomsStr = enumerate_words(symptomsList)\n",
812
+ " symptomsDf.at[symptomsDf[symptomsDf[\"ILLNESS\"]==illness].index[0], \"SYMPTOMS\"] = symptomsStr\n",
813
+ " \n",
814
+ " for prompt in templateDf[\"symptoms\"].sample(n=num_prompts_symptoms, replace=False):\n",
815
+ " random.shuffle(symptomsList)\n",
816
+ " shuffleSymptomsStr = enumerate_words(symptomsList)\n",
817
+ " filled_template = replace_symptom(prompt, shuffleSymptomsStr)\n",
818
+ " filled_template = replace_illness(filled_template, illness)\n",
819
+ " new_row = pd.DataFrame({'prompt': [filled_template], 'illness': symptomsDf.at[symptomsDf[symptomsDf[\"ILLNESS\"]==illness].index[0], \"ILLNESS\"], 'label': symptomsDf.at[symptomsDf[symptomsDf[\"ILLNESS\"]==illness].index[0], \"LABEL\"]})\n",
820
+ " promptsDf = pd.concat([promptsDf, new_row], ignore_index=True)\n",
821
+ " \n",
822
+ " for symptom in symptomsList:\n",
823
+ " for prompt in templateDf[\"symptoms\"].sample(n=num_prompts_symptoms_single, replace=False):\n",
824
+ " filled_template = replace_symptom(prompt, symptom)\n",
825
+ " filled_template = replace_illness(filled_template, illness)\n",
826
+ " new_row = pd.DataFrame({'prompt': [filled_template], 'illness': symptomsDf.at[symptomsDf[symptomsDf[\"ILLNESS\"]==illness].index[0], \"ILLNESS\"], 'label': symptomsDf.at[symptomsDf[symptomsDf[\"ILLNESS\"]==illness].index[0], \"LABEL\"]})\n",
827
+ " promptsDf = pd.concat([promptsDf, new_row], ignore_index=True)\n",
828
+ " \n",
829
+ " followUp = templateDf.dropna(subset=[\"follow_up\"]).sample(n=num_prompts_follow_up, replace=False)\n",
830
+ " followUp = followUp[\"follow_up\"]\n",
831
+ " for prompt in followUp:\n",
832
+ " tempList = [item for item in symptomsList if item != symptom]\n",
833
+ " if(len(tempList) == 0):\n",
834
+ " continue\n",
835
+ " random.shuffle(tempList)\n",
836
+ " sublist_size = random.randint(1, min(len(tempList), 5))\n",
837
+ " shortSymptomsStr = enumerate_words(random.sample(tempList, sublist_size))\n",
838
+ " filled_template = replace_symptom(prompt, symptom)\n",
839
+ " filled_template = replace_new_symptom(filled_template, shortSymptomsStr)\n",
840
+ " filled_template = replace_illness(filled_template, illness)\n",
841
+ " new_row = pd.DataFrame({'prompt': [filled_template], 'illness': symptomsDf.at[symptomsDf[symptomsDf[\"ILLNESS\"]==illness].index[0], \"ILLNESS\"], 'label': symptomsDf.at[symptomsDf[symptomsDf[\"ILLNESS\"]==illness].index[0], \"LABEL\"]})\n",
842
+ " promptsDf = pd.concat([promptsDf, new_row], ignore_index=True)\n",
843
+ " "
844
+ ]
845
+ },
846
+ {
847
+ "cell_type": "code",
848
+ "execution_count": 25,
849
+ "id": "efa49124-4ba6-496e-87ef-62b048783bd8",
850
+ "metadata": {
851
+ "tags": []
852
+ },
853
+ "outputs": [
854
+ {
855
+ "data": {
856
+ "text/html": [
857
+ "<div>\n",
858
+ "<style scoped>\n",
859
+ " .dataframe tbody tr th:only-of-type {\n",
860
+ " vertical-align: middle;\n",
861
+ " }\n",
862
+ "\n",
863
+ " .dataframe tbody tr th {\n",
864
+ " vertical-align: top;\n",
865
+ " }\n",
866
+ "\n",
867
+ " .dataframe thead th {\n",
868
+ " text-align: right;\n",
869
+ " }\n",
870
+ "</style>\n",
871
+ "<table border=\"1\" class=\"dataframe\">\n",
872
+ " <thead>\n",
873
+ " <tr style=\"text-align: right;\">\n",
874
+ " <th></th>\n",
875
+ " <th>ILLNESS</th>\n",
876
+ " <th>LABEL</th>\n",
877
+ " <th>SYMPTOMS</th>\n",
878
+ " </tr>\n",
879
+ " </thead>\n",
880
+ " <tbody>\n",
881
+ " <tr>\n",
882
+ " <th>0</th>\n",
883
+ " <td>Local anesthetic toxicity</td>\n",
884
+ " <td>0</td>\n",
885
+ " <td>tingling, seizures, cardiac arrest, confusion,...</td>\n",
886
+ " </tr>\n",
887
+ " <tr>\n",
888
+ " <th>1</th>\n",
889
+ " <td>Malignant hyperthermia</td>\n",
890
+ " <td>1</td>\n",
891
+ " <td>high fever, muscle rigidity, rapid heart rate,...</td>\n",
892
+ " </tr>\n",
893
+ " <tr>\n",
894
+ " <th>2</th>\n",
895
+ " <td>Post-dural puncture headache</td>\n",
896
+ " <td>2</td>\n",
897
+ " <td>neck stiffness, photophobia, nausea, vomiting,...</td>\n",
898
+ " </tr>\n",
899
+ " <tr>\n",
900
+ " <th>3</th>\n",
901
+ " <td>Anaphylaxis to anesthetic agents</td>\n",
902
+ " <td>3</td>\n",
903
+ " <td>hives, itching, swelling, rash, bronchospasm, ...</td>\n",
904
+ " </tr>\n",
905
+ " <tr>\n",
906
+ " <th>4</th>\n",
907
+ " <td>Awareness during anesthesia</td>\n",
908
+ " <td>4</td>\n",
909
+ " <td>paralysis, inability to move, pain, distress, ...</td>\n",
910
+ " </tr>\n",
911
+ " <tr>\n",
912
+ " <th>...</th>\n",
913
+ " <td>...</td>\n",
914
+ " <td>...</td>\n",
915
+ " <td>...</td>\n",
916
+ " </tr>\n",
917
+ " <tr>\n",
918
+ " <th>430</th>\n",
919
+ " <td>Excoriation disorder (skin-picking disorder)</td>\n",
920
+ " <td>430</td>\n",
921
+ " <td>Recurrent picking of one's skin, Attempts to s...</td>\n",
922
+ " </tr>\n",
923
+ " <tr>\n",
924
+ " <th>431</th>\n",
925
+ " <td>Factitious disorder</td>\n",
926
+ " <td>431</td>\n",
927
+ " <td>Intentionally producing symptoms of illness, D...</td>\n",
928
+ " </tr>\n",
929
+ " <tr>\n",
930
+ " <th>432</th>\n",
931
+ " <td>Impulse-control disorders</td>\n",
932
+ " <td>432</td>\n",
933
+ " <td>Impulsive behavior that causes harm, Failure t...</td>\n",
934
+ " </tr>\n",
935
+ " <tr>\n",
936
+ " <th>433</th>\n",
937
+ " <td>Adjustment disorders</td>\n",
938
+ " <td>433</td>\n",
939
+ " <td>Development of emotional or behavioral symptom...</td>\n",
940
+ " </tr>\n",
941
+ " <tr>\n",
942
+ " <th>434</th>\n",
943
+ " <td>Dissociative disorders</td>\n",
944
+ " <td>434</td>\n",
945
+ " <td>Alterations in consciousness or identity, Amne...</td>\n",
946
+ " </tr>\n",
947
+ " </tbody>\n",
948
+ "</table>\n",
949
+ "<p>435 rows × 3 columns</p>\n",
950
+ "</div>"
951
+ ],
952
+ "text/plain": [
953
+ " ILLNESS LABEL \\\n",
954
+ "0 Local anesthetic toxicity 0 \n",
955
+ "1 Malignant hyperthermia 1 \n",
956
+ "2 Post-dural puncture headache 2 \n",
957
+ "3 Anaphylaxis to anesthetic agents 3 \n",
958
+ "4 Awareness during anesthesia 4 \n",
959
+ ".. ... ... \n",
960
+ "430 Excoriation disorder (skin-picking disorder) 430 \n",
961
+ "431 Factitious disorder 431 \n",
962
+ "432 Impulse-control disorders 432 \n",
963
+ "433 Adjustment disorders 433 \n",
964
+ "434 Dissociative disorders 434 \n",
965
+ "\n",
966
+ " SYMPTOMS \n",
967
+ "0 tingling, seizures, cardiac arrest, confusion,... \n",
968
+ "1 high fever, muscle rigidity, rapid heart rate,... \n",
969
+ "2 neck stiffness, photophobia, nausea, vomiting,... \n",
970
+ "3 hives, itching, swelling, rash, bronchospasm, ... \n",
971
+ "4 paralysis, inability to move, pain, distress, ... \n",
972
+ ".. ... \n",
973
+ "430 Recurrent picking of one's skin, Attempts to s... \n",
974
+ "431 Intentionally producing symptoms of illness, D... \n",
975
+ "432 Impulsive behavior that causes harm, Failure t... \n",
976
+ "433 Development of emotional or behavioral symptom... \n",
977
+ "434 Alterations in consciousness or identity, Amne... \n",
978
+ "\n",
979
+ "[435 rows x 3 columns]"
980
+ ]
981
+ },
982
+ "execution_count": 25,
983
+ "metadata": {},
984
+ "output_type": "execute_result"
985
+ }
986
+ ],
987
+ "source": [
988
+ "symptomsDf"
989
+ ]
990
+ },
991
+ {
992
+ "cell_type": "code",
993
+ "execution_count": 26,
994
+ "id": "82fe4a8f-0684-45f6-8316-a48c9d2bf593",
995
+ "metadata": {
996
+ "tags": []
997
+ },
998
+ "outputs": [
999
+ {
1000
+ "data": {
1001
+ "text/plain": [
1002
+ "(24955, 3)"
1003
+ ]
1004
+ },
1005
+ "execution_count": 26,
1006
+ "metadata": {},
1007
+ "output_type": "execute_result"
1008
+ }
1009
+ ],
1010
+ "source": [
1011
+ "promptsDf.shape"
1012
+ ]
1013
+ },
1014
+ {
1015
+ "cell_type": "code",
1016
+ "execution_count": 27,
1017
+ "id": "b7a2b208-98c6-42f6-9d10-4396dff6f334",
1018
+ "metadata": {
1019
+ "tags": []
1020
+ },
1021
+ "outputs": [
1022
+ {
1023
+ "data": {
1024
+ "text/html": [
1025
+ "<div>\n",
1026
+ "<style scoped>\n",
1027
+ " .dataframe tbody tr th:only-of-type {\n",
1028
+ " vertical-align: middle;\n",
1029
+ " }\n",
1030
+ "\n",
1031
+ " .dataframe tbody tr th {\n",
1032
+ " vertical-align: top;\n",
1033
+ " }\n",
1034
+ "\n",
1035
+ " .dataframe thead th {\n",
1036
+ " text-align: right;\n",
1037
+ " }\n",
1038
+ "</style>\n",
1039
+ "<table border=\"1\" class=\"dataframe\">\n",
1040
+ " <thead>\n",
1041
+ " <tr style=\"text-align: right;\">\n",
1042
+ " <th></th>\n",
1043
+ " <th>prompt</th>\n",
1044
+ " <th>illness</th>\n",
1045
+ " <th>label</th>\n",
1046
+ " </tr>\n",
1047
+ " </thead>\n",
1048
+ " <tbody>\n",
1049
+ " <tr>\n",
1050
+ " <th>0</th>\n",
1051
+ " <td>I've been noticing blurred vision, confusion, ...</td>\n",
1052
+ " <td>Local anesthetic toxicity</td>\n",
1053
+ " <td>0</td>\n",
1054
+ " </tr>\n",
1055
+ " <tr>\n",
1056
+ " <th>1</th>\n",
1057
+ " <td>Noticed muscle twitching, unconsciousness, tin...</td>\n",
1058
+ " <td>Local anesthetic toxicity</td>\n",
1059
+ " <td>0</td>\n",
1060
+ " </tr>\n",
1061
+ " <tr>\n",
1062
+ " <th>2</th>\n",
1063
+ " <td>I suspect bradycardia, numbness, arrhythmias, ...</td>\n",
1064
+ " <td>Local anesthetic toxicity</td>\n",
1065
+ " <td>0</td>\n",
1066
+ " </tr>\n",
1067
+ " <tr>\n",
1068
+ " <th>3</th>\n",
1069
+ " <td>Noticing dizziness, blurred vision, hypotensio...</td>\n",
1070
+ " <td>Local anesthetic toxicity</td>\n",
1071
+ " <td>0</td>\n",
1072
+ " </tr>\n",
1073
+ " <tr>\n",
1074
+ " <th>4</th>\n",
1075
+ " <td>Experiencing blurred vision, respiratory depre...</td>\n",
1076
+ " <td>Local anesthetic toxicity</td>\n",
1077
+ " <td>0</td>\n",
1078
+ " </tr>\n",
1079
+ " <tr>\n",
1080
+ " <th>...</th>\n",
1081
+ " <td>...</td>\n",
1082
+ " <td>...</td>\n",
1083
+ " <td>...</td>\n",
1084
+ " </tr>\n",
1085
+ " <tr>\n",
1086
+ " <th>24950</th>\n",
1087
+ " <td>I've noticed Distress or impairment due to sym...</td>\n",
1088
+ " <td>Dissociative disorders</td>\n",
1089
+ " <td>434</td>\n",
1090
+ " </tr>\n",
1091
+ " <tr>\n",
1092
+ " <th>24951</th>\n",
1093
+ " <td>I've realized that along with Distress or impa...</td>\n",
1094
+ " <td>Dissociative disorders</td>\n",
1095
+ " <td>434</td>\n",
1096
+ " </tr>\n",
1097
+ " <tr>\n",
1098
+ " <th>24952</th>\n",
1099
+ " <td>I've been monitoring my symptoms, and I've ide...</td>\n",
1100
+ " <td>Dissociative disorders</td>\n",
1101
+ " <td>434</td>\n",
1102
+ " </tr>\n",
1103
+ " <tr>\n",
1104
+ " <th>24953</th>\n",
1105
+ " <td>Apart from Distress or impairment due to sympt...</td>\n",
1106
+ " <td>Dissociative disorders</td>\n",
1107
+ " <td>434</td>\n",
1108
+ " </tr>\n",
1109
+ " <tr>\n",
1110
+ " <th>24954</th>\n",
1111
+ " <td>I didn't include it earlier, but in addition t...</td>\n",
1112
+ " <td>Dissociative disorders</td>\n",
1113
+ " <td>434</td>\n",
1114
+ " </tr>\n",
1115
+ " </tbody>\n",
1116
+ "</table>\n",
1117
+ "<p>24955 rows × 3 columns</p>\n",
1118
+ "</div>"
1119
+ ],
1120
+ "text/plain": [
1121
+ " prompt \\\n",
1122
+ "0 I've been noticing blurred vision, confusion, ... \n",
1123
+ "1 Noticed muscle twitching, unconsciousness, tin... \n",
1124
+ "2 I suspect bradycardia, numbness, arrhythmias, ... \n",
1125
+ "3 Noticing dizziness, blurred vision, hypotensio... \n",
1126
+ "4 Experiencing blurred vision, respiratory depre... \n",
1127
+ "... ... \n",
1128
+ "24950 I've noticed Distress or impairment due to sym... \n",
1129
+ "24951 I've realized that along with Distress or impa... \n",
1130
+ "24952 I've been monitoring my symptoms, and I've ide... \n",
1131
+ "24953 Apart from Distress or impairment due to sympt... \n",
1132
+ "24954 I didn't include it earlier, but in addition t... \n",
1133
+ "\n",
1134
+ " illness label \n",
1135
+ "0 Local anesthetic toxicity 0 \n",
1136
+ "1 Local anesthetic toxicity 0 \n",
1137
+ "2 Local anesthetic toxicity 0 \n",
1138
+ "3 Local anesthetic toxicity 0 \n",
1139
+ "4 Local anesthetic toxicity 0 \n",
1140
+ "... ... ... \n",
1141
+ "24950 Dissociative disorders 434 \n",
1142
+ "24951 Dissociative disorders 434 \n",
1143
+ "24952 Dissociative disorders 434 \n",
1144
+ "24953 Dissociative disorders 434 \n",
1145
+ "24954 Dissociative disorders 434 \n",
1146
+ "\n",
1147
+ "[24955 rows x 3 columns]"
1148
+ ]
1149
+ },
1150
+ "execution_count": 27,
1151
+ "metadata": {},
1152
+ "output_type": "execute_result"
1153
+ }
1154
+ ],
1155
+ "source": [
1156
+ "promptsDf"
1157
+ ]
1158
+ },
1159
+ {
1160
+ "cell_type": "code",
1161
+ "execution_count": 28,
1162
+ "id": "d74aaae2-97f5-46ba-b734-c8996a19854c",
1163
+ "metadata": {
1164
+ "tags": []
1165
+ },
1166
+ "outputs": [],
1167
+ "source": [
1168
+ "promptsDf.to_csv('datasets/prompts.csv', index=False)"
1169
+ ]
1170
+ },
1171
+ {
1172
+ "cell_type": "markdown",
1173
+ "id": "19f7869b-3f2c-47c0-986e-3c7d8cfd2952",
1174
+ "metadata": {},
1175
+ "source": [
1176
+ "### Generating dataset for user prompts on city:"
1177
+ ]
1178
+ },
1179
+ {
1180
+ "cell_type": "code",
1181
+ "execution_count": 48,
1182
+ "id": "3c94e938-8fe1-4c4d-bfd5-3e18b3db061e",
1183
+ "metadata": {
1184
+ "tags": []
1185
+ },
1186
+ "outputs": [],
1187
+ "source": [
1188
+ "cityPromptsDf = pd.read_csv('datasets/city_prompts.csv')"
1189
+ ]
1190
+ },
1191
+ {
1192
+ "cell_type": "code",
1193
+ "execution_count": 50,
1194
+ "id": "20522657-b7b4-4272-9ad6-7fa38ca895ed",
1195
+ "metadata": {
1196
+ "tags": []
1197
+ },
1198
+ "outputs": [],
1199
+ "source": [
1200
+ "cityPromptsAnnotatedDf = pd.DataFrame()"
1201
+ ]
1202
+ },
1203
+ {
1204
+ "cell_type": "code",
1205
+ "execution_count": 34,
1206
+ "id": "b038a24d-7a20-4f05-93ad-5919372a0f63",
1207
+ "metadata": {},
1208
+ "outputs": [],
1209
+ "source": [
1210
+ "def replace_city(text, replacement):\n",
1211
+ " return text.replace(\"[city]\", replacement)"
1212
+ ]
1213
+ },
1214
+ {
1215
+ "cell_type": "code",
1216
+ "execution_count": 45,
1217
+ "id": "23312b10-543f-4a7e-bd82-b838557c1bfa",
1218
+ "metadata": {
1219
+ "tags": []
1220
+ },
1221
+ "outputs": [
1222
+ {
1223
+ "data": {
1224
+ "text/plain": [
1225
+ "array(['Maria', 'Rodriguez', 'Taft', 'Quezon', 'Muntinlupa', 'Rizal',\n",
1226
+ " 'Manila', 'Santo Tomas', nan, 'Pio Duran', 'Labo', 'Makati',\n",
1227
+ " 'Mandaluyong', 'Valenzuela', 'San Juan', 'Ramon', 'Pasay',\n",
1228
+ " 'Llorente', 'Pasig', 'Santiago', 'San Roque', 'San Miguel',\n",
1229
+ " 'Taguig', 'Asturias', 'Roxas', 'Rosario', 'Lopez Jaena',\n",
1230
+ " 'Catarman', 'Tagaytay', 'Sikatuna', 'Balasan', 'Sampaloc',\n",
1231
+ " 'Libmanan', 'Magsaysay', 'Marilao', 'Los Baños', 'San Pedro',\n",
1232
+ " 'Oton', 'San Vicente', 'Jones', 'Lapu-Lapu', 'Calamba',\n",
1233
+ " 'MacArthur', 'Batan', 'San Fernando', 'San Nicolas', 'San Rafael',\n",
1234
+ " 'Trinidad', 'Aguilar', 'Isabela', 'Valencia', 'San Dionisio',\n",
1235
+ " 'Quirino', 'Batangas City', 'Caba', 'San Jose', 'Bulan', 'Luna',\n",
1236
+ " 'Pamplona', 'Subic', 'Kauswagan', 'Mandaue', 'San Marcelino',\n",
1237
+ " 'San Carlos', 'Burgos', 'Taytay', 'Pateros', 'Ramos', 'Biñan',\n",
1238
+ " 'Las Piñas', 'Marikina', 'Naga', 'Pilar', 'Malolos', 'Jaro',\n",
1239
+ " 'Bacolod', 'Lopez', 'Tamparan', 'Iba', 'Mabini', 'Bula', 'Laurel',\n",
1240
+ " 'Balanga', 'Daraga', 'Teresa', 'Santa Cruz', 'Dagupan', 'Leyte',\n",
1241
+ " 'Agoo', 'Lemery', 'Koronadal', 'Tayum', 'Palanan', 'San Andres',\n",
1242
+ " 'San Francisco', 'Victoria', 'San Agustin', 'Carmen', 'Manaoag',\n",
1243
+ " 'Balingasag', 'Bacoor', 'Jose Abad Santos', 'San Isidro', 'Ocampo',\n",
1244
+ " 'Digos', 'Parañaque', 'Real', 'Baler', 'Malabon', 'Santo Domingo',\n",
1245
+ " 'Leon', 'Guiguinto', 'Medina', 'Buguias', 'San Gabriel'],\n",
1246
+ " dtype=object)"
1247
+ ]
1248
+ },
1249
+ "execution_count": 45,
1250
+ "metadata": {},
1251
+ "output_type": "execute_result"
1252
+ }
1253
+ ],
1254
+ "source": [
1255
+ "city_list = pd.unique(docDf['CITY'])\n",
1256
+ "city_list"
1257
+ ]
1258
+ },
1259
+ {
1260
+ "cell_type": "code",
1261
+ "execution_count": 52,
1262
+ "id": "0e8ed33d-1413-4607-816d-8182385b17c1",
1263
+ "metadata": {
1264
+ "tags": []
1265
+ },
1266
+ "outputs": [],
1267
+ "source": [
1268
+ "cityLabelDf = pd.DataFrame()"
1269
+ ]
1270
+ },
1271
+ {
1272
+ "cell_type": "code",
1273
+ "execution_count": 53,
1274
+ "id": "00642864-f8ee-42b7-afa8-a2ed9fce420e",
1275
+ "metadata": {
1276
+ "tags": []
1277
+ },
1278
+ "outputs": [],
1279
+ "source": [
1280
+ "cityLabelDf[\"CITY\"] = city_list"
1281
+ ]
1282
+ },
1283
+ {
1284
+ "cell_type": "code",
1285
+ "execution_count": 54,
1286
+ "id": "fe1d7c1e-efec-48c5-8660-dd7a44b19065",
1287
+ "metadata": {
1288
+ "tags": []
1289
+ },
1290
+ "outputs": [],
1291
+ "source": [
1292
+ "cityLabelDf[\"LABEL\"] = cityLabelDf.index"
1293
+ ]
1294
+ },
1295
+ {
1296
+ "cell_type": "code",
1297
+ "execution_count": 46,
1298
+ "id": "4a045fea-bf95-4043-b40f-d17164e7d0a2",
1299
+ "metadata": {
1300
+ "tags": []
1301
+ },
1302
+ "outputs": [],
1303
+ "source": [
1304
+ "city_list = [x for x in city_list if isinstance(x, (str))]"
1305
+ ]
1306
+ },
1307
+ {
1308
+ "cell_type": "code",
1309
+ "execution_count": null,
1310
+ "id": "45975d38-3ca6-4bcb-a270-bc1e664c0317",
1311
+ "metadata": {
1312
+ "tags": []
1313
+ },
1314
+ "outputs": [],
1315
+ "source": [
1316
+ "city_list"
1317
+ ]
1318
+ },
1319
+ {
1320
+ "cell_type": "code",
1321
+ "execution_count": 56,
1322
+ "id": "dfb0c2a0-8b43-445b-a8c7-2fa1d5c2c39d",
1323
+ "metadata": {
1324
+ "tags": []
1325
+ },
1326
+ "outputs": [],
1327
+ "source": [
1328
+ "for city in cityLabelDf[\"CITY\"]:\n",
1329
+ " for prompt in cityPromptsDf[\"prompt\"]:\n",
1330
+ " filled_template = replace_city(prompt, city)\n",
1331
+ " new_row = pd.DataFrame({'prompt': [filled_template], 'city': city, 'label': cityLabelDf.at[cityLabelDf[cityLabelDf[\"CITY\"]==city].index[0], \"LABEL\"]})\n",
1332
+ " cityPromptsAnnotatedDf = pd.concat([cityPromptsAnnotatedDf, new_row], ignore_index=True)"
1333
+ ]
1334
+ },
1335
+ {
1336
+ "cell_type": "code",
1337
+ "execution_count": 57,
1338
+ "id": "dd45f2cf-92a8-4883-8ba1-461ec3eee012",
1339
+ "metadata": {
1340
+ "tags": []
1341
+ },
1342
+ "outputs": [
1343
+ {
1344
+ "data": {
1345
+ "text/html": [
1346
+ "<div>\n",
1347
+ "<style scoped>\n",
1348
+ " .dataframe tbody tr th:only-of-type {\n",
1349
+ " vertical-align: middle;\n",
1350
+ " }\n",
1351
+ "\n",
1352
+ " .dataframe tbody tr th {\n",
1353
+ " vertical-align: top;\n",
1354
+ " }\n",
1355
+ "\n",
1356
+ " .dataframe thead th {\n",
1357
+ " text-align: right;\n",
1358
+ " }\n",
1359
+ "</style>\n",
1360
+ "<table border=\"1\" class=\"dataframe\">\n",
1361
+ " <thead>\n",
1362
+ " <tr style=\"text-align: right;\">\n",
1363
+ " <th></th>\n",
1364
+ " <th>prompt</th>\n",
1365
+ " <th>city</th>\n",
1366
+ " <th>label</th>\n",
1367
+ " </tr>\n",
1368
+ " </thead>\n",
1369
+ " <tbody>\n",
1370
+ " <tr>\n",
1371
+ " <th>0</th>\n",
1372
+ " <td>\"I'm currently in Maria, thank you for offerin...</td>\n",
1373
+ " <td>Maria</td>\n",
1374
+ " <td>0</td>\n",
1375
+ " </tr>\n",
1376
+ " <tr>\n",
1377
+ " <th>1</th>\n",
1378
+ " <td>\"I reside in Maria, and I appreciate your assi...</td>\n",
1379
+ " <td>Maria</td>\n",
1380
+ " <td>0</td>\n",
1381
+ " </tr>\n",
1382
+ " <tr>\n",
1383
+ " <th>2</th>\n",
1384
+ " <td>\"Sure, I'm located in Maria. Any recommendatio...</td>\n",
1385
+ " <td>Maria</td>\n",
1386
+ " <td>0</td>\n",
1387
+ " </tr>\n",
1388
+ " <tr>\n",
1389
+ " <th>3</th>\n",
1390
+ " <td>\"Thanks for asking. I'm from Maria, and I coul...</td>\n",
1391
+ " <td>Maria</td>\n",
1392
+ " <td>0</td>\n",
1393
+ " </tr>\n",
1394
+ " <tr>\n",
1395
+ " <th>4</th>\n",
1396
+ " <td>\"I'm in Maria at the moment. Any help in findi...</td>\n",
1397
+ " <td>Maria</td>\n",
1398
+ " <td>0</td>\n",
1399
+ " </tr>\n",
1400
+ " <tr>\n",
1401
+ " <th>...</th>\n",
1402
+ " <td>...</td>\n",
1403
+ " <td>...</td>\n",
1404
+ " <td>...</td>\n",
1405
+ " </tr>\n",
1406
+ " <tr>\n",
1407
+ " <th>3301</th>\n",
1408
+ " <td>\"Just to let you know, I'm located in San Gabr...</td>\n",
1409
+ " <td>San Gabriel</td>\n",
1410
+ " <td>113</td>\n",
1411
+ " </tr>\n",
1412
+ " <tr>\n",
1413
+ " <th>3302</th>\n",
1414
+ " <td>\"I'm currently in San Gabriel and I'm in need ...</td>\n",
1415
+ " <td>San Gabriel</td>\n",
1416
+ " <td>113</td>\n",
1417
+ " </tr>\n",
1418
+ " <tr>\n",
1419
+ " <th>3303</th>\n",
1420
+ " <td>\"Hi there, I'm from San Gabriel and I'm explor...</td>\n",
1421
+ " <td>San Gabriel</td>\n",
1422
+ " <td>113</td>\n",
1423
+ " </tr>\n",
1424
+ " <tr>\n",
1425
+ " <th>3304</th>\n",
1426
+ " <td>\"Just a heads up, I'm in San Gabriel and I'm o...</td>\n",
1427
+ " <td>San Gabriel</td>\n",
1428
+ " <td>113</td>\n",
1429
+ " </tr>\n",
1430
+ " <tr>\n",
1431
+ " <th>3305</th>\n",
1432
+ " <td>\"I'm in San Gabriel and I'm looking for a doct...</td>\n",
1433
+ " <td>San Gabriel</td>\n",
1434
+ " <td>113</td>\n",
1435
+ " </tr>\n",
1436
+ " </tbody>\n",
1437
+ "</table>\n",
1438
+ "<p>3306 rows × 3 columns</p>\n",
1439
+ "</div>"
1440
+ ],
1441
+ "text/plain": [
1442
+ " prompt city label\n",
1443
+ "0 \"I'm currently in Maria, thank you for offerin... Maria 0\n",
1444
+ "1 \"I reside in Maria, and I appreciate your assi... Maria 0\n",
1445
+ "2 \"Sure, I'm located in Maria. Any recommendatio... Maria 0\n",
1446
+ "3 \"Thanks for asking. I'm from Maria, and I coul... Maria 0\n",
1447
+ "4 \"I'm in Maria at the moment. Any help in findi... Maria 0\n",
1448
+ "... ... ... ...\n",
1449
+ "3301 \"Just to let you know, I'm located in San Gabr... San Gabriel 113\n",
1450
+ "3302 \"I'm currently in San Gabriel and I'm in need ... San Gabriel 113\n",
1451
+ "3303 \"Hi there, I'm from San Gabriel and I'm explor... San Gabriel 113\n",
1452
+ "3304 \"Just a heads up, I'm in San Gabriel and I'm o... San Gabriel 113\n",
1453
+ "3305 \"I'm in San Gabriel and I'm looking for a doct... San Gabriel 113\n",
1454
+ "\n",
1455
+ "[3306 rows x 3 columns]"
1456
+ ]
1457
+ },
1458
+ "execution_count": 57,
1459
+ "metadata": {},
1460
+ "output_type": "execute_result"
1461
+ }
1462
+ ],
1463
+ "source": [
1464
+ "cityPromptsAnnotatedDf"
1465
+ ]
1466
+ },
1467
+ {
1468
+ "cell_type": "code",
1469
+ "execution_count": 58,
1470
+ "id": "b9d56d9c-6195-4468-b7e2-405eb31b9b2d",
1471
+ "metadata": {
1472
+ "tags": []
1473
+ },
1474
+ "outputs": [],
1475
+ "source": [
1476
+ "cityPromptsAnnotatedDf.to_csv('datasets/annotated_city_prompts.csv', index=False)"
1477
+ ]
1478
+ },
1479
+ {
1480
+ "cell_type": "code",
1481
+ "execution_count": null,
1482
+ "id": "bf146bbe-2493-4a1d-9ebe-4c9ac737c25e",
1483
+ "metadata": {},
1484
+ "outputs": [],
1485
+ "source": []
1486
+ }
1487
+ ],
1488
+ "metadata": {
1489
+ "kernelspec": {
1490
+ "display_name": "Python 3 (ipykernel)",
1491
+ "language": "python",
1492
+ "name": "python3"
1493
+ },
1494
+ "language_info": {
1495
+ "codemirror_mode": {
1496
+ "name": "ipython",
1497
+ "version": 3
1498
+ },
1499
+ "file_extension": ".py",
1500
+ "mimetype": "text/x-python",
1501
+ "name": "python",
1502
+ "nbconvert_exporter": "python",
1503
+ "pygments_lexer": "ipython3",
1504
+ "version": "3.9.18"
1505
+ }
1506
+ },
1507
+ "nbformat": 4,
1508
+ "nbformat_minor": 5
1509
+ }