Fix [synonyms]

This commit is contained in:
niclas 2024-03-12 13:59:18 +01:00
parent 5d8dbf0d91
commit 3ece11b87f
2 changed files with 55 additions and 157 deletions

View file

@ -16,9 +16,7 @@
"https://en.wikipedia.org/wiki/General_Directorate_of_Intelligence" "https://en.wikipedia.org/wiki/General_Directorate_of_Intelligence"
], ],
"synonyms": [ "synonyms": [
[ "د استخباراتو لوی ریاست"
"د استخباراتو لوی ریاست"
]
] ]
}, },
"related": [], "related": [],
@ -34,9 +32,7 @@
"https://en.wikipedia.org/wiki/National_Intelligence_Service_(Albania)" "https://en.wikipedia.org/wiki/National_Intelligence_Service_(Albania)"
], ],
"synonyms": [ "synonyms": [
[ "Sherbimi Informativ Shteteror"
"Sherbimi Informativ Shteteror"
]
] ]
}, },
"related": [], "related": [],
@ -182,9 +178,7 @@
"https://en.wikipedia.org/wiki/Unidad_de_Inteligencia_Financiera_(Argentina)" "https://en.wikipedia.org/wiki/Unidad_de_Inteligencia_Financiera_(Argentina)"
], ],
"synonyms": [ "synonyms": [
[ "Unidad de Inteligencia Financiera"
"Unidad de Inteligencia Financiera"
]
] ]
}, },
"related": [], "related": [],
@ -213,9 +207,7 @@
"https://en.wikipedia.org/wiki/Servicio_de_Inteligencia_del_Ej%C3%A9rcito_(Argentina)" "https://en.wikipedia.org/wiki/Servicio_de_Inteligencia_del_Ej%C3%A9rcito_(Argentina)"
], ],
"synonyms": [ "synonyms": [
[ "Servicio de Inteligencia del Ejército"
"Servicio de Inteligencia del Ejército"
]
] ]
}, },
"related": [], "related": [],
@ -231,9 +223,7 @@
"https://en.wikipedia.org/wiki/Servicio_de_Inteligencia_Naval_(Argentina)" "https://en.wikipedia.org/wiki/Servicio_de_Inteligencia_Naval_(Argentina)"
], ],
"synonyms": [ "synonyms": [
[ "Servicio de Inteligencia Naval"
"Servicio de Inteligencia Naval"
]
] ]
}, },
"related": [], "related": [],
@ -249,9 +239,7 @@
"https://en.wikipedia.org/wiki/Servicio_de_Inteligencia_de_la_Fuerza_A%C3%A9rea_(Argentina)" "https://en.wikipedia.org/wiki/Servicio_de_Inteligencia_de_la_Fuerza_A%C3%A9rea_(Argentina)"
], ],
"synonyms": [ "synonyms": [
[ "Servicio de Inteligencia de la Fuerza Aérea"
"Servicio de Inteligencia de la Fuerza Aérea"
]
] ]
}, },
"related": [], "related": [],
@ -358,9 +346,7 @@
"https://en.wikipedia.org/wiki/Heeresnachrichtenamt" "https://en.wikipedia.org/wiki/Heeresnachrichtenamt"
], ],
"synonyms": [ "synonyms": [
[ "Army Intelligence Office"
"Army Intelligence Office"
]
] ]
}, },
"related": [], "related": [],
@ -376,9 +362,7 @@
"https://en.wikipedia.org/wiki/Ministry_of_Defence_(Austria)#Subordinate_departments" "https://en.wikipedia.org/wiki/Ministry_of_Defence_(Austria)#Subordinate_departments"
], ],
"synonyms": [ "synonyms": [
[ " Counter-Intelligence Office"
" Counter-Intelligence Office"
]
] ]
}, },
"related": [], "related": [],
@ -1457,9 +1441,7 @@
"https://en.wikipedia.org/wiki/Estonian_Internal_Security_Service" "https://en.wikipedia.org/wiki/Estonian_Internal_Security_Service"
], ],
"synonyms": [ "synonyms": [
[ "Kaitsepolitseiamet"
"Kaitsepolitseiamet"
]
] ]
}, },
"related": [], "related": [],
@ -1475,10 +1457,8 @@
"https://en.wikipedia.org/wiki/Estonian_Foreign_Intelligence_Service" "https://en.wikipedia.org/wiki/Estonian_Foreign_Intelligence_Service"
], ],
"synonyms": [ "synonyms": [
[ "VLA",
"VLA", "Välisluureamet"
"Välisluureamet"
]
] ]
}, },
"related": [], "related": [],
@ -1507,10 +1487,8 @@
"https://en.wikipedia.org/wiki/Finnish_Defence_Intelligence_Agency" "https://en.wikipedia.org/wiki/Finnish_Defence_Intelligence_Agency"
], ],
"synonyms": [ "synonyms": [
[ "Puolustusvoimien tiedustelulaitos (PVTIEDL)",
"Puolustusvoimien tiedustelulaitos (PVTIEDL)", "Försvarsmaktens underrättelsetjänst"
"Försvarsmaktens underrättelsetjänst"
]
] ]
}, },
"related": [], "related": [],
@ -1526,9 +1504,7 @@
"https://en.wikipedia.org/wiki/Intelligence_Division_(Finland)" "https://en.wikipedia.org/wiki/Intelligence_Division_(Finland)"
], ],
"synonyms": [ "synonyms": [
[ "Pääesikunnan tiedusteluosasto (PE TIEDOS) / Huvudstabens underrättelseavdelning)"
"Pääesikunnan tiedusteluosasto (PE TIEDOS) / Huvudstabens underrättelseavdelning)"
]
] ]
}, },
"related": [], "related": [],
@ -1544,9 +1520,7 @@
"https://en.wikipedia.org/wiki/Finnish_Security_Intelligence_Service" "https://en.wikipedia.org/wiki/Finnish_Security_Intelligence_Service"
], ],
"synonyms": [ "synonyms": [
[ "Suojelupoliisi / Skyddspolisen"
"Suojelupoliisi / Skyddspolisen"
]
] ]
}, },
"related": [], "related": [],
@ -1562,9 +1536,7 @@
"https://en.wikipedia.org/wiki/National_Centre_for_Counter_Terrorism" "https://en.wikipedia.org/wiki/National_Centre_for_Counter_Terrorism"
], ],
"synonyms": [ "synonyms": [
[ "Coordination nationale du renseignement et de la lutte contre le terrorisme"
"Coordination nationale du renseignement et de la lutte contre le terrorisme"
]
] ]
}, },
"related": [], "related": [],
@ -1580,9 +1552,7 @@
"https://en.wikipedia.org/wiki/General_Directorate_for_Internal_Security" "https://en.wikipedia.org/wiki/General_Directorate_for_Internal_Security"
], ],
"synonyms": [ "synonyms": [
[ "Direction générale de la sécurité intérieure"
"Direction générale de la sécurité intérieure"
]
] ]
}, },
"related": [], "related": [],
@ -1595,9 +1565,7 @@
"country": "FR", "country": "FR",
"country_name": "France", "country_name": "France",
"synonyms": [ "synonyms": [
[ "direction nationale du renseignement territorial "
"direction nationale du renseignement territorial "
]
] ]
}, },
"related": [], "related": [],
@ -1610,9 +1578,7 @@
"country": "FR", "country": "FR",
"country_name": "France", "country_name": "France",
"synonyms": [ "synonyms": [
[ "Sous-direction anti-terroriste"
"Sous-direction anti-terroriste"
]
] ]
}, },
"related": [], "related": [],
@ -1628,9 +1594,7 @@
"https://en.wikipedia.org/wiki/Directorate-General_for_External_Security" "https://en.wikipedia.org/wiki/Directorate-General_for_External_Security"
], ],
"synonyms": [ "synonyms": [
[ "Direction générale de la sécurité extérieure"
"Direction générale de la sécurité extérieure"
]
] ]
}, },
"related": [], "related": [],
@ -1646,9 +1610,7 @@
"https://en.wikipedia.org/wiki/DRSD" "https://en.wikipedia.org/wiki/DRSD"
], ],
"synonyms": [ "synonyms": [
[ "Direction du Renseignement et de la Sécurité de la Défense"
"Direction du Renseignement et de la Sécurité de la Défense"
]
] ]
}, },
"related": [], "related": [],
@ -1716,9 +1678,7 @@
"https://en.wikipedia.org/wiki/State_Security_Service_(Georgia)" "https://en.wikipedia.org/wiki/State_Security_Service_(Georgia)"
], ],
"synonyms": [ "synonyms": [
[ "სახელმწიფო უშიშროების სამსახური"
"სახელმწიფო უშიშროების სამსახური"
]
] ]
}, },
"related": [], "related": [],
@ -1734,9 +1694,7 @@
"https://en.wikipedia.org/wiki/Georgian_Intelligence_Service" "https://en.wikipedia.org/wiki/Georgian_Intelligence_Service"
], ],
"synonyms": [ "synonyms": [
[ "საქართველოს დაზვერვის სამსახური"
"საქართველოს დაზვერვის სამსახური"
]
] ]
}, },
"related": [], "related": [],
@ -1762,9 +1720,7 @@
"https://en.wikipedia.org/wiki/Bundesnachrichtendienst" "https://en.wikipedia.org/wiki/Bundesnachrichtendienst"
], ],
"synonyms": [ "synonyms": [
[ "Federal Intelligence Service"
"Federal Intelligence Service"
]
] ]
}, },
"related": [], "related": [],
@ -1780,9 +1736,7 @@
"https://en.wikipedia.org/wiki/Bundesamt_f%C3%BCr_Verfassungsschutz" "https://en.wikipedia.org/wiki/Bundesamt_f%C3%BCr_Verfassungsschutz"
], ],
"synonyms": [ "synonyms": [
[ "Federal Office for the Protection of the Constitution"
"Federal Office for the Protection of the Constitution"
]
] ]
}, },
"related": [], "related": [],
@ -1808,9 +1762,7 @@
"country": "DE", "country": "DE",
"country_name": "Germany", "country_name": "Germany",
"synonyms": [ "synonyms": [
[ "Center for information and communication technology"
"Center for information and communication technology"
]
] ]
}, },
"related": [], "related": [],
@ -1826,9 +1778,7 @@
"https://en.wikipedia.org/wiki/Milit%C3%A4rischer_Abschirmdienst" "https://en.wikipedia.org/wiki/Milit%C3%A4rischer_Abschirmdienst"
], ],
"synonyms": [ "synonyms": [
[ "Military Counterintelligence Service"
"Military Counterintelligence Service"
]
] ]
}, },
"related": [], "related": [],
@ -1870,9 +1820,7 @@
"https://en.wikipedia.org/wiki/National_Intelligence_Service_(Greece)" "https://en.wikipedia.org/wiki/National_Intelligence_Service_(Greece)"
], ],
"synonyms": [ "synonyms": [
[ "Εθνική Υπηρεσία Πληροφοριών"
"Εθνική Υπηρεσία Πληροφοριών"
]
] ]
}, },
"related": [], "related": [],
@ -2165,9 +2113,7 @@
"https://en.wikipedia.org/wiki/State_Intelligence_Agency_(Indonesia)" "https://en.wikipedia.org/wiki/State_Intelligence_Agency_(Indonesia)"
], ],
"synonyms": [ "synonyms": [
[ "Badan Intelijen Negara"
"Badan Intelijen Negara"
]
] ]
}, },
"related": [], "related": [],
@ -2183,9 +2129,7 @@
"https://en.wikipedia.org/wiki/Indonesian_Strategic_Intelligence_Agency" "https://en.wikipedia.org/wiki/Indonesian_Strategic_Intelligence_Agency"
], ],
"synonyms": [ "synonyms": [
[ "Badan Intelijen Strategis Tentara Nasional Indonesia"
"Badan Intelijen Strategis Tentara Nasional Indonesia"
]
] ]
}, },
"related": [], "related": [],
@ -2201,9 +2145,7 @@
"https://en.wikipedia.org/wiki/Indonesian_Army_Intelligence_Centre" "https://en.wikipedia.org/wiki/Indonesian_Army_Intelligence_Centre"
], ],
"synonyms": [ "synonyms": [
[ "Pusat Intelijen Tentara Nasional Indonesia Angkatan Darat"
"Pusat Intelijen Tentara Nasional Indonesia Angkatan Darat"
]
] ]
}, },
"related": [], "related": [],
@ -2219,9 +2161,7 @@
"https://en.wikipedia.org/wiki/National_Cyber_and_Crypto_Agency" "https://en.wikipedia.org/wiki/National_Cyber_and_Crypto_Agency"
], ],
"synonyms": [ "synonyms": [
[ "Badan Siber dan Sandi Negara"
"Badan Siber dan Sandi Negara"
]
] ]
}, },
"related": [], "related": [],
@ -2237,9 +2177,7 @@
"https://en.wikipedia.org/wiki/Attorney_General%27s_Office_of_Indonesia" "https://en.wikipedia.org/wiki/Attorney_General%27s_Office_of_Indonesia"
], ],
"synonyms": [ "synonyms": [
[ "Jaksa Agung Muda Bidang Intelijen Kejaksaan Agung"
"Jaksa Agung Muda Bidang Intelijen Kejaksaan Agung"
]
] ]
}, },
"related": [], "related": [],
@ -2255,9 +2193,7 @@
"https://en.wikipedia.org/wiki/Directorate_General_of_Immigration_(Indonesia)" "https://en.wikipedia.org/wiki/Directorate_General_of_Immigration_(Indonesia)"
], ],
"synonyms": [ "synonyms": [
[ "Direktorat Intelijen Imigrasi"
"Direktorat Intelijen Imigrasi"
]
] ]
}, },
"related": [], "related": [],
@ -2273,9 +2209,7 @@
"https://en.wikipedia.org/wiki/National_Anti-Narcotics_Agency_(Indonesia)" "https://en.wikipedia.org/wiki/National_Anti-Narcotics_Agency_(Indonesia)"
], ],
"synonyms": [ "synonyms": [
[ "Seksi Intelijen Badan Narkotika Nasional"
"Seksi Intelijen Badan Narkotika Nasional"
]
] ]
}, },
"related": [], "related": [],
@ -2291,9 +2225,7 @@
"https://en.wikipedia.orghttps://id.wikipedia.org/wiki/Badan_Intelijen_dan_Keamanan_Kepolisian_Negara_Republik_Indonesia" "https://en.wikipedia.orghttps://id.wikipedia.org/wiki/Badan_Intelijen_dan_Keamanan_Kepolisian_Negara_Republik_Indonesia"
], ],
"synonyms": [ "synonyms": [
[ "Badan Intelijen dan Keamanan Kepolisian Negara Republik Indonesia"
"Badan Intelijen dan Keamanan Kepolisian Negara Republik Indonesia"
]
] ]
}, },
"related": [], "related": [],
@ -2309,9 +2241,7 @@
"https://en.wikipedia.org/wiki/Directorate_General_of_Customs_and_Excise_(Indonesia)" "https://en.wikipedia.org/wiki/Directorate_General_of_Customs_and_Excise_(Indonesia)"
], ],
"synonyms": [ "synonyms": [
[ "Sub-Direktorat Intelijen Direktorat Jenderal Bea Cukai"
"Sub-Direktorat Intelijen Direktorat Jenderal Bea Cukai"
]
] ]
}, },
"related": [], "related": [],
@ -2327,9 +2257,7 @@
"https://en.wikipedia.org/wiki/Indonesian_Financial_Transaction_Reports_and_Analysis_Center" "https://en.wikipedia.org/wiki/Indonesian_Financial_Transaction_Reports_and_Analysis_Center"
], ],
"synonyms": [ "synonyms": [
[ "Pusat Pelaporan dan Analisis Transaksi Keuangan"
"Pusat Pelaporan dan Analisis Transaksi Keuangan"
]
] ]
}, },
"related": [], "related": [],
@ -3171,9 +3099,7 @@
"https://en.wikipedia.org/wiki/National_Coordinator_for_Counterterrorism_and_Security" "https://en.wikipedia.org/wiki/National_Coordinator_for_Counterterrorism_and_Security"
], ],
"synonyms": [ "synonyms": [
[ "Nationaal Coördinator Terrorismebestrijding en Veiligheid"
"Nationaal Coördinator Terrorismebestrijding en Veiligheid"
]
] ]
}, },
"related": [], "related": [],
@ -3313,9 +3239,7 @@
"https://en.wikipedia.org/wiki/Administration_for_Security_and_Counterintelligence" "https://en.wikipedia.org/wiki/Administration_for_Security_and_Counterintelligence"
], ],
"synonyms": [ "synonyms": [
[ "Uprava za bezbednost i kontrarazuznavanje"
"Uprava za bezbednost i kontrarazuznavanje"
]
] ]
}, },
"related": [], "related": [],
@ -3331,9 +3255,7 @@
"https://en.wikipedia.org/wiki/Intelligence_Agency_of_North_Macedonia" "https://en.wikipedia.org/wiki/Intelligence_Agency_of_North_Macedonia"
], ],
"synonyms": [ "synonyms": [
[ "Agencija za Razuznavanje"
"Agencija za Razuznavanje"
]
] ]
}, },
"related": [], "related": [],
@ -3349,9 +3271,7 @@
"https://en.wikipedia.org/wiki/Military_Service_for_Security_and_Intelligence" "https://en.wikipedia.org/wiki/Military_Service_for_Security_and_Intelligence"
], ],
"synonyms": [ "synonyms": [
[ "Voena služba za razuznuvanje i bezbednost"
"Voena služba za razuznuvanje i bezbednost"
]
] ]
}, },
"related": [], "related": [],
@ -3744,9 +3664,7 @@
"https://en.wikipedia.org/wiki/National_Intelligence_Coordinating_Agency" "https://en.wikipedia.org/wiki/National_Intelligence_Coordinating_Agency"
], ],
"synonyms": [ "synonyms": [
[ "Pambansang Ahensiya sa Ugnayang Intelihensiya"
"Pambansang Ahensiya sa Ugnayang Intelihensiya"
]
] ]
}, },
"related": [], "related": [],
@ -3762,9 +3680,7 @@
"https://en.wikipedia.org/wiki/National_Bureau_of_Investigation_(Philippines)" "https://en.wikipedia.org/wiki/National_Bureau_of_Investigation_(Philippines)"
], ],
"synonyms": [ "synonyms": [
[ "Pambansang Kawanihan ng Pagsisiyasat"
"Pambansang Kawanihan ng Pagsisiyasat"
]
] ]
}, },
"related": [], "related": [],
@ -3897,9 +3813,7 @@
"https://en.wikipedia.org/wiki/Romanian_Intelligence_Service" "https://en.wikipedia.org/wiki/Romanian_Intelligence_Service"
], ],
"synonyms": [ "synonyms": [
[ "Serviciul Român de Informații"
"Serviciul Român de Informații"
]
] ]
}, },
"related": [], "related": [],
@ -3915,9 +3829,7 @@
"https://en.wikipedia.org/wiki/Foreign_Intelligence_Service_(Romania)" "https://en.wikipedia.org/wiki/Foreign_Intelligence_Service_(Romania)"
], ],
"synonyms": [ "synonyms": [
[ "Serviciul de Informații Externe"
"Serviciul de Informații Externe"
]
] ]
}, },
"related": [], "related": [],
@ -3959,9 +3871,7 @@
"https://en.wikipedia.org/wiki/Direc%C8%9Bia_General%C4%83_de_Informa%C8%9Bii_%C8%99i_Protec%C8%9Bie_Intern%C4%83" "https://en.wikipedia.org/wiki/Direc%C8%9Bia_General%C4%83_de_Informa%C8%9Bii_%C8%99i_Protec%C8%9Bie_Intern%C4%83"
], ],
"synonyms": [ "synonyms": [
[ "Direcția Generală de Protecție Internă"
"Direcția Generală de Protecție Internă"
]
] ]
}, },
"related": [], "related": [],
@ -3977,9 +3887,7 @@
"https://en.wikipedia.org/wiki/Federal_Security_Service_(Russia)" "https://en.wikipedia.org/wiki/Federal_Security_Service_(Russia)"
], ],
"synonyms": [ "synonyms": [
[ "Федеральная служба безопасности"
"Федеральная служба безопасности"
]
] ]
}, },
"related": [], "related": [],
@ -3995,9 +3903,7 @@
"https://en.wikipedia.org/wiki/Main_Directorate_of_Special_Programs_of_the_President_of_the_Russian_Federation" "https://en.wikipedia.org/wiki/Main_Directorate_of_Special_Programs_of_the_President_of_the_Russian_Federation"
], ],
"synonyms": [ "synonyms": [
[ "Главное управление специальных программ Президента Российской Федерации"
"Главное управление специальных программ Президента Российской Федерации"
]
] ]
}, },
"related": [], "related": [],
@ -4013,9 +3919,7 @@
"https://en.wikipedia.org/wiki/Foreign_Intelligence_Service_(Russia)" "https://en.wikipedia.org/wiki/Foreign_Intelligence_Service_(Russia)"
], ],
"synonyms": [ "synonyms": [
[ "Служба Внешней Разведки"
"Служба Внешней Разведки"
]
] ]
}, },
"related": [], "related": [],
@ -4031,9 +3935,7 @@
"https://en.wikipedia.org/wiki/GRU_(Russian_Federation)" "https://en.wikipedia.org/wiki/GRU_(Russian_Federation)"
], ],
"synonyms": [ "synonyms": [
[ "Главное Разведывательное Управление"
"Главное Разведывательное Управление"
]
] ]
}, },
"related": [], "related": [],
@ -4049,9 +3951,7 @@
"https://en.wikipedia.org/wiki/Special_Communications_Service_of_Russia" "https://en.wikipedia.org/wiki/Special_Communications_Service_of_Russia"
], ],
"synonyms": [ "synonyms": [
[ "Служба специальной связи и информации"
"Служба специальной связи и информации"
]
] ]
}, },
"related": [], "related": [],
@ -5635,9 +5535,7 @@
"https://en.wikipedia.orghttps://es.wikipedia.org/wiki/Secretar%C3%ADa_de_Inteligencia_Estrat%C3%A9gica_de_Estado" "https://en.wikipedia.orghttps://es.wikipedia.org/wiki/Secretar%C3%ADa_de_Inteligencia_Estrat%C3%A9gica_de_Estado"
], ],
"synonyms": [ "synonyms": [
[ "Secretaría de Inteligencia Estratégica de Estado"
"Secretaría de Inteligencia Estratégica de Estado"
]
] ]
}, },
"related": [], "related": [],

View file

@ -122,9 +122,9 @@ def get_agencies_from_country(heading, current_country, uuids):
country_name = None country_name = None
if uuids and name in uuids: if uuids and name in uuids:
agencies.append(IntelAgency(value=name, uuid=uuids[name], meta=Meta(country=country_code, country_name=country_name, refs=[links], synonyms=[synonyms]), description=description)) agencies.append(IntelAgency(value=name, uuid=uuids[name], meta=Meta(country=country_code, country_name=country_name, refs=[links], synonyms=synonyms), description=description))
else: else:
agencies.append(IntelAgency(value=name, meta=Meta(country=country_code, country_name=country_name, refs=[links], synonyms=[synonyms]), uuid=str(uuid.uuid4()), description=description)) agencies.append(IntelAgency(value=name, meta=Meta(country=country_code, country_name=country_name, refs=[links], synonyms=synonyms), uuid=str(uuid.uuid4()), description=description))
return agencies return agencies