User:Psiĥedelisto/Ampatuan Jr. et al.py
Input
[edit]Data source is public domain: People v. Ampatuan Jr., et al.
This work is in the public domain in the Philippines and possibly other jurisdictions as stated by Republic Act No. 8293 because the expressed work is or is derived from a public document. Under RA 8293, all official Philippine texts of a legislative, administrative, or judicial nature, or any official translation thereof, are ineligible for copyright. |
DATU ANDAL “UNSAY” AMPATUAN, JR. DATU ANDAL AMPATUAN, SR. DATU ZALDY “PUTI” U. AMPATUAN DATU AKMAD “TATO” AMPATUAN, SR. DATU SAJID ISLAM U. AMPATUAN DATU ANWAR U. AMPATUAN, SR. TAKPAN DILON y MANIBPOL PCINSP SUKARNO A. DICAY PSINSP ABDULGAPOR B. ABAD PSUPT ABUSAMA MUNDAS MAGUID AL HAJ PSUPT BAHNARIN U. KAMAONG PSUPT ABDULWAHID U. PEDTUCASAN SPO2 GEORGE S. LABAYAN SPO2 BADAWI P. BAKAL SPO1 OSCAR DONATO SPO1 SAMAD USMAN MAGUINDRA SPO1 ALIMOLA L. GUIANATON SPO1 ALI MLUK SOLANO SPO1 EDUARDO H. ONG SPO1 ELIZER S. RENDAJE/RENDAJI PO3 GIBRAEL R. ALANO PO3 FELIX ABABAO DAQUILOS PO3 ABIBUDIN S. ABDULGANI PO3 RICKY D. BALANUECO PO3 RASID T. ANTON PO3 FELIX E. ENATE, JR. PO2 HAMAD NANA PO2 KENDATU S. RAKIM PO2 HERNANIE S. DECIPULO, JR. PO2 SAUDIAR ULAH PO2 SAUDI PASUTAN PO2 REXSON D. GUIAMA PO1 HERICH AMABA PO1 BADJUN IBAD PANEGAS PO1 BENSEDICK/BERSEDICK T. ALFONSO PO1 MOHAMMAD K. BALADING PO1 DATU JERRY M. UTTO PO1 ABDULA/ABDULLAH BAGUADATU PO1 TAMANO SAHIBAL HADI PO1 ABDULBAYAN U. MUNDAS PO1 ESPRIELITO G. LEJARSO PO1 ESMAEL MANUEL GUIDAL/GUIALAL PO1 JIMMY M. KADTONG/KADLONG PO1 MARJUL T. JULKADI PO1 ABDURAHMAN S. BATARASA PO1 ABDULANAN/ABDULMANAN L. SAAVEDRA PO1 MARSMAN E. NILONG PO1 NARKOUK D. MASCUD PO1 ARNULFO A. SORIANO PO1 RAINER T. EBUS PO1 EBARA G. BEBOT PO1 PENDATUN A. DIMA PO1 MICHAEL M. MACARONGON DATU JIMMY AMPATUAN y MASUKAT DATU KANOR AMPATUAN* DATU BAHNARIN A. AMPATUAN* DATU MAMA AMPATUAN* DATU SAUDI AMPATUAN, JR.* DATU ANWAR SAJID “ULO” U. AMPATUAN DATU ANWAR “IPI” U. AMPATUAN, JR. DATU HARRIS AMPATUAN* DATU MONING AMPATUAN* MOGIRA HADJI ANGGULAT* PARIDO ZANGKALA GOGO* JUN PENDATUN* KAGI FAIZAL* PINSP REX ARIEL T. DIONGON PINSP MICHAEL JOY MACARAEG PINSP SAUDI M. MOKAMAD/MUKAMAD PO2 TANY DALGAN a.k.a. TANNY DALGAN PO1 AMIR SOLAIMAN PO1 MICHAEL MADSIG y JUANITAS PO1 SANDY D. SABANG PO1 YSMAEL BARAQUIR* PO1 ABBEY GUIADEM* PO1 EBAD MUSA* PO1 CADER DATUNOT* PO1 PIA KAMIDON PO1 DUKOY BADAL a.k.a. AHMAD CAMSA BADAL PO1 ALFIE PAGABANGAN* PO1 WARDEN KUSAIN LEGAWAN PO1 JONATHAN ENGID y SOLAIMAN a.k.a. TAN PO1 DATU NOR KADIR* PO1 JOHARTO KAMINDAN* PO1 ANWAR D. MASUKAT SGT ABDULLAH KARIM FALCON* SGT BANZAR MAULANA* SGT ABDUL SOKOR ABDULLAH* SGT ALNOR AMPATUAN* DATU NORODIN “NORDS” DATUMANONG AMPATUAN* HAMID DELAYUDIN* DATU DAINGA AMPATUAN* RODEL U. AMPATUAN* MANNY UPAM AMPATUAN MISUARI S. AMPATUAN KERTZ B. AMPATUAN* TONY KENIS AMPATUAN* JONATHAN S. AMPATUAN INTAN B. AMPATUAN* MOHADES A. AMPATUAN KAGI AMAR AMPATUAN* MOHAMAD D. AMPATUAN* REK TONY T. DEK* ABAS G. ANONGAN a.k.a. ABAS G. ANDONGAN / ABAS GANI ABUTAZIL 3 MUHAMAD SANGKI a.k.a. MOHAMAD SANGKI y SIMPAL 4 DATUTUHON M. ESMAEL a.k.a. DATUTULON MALAGUIAL ESMAIL ALEX U. ZAIPON* MOACTAR T. DAUD a.k.a. MOKTAR A. DAUD DHODS A. KAMONG* ALIMUDIN S. SANGUYOD a.k.a. NORUDIN GARAPUTAY / NORODIN MALANG FAHAD WATAMAMA UTTO a.k.a. RICHARD HABOTSHI GOFEL SURIN K. MENTANG* HARON K. AROB* SAMSUDIN M. DAUD a.k.a. DAVID A. OLIVARES THENG P. SALI a.k.a. ABDULLAH HAMID ABDULKAHAR TOKTOK K. GUIABAL* BATUTA G. ZAILON* MACTON A. BILUNGAN 5 NASSER S. ESMAEL ABEDIN ALAMADA a.k.a. KUMANDER BEDI MAOT M. BANGKULAT a.k.a. BENJIE LUMANGGAL DAGINDINGAN BONG S. ANDAL MANDO M. BALANGAN* RENE GUIAPAL* LATIP GANI* ALEX KADIL* KAMPER SILONGAN* SUKOR S. KAMSA* EDRES G. KASAN a.k.a. EDRIS GOGO ALIP AKAD B. MACATON a.k.a. MOHAMAD SALAZAR PIANG MAOT M. DUMLA a.k.a. NOT ABDUL / NOT DUMA NASER TALIB a.k.a. MORALES SISAY AMILOL SANGGUTIN MUSA a.k.a. MORES SALI MUSA* 6 ROLEX KUSEN* BUTO UMAL* SURIN KAYUKAY* BATUTI K. BARA* BASSIR L. ABDULMAGUID* GAMBAYAN M. KASIM* MAMUGKAY R. CAMSA* TAYA M. BANGKULAT a.k.a. TAYA KARIM BANGKULAT ZAMORA G. SAMBULAWAN* SALIK S. BANGKULAT a.k.a. SALIK B. BANGKULAT TOKAN A. PAMSAG* ABDUL MAULA E. UDAY* MAGUID S. ALBA* THO AKMAD AMINO TUMI TIMBA ABAS a.k.a. GUIAMIL 7 MADS P. UTTO* ABEDIN E. KENNY* GIE S. TAKILID* MALAGUIAL S. TANURI a.k.a. JOHARI/JUHARI MONTOK MALAGUIAL ZACARIA P. AKIL a.k.a. GUAGO PAGALAD AKIL / QUAGO PAMA AKIL / TINTINGAN KAMAD MAKAALAY ANDAMI M. SINGKALA* NASRUDIN S. GUIAMADIL* DENGA O. MENTOL a.k.a. RONNIE OFONG TOY K. DATUMANONG* SAMAON M. ANDATUAN KUDZA MASUKAT UGUIA a.k.a. KUDZA UGUIA MASUKAT / DATU TENG IBRAHIM / MUSTAPHA IBRAHIM SALIPAD M. TAMPOGAO a.k.a. TATO SAMPOGAO / TATO TALEMBO “TAMMY” MASUKAT a.k.a. TALEMBO KAHAR ABDULRAKMAN BEN A. MENDOG* SAHID A. GUIAMADIL a.k.a. SAHID GUIAMADEL / SAHID ARNEL ABDULLAH / ARNEL BACAR ABDULLAH / IDEN 8 KOMINIE K. INGGO 9 ESIAM MANTAWIL* MAMA HABIB MOHAMAD K. MACAUYAG* RUSTY U. DAUD* KASIM T. LINGKONG a.k.a. ABDULKADIR SALUDIN ABUSAMA B. GUIAPAL* RAKIM M. AMIL a.k.a. RAKIM KENOG DATUNOT G. AYOB* NORMAN M. TATAK a.k.a. NORMAN MADIDIS TATAK / NORMAN MADIDIS SUBO 10 BUTUKAN S. MALANG* 11 SONNY K. PINDI a.k.a. JOVEN SALAZAR PIANG / BIMBO SALAZAR PIANG KASIM K. DALENDING* EDRIS TEKAY NANDING a.k.a. IBRAHIM KAKOB ABDULKARIM L. MANALASAN* MAGUID AMIL DATUN* THONG E. GUIMANO a.k.a. IBRAHIM KAMAL TATAK TINO T. SANDAY* ARMANDO O. AMBALGAN a.k.a. JAMIL BULATUKAN KAYANSANG / BOLATOKAN OMAR NASSER M. MALAGUIA a.k.a. RAMON DADULO EBRAHIM M. ABON* MUKTAR SANTO KINDU* ANDRO K. AWIL* UPAM S. SAUDI* SAMSUDIN R. KAMILON* MARCO G. ENGED* DEXSON A. SAPTULA a.k.a. MOHAMMAD ADAM / RENE MATUTI 12 NORHATO M. KAMINO a.k.a. ALFECHE BANDING MOHAMAD T. DATUMANONG a.k.a. NICOMEDES AMAD TOLENTINO NASSER I. GUIA* NASSER ADAM*
Script
[edit]I, Fredrick R. Brennan (Psiĥedelisto), the copyright holder of this work, hereby release it into the public domain. This applies worldwide. If this is not legally possible: |
# Ampatuan Jr. et al.py
import glob
G=glob.glob('/tmp/case*')
fn=glob.glob('/tmp/case*')[0]
f=open(fn,'r')
C=f.read()
f.close()
import re
M1=[re.sub('\\s+',' ',l.strip().replace('*','')) for l in C.splitlines() if re.match('^\\d+$',l.strip()) is None]
M2=list()
# If seen a.k.a., skip it & next.
Continue = False
for l in M1:
if Continue:
Continue = False
continue
if l == "a.k.a.":
Continue = True
continue
M2.append(l)
M3 = [l.replace('“', '"').replace('”', '"').title() for l in M2]
[[e.upper() if re.match('\\d$', e) is not None else e for e in l.split()] for l in M3]
M4=[' '.join([e.upper() if re.match('(.*\\d$)|Psupt|P[cs]?insp', e) is not None else e for e in l.split()]) for l in M3]
# These have the same meaning as "a.k.a."
M5=[re.sub('Sgt', 'Sgt.', re.sub(' ?/ ?[a-zA-Z]+', '', l)) for l in M4]
O=', '.join(M5[:-1]) + f' and {M5[-1]}'
O=re.sub(',( [JS]r.)', '\\1', O)
O=re.sub('(\\b)Y(\\b)', '\\1y\\2', O)
O=re.sub('(\\b)Al(\\s|\\b)', '\\1al-', O)
print("People of the Philippines v. "+O)
Output ready for infobox/cite
[edit]This work is in the public domain in the Philippines and possibly other jurisdictions as stated by Republic Act No. 8293 because the expressed work is or is derived from a public document. Under RA 8293, all official Philippine texts of a legislative, administrative, or judicial nature, or any official translation thereof, are ineligible for copyright. |
The base work this work was based on is in the public domain. It has been digitally enhanced and/or modified and uploaded here. This derivative work has been (or is hereby) released into the public domain by its author, Fredrick R. Brennan (Psiĥedelisto). This applies worldwide. In some countries this is not legally possible; if so: |
People of the Philippines v. Datu Andal "Unsay" Ampatuan Jr., Datu Andal Ampatuan Sr., Datu Zaldy "Puti" U. Ampatuan, Datu Akmad "Tato" Ampatuan Sr., Datu Sajid Islam U. Ampatuan, Datu Anwar U. Ampatuan Sr., Takpan Dilon y Manibpol, PCINSP Sukarno A. Dicay, PSINSP Abdulgapor B. Abad, PSUPT Abusama Mundas Maguid al-Haj, PSUPT Bahnarin U. Kamaong, PSUPT Abdulwahid U. Pedtucasan, SPO2 George S. Labayan, SPO2 Badawi P. Bakal, SPO1 Oscar Donato, SPO1 Samad Usman Maguindra, SPO1 Alimola L. Guianaton, SPO1 Ali Mluk Solano, SPO1 Eduardo H. Ong, SPO1 Elizer S. Rendaje, PO3 Gibrael R. Alano, PO3 Felix Ababao Daquilos, PO3 Abibudin S. Abdulgani, PO3 Ricky D. Balanueco, PO3 Rasid T. Anton, PO3 Felix E. Enate Jr., PO2 Hamad Nana, PO2 Kendatu S. Rakim, PO2 Hernanie S. Decipulo Jr., PO2 Saudiar Ulah, PO2 Saudi Pasutan, PO2 Rexson D. Guiama, PO1 Herich Amaba, PO1 Badjun Ibad Panegas, PO1 Bensedick T. Alfonso, PO1 Mohammad K. Balading, PO1 Datu Jerry M. Utto, PO1 Abdula Baguadatu, PO1 Tamano Sahibal Hadi, PO1 Abdulbayan U. Mundas, PO1 Esprielito G. Lejarso, PO1 Esmael Manuel Guidal, PO1 Jimmy M. Kadtong, PO1 Marjul T. Julkadi, PO1 Abdurahman S. Batarasa, PO1 Abdulanan L. Saavedra, PO1 Marsman E. Nilong, PO1 Narkouk D. Mascud, PO1 Arnulfo A. Soriano, PO1 Rainer T. Ebus, PO1 Ebara G. Bebot, PO1 Pendatun A. Dima, PO1 Michael M. Macarongon, Datu Jimmy Ampatuan y Masukat, Datu Kanor Ampatuan, Datu Bahnarin A. Ampatuan, Datu Mama Ampatuan, Datu Saudi Ampatuan Jr., Datu Anwar Sajid "Ulo" U. Ampatuan, Datu Anwar "Ipi" U. Ampatuan Jr., Datu Harris Ampatuan, Datu Moning Ampatuan, Mogira Hadji Anggulat, Parido Zangkala Gogo, Jun Pendatun, Kagi Faizal, PINSP Rex Ariel T. Diongon, PINSP Michael Joy Macaraeg, PINSP Saudi M. Mokamad, PO2 Tany Dalgan, PO1 Amir Solaiman, PO1 Michael Madsig y Juanitas, PO1 Sandy D. Sabang, PO1 Ysmael Baraquir, PO1 Abbey Guiadem, PO1 Ebad Musa, PO1 Cader Datunot, PO1 Pia Kamidon, PO1 Dukoy Badal, PO1 Alfie Pagabangan, PO1 Warden Kusain Legawan, PO1 Jonathan Engid y Solaiman, PO1 Datu Nor Kadir, PO1 Joharto Kamindan, PO1 Anwar D. Masukat, Sgt. Abdullah Karim Falcon, Sgt. Banzar Maulana, Sgt. Abdul Sokor Abdullah, Sgt. Alnor Ampatuan, Datu Norodin "Nords" Datumanong Ampatuan, Hamid Delayudin, Datu Dainga Ampatuan, Rodel U. Ampatuan, Manny Upam Ampatuan, Misuari S. Ampatuan, Kertz B. Ampatuan, Tony Kenis Ampatuan, Jonathan S. Ampatuan, Intan B. Ampatuan, Mohades A. Ampatuan, Kagi Amar Ampatuan, Mohamad D. Ampatuan, Rek Tony T. Dek, Abas G. Anongan, Muhamad Sangki, Datutuhon M. Esmael, Alex U. Zaipon, Moactar T. Daud, Dhods A. Kamong, Alimudin S. Sanguyod, Fahad Watamama Utto, Surin K. Mentang, Haron K. Arob, Samsudin M. Daud, Theng P. Sali, Toktok K. Guiabal, Batuta G. Zailon, Macton A. Bilungan, Nasser S. Esmael, Abedin Alamada, Maot M. Bangkulat, Bong S. Andal, Mando M. Balangan, Rene Guiapal, Latip Gani, Alex Kadil, Kamper Silongan, Sukor S. Kamsa, Edres G. Kasan, Akad B. Macaton, Maot M. Dumla, Naser Talib, Sanggutin Musa, Rolex Kusen, Buto Umal, Surin Kayukay, Batuti K. Bara, Bassir L. Abdulmaguid, Gambayan M. Kasim, Mamugkay R. Camsa, Taya M. Bangkulat, Zamora G. Sambulawan, Salik S. Bangkulat, Tokan A. Pamsag, Abdul Maula E. Uday, Maguid S. Alba, Tho Akmad Amino, Tumi Timba Abas, Mads P. Utto, Abedin E. Kenny, Gie S. Takilid, Malaguial S. Tanuri, Zacaria P. Akil, Tintingan Kamad Makaalay, Andami M. Singkala, Nasrudin S. Guiamadil, Denga O. Mentol, Toy K. Datumanong, Samaon M. Andatuan, Kudza Masukat Uguia, Ibrahim Ibrahim, Salipad M. Tampogao, Talembo "Tammy" Masukat, Ben A. Mendog, Sahid A. Guiamadil, Abdullah Bacar Abdullah, Kominie K. Inggo, Esiam Mantawil, Mama Habib, Mohamad K. Macauyag, Rusty U. Daud, Kasim T. Lingkong, Abusama B. Guiapal, Rakim M. Amil, Datunot G. Ayob, Norman M. Tatak, Butukan S. Malang, Sonny K. Pindi, Kasim K. Dalending, Edris Tekay Nanding, Abdulkarim L. Manalasan, Maguid Amil Datun, Thong E. Guimano, Tino T. Sanday, Armando O. Ambalgan, Bolatokan Omar, Nasser M. Malaguia, Ebrahim M. Abon, Muktar Santo Kindu, Andro K. Awil, Upam S. Saudi, Samsudin R. Kamilon, Marco G. Enged, Dexson A. Saptula, Norhato M. Kamino, Mohamad T. Datumanong, Nasser I. Guia and Nasser Adam