Fix [synonyms]

pull/946/head
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,10 +16,8 @@
"https://en.wikipedia.org/wiki/General_Directorate_of_Intelligence"
],
"synonyms": [
[
"د استخباراتو لوی ریاست"
]
]
},
"related": [],
"uuid": "a07c6e6c-1ce2-42dd-9fbc-955513cc2b79",
@ -34,10 +32,8 @@
"https://en.wikipedia.org/wiki/National_Intelligence_Service_(Albania)"
],
"synonyms": [
[
"Sherbimi Informativ Shteteror"
]
]
},
"related": [],
"uuid": "3891d3d1-427a-4b09-8f2d-0e32086e52ca",
@ -182,10 +178,8 @@
"https://en.wikipedia.org/wiki/Unidad_de_Inteligencia_Financiera_(Argentina)"
],
"synonyms": [
[
"Unidad de Inteligencia Financiera"
]
]
},
"related": [],
"uuid": "07ef7070-8372-4cc2-b964-7e4bbce18bc0",
@ -213,10 +207,8 @@
"https://en.wikipedia.org/wiki/Servicio_de_Inteligencia_del_Ej%C3%A9rcito_(Argentina)"
],
"synonyms": [
[
"Servicio de Inteligencia del Ejército"
]
]
},
"related": [],
"uuid": "11c6311b-194d-47f9-8a86-2b9fa5ee55d7",
@ -231,10 +223,8 @@
"https://en.wikipedia.org/wiki/Servicio_de_Inteligencia_Naval_(Argentina)"
],
"synonyms": [
[
"Servicio de Inteligencia Naval"
]
]
},
"related": [],
"uuid": "d347e31f-13c7-474c-b1ed-6ad35a4c194a",
@ -249,10 +239,8 @@
"https://en.wikipedia.org/wiki/Servicio_de_Inteligencia_de_la_Fuerza_A%C3%A9rea_(Argentina)"
],
"synonyms": [
[
"Servicio de Inteligencia de la Fuerza Aérea"
]
]
},
"related": [],
"uuid": "c572ef76-3750-47c9-b47e-aeca300b2def",
@ -358,10 +346,8 @@
"https://en.wikipedia.org/wiki/Heeresnachrichtenamt"
],
"synonyms": [
[
"Army Intelligence Office"
]
]
},
"related": [],
"uuid": "e97c06a3-71d5-40b7-a3ed-901036e1845f",
@ -376,10 +362,8 @@
"https://en.wikipedia.org/wiki/Ministry_of_Defence_(Austria)#Subordinate_departments"
],
"synonyms": [
[
" Counter-Intelligence Office"
]
]
},
"related": [],
"uuid": "c9505672-910c-4104-8b99-c5c7faaca1df",
@ -1457,10 +1441,8 @@
"https://en.wikipedia.org/wiki/Estonian_Internal_Security_Service"
],
"synonyms": [
[
"Kaitsepolitseiamet"
]
]
},
"related": [],
"uuid": "12f3e8d3-cd10-421b-9867-7158e0c76936",
@ -1475,11 +1457,9 @@
"https://en.wikipedia.org/wiki/Estonian_Foreign_Intelligence_Service"
],
"synonyms": [
[
"VLA",
"Välisluureamet"
]
]
},
"related": [],
"uuid": "1eb1f2d8-496d-493c-b55b-fbce26b5b866",
@ -1507,11 +1487,9 @@
"https://en.wikipedia.org/wiki/Finnish_Defence_Intelligence_Agency"
],
"synonyms": [
[
"Puolustusvoimien tiedustelulaitos (PVTIEDL)",
"Försvarsmaktens underrättelsetjänst"
]
]
},
"related": [],
"uuid": "d832ca69-f87f-424c-a333-fa70fd35d55c",
@ -1526,10 +1504,8 @@
"https://en.wikipedia.org/wiki/Intelligence_Division_(Finland)"
],
"synonyms": [
[
"Pääesikunnan tiedusteluosasto (PE TIEDOS) / Huvudstabens underrättelseavdelning)"
]
]
},
"related": [],
"uuid": "eae466b1-e787-4797-9d58-7f2233f5f458",
@ -1544,10 +1520,8 @@
"https://en.wikipedia.org/wiki/Finnish_Security_Intelligence_Service"
],
"synonyms": [
[
"Suojelupoliisi / Skyddspolisen"
]
]
},
"related": [],
"uuid": "03f96301-d622-49cd-a5fc-9c0e1285526f",
@ -1562,10 +1536,8 @@
"https://en.wikipedia.org/wiki/National_Centre_for_Counter_Terrorism"
],
"synonyms": [
[
"Coordination nationale du renseignement et de la lutte contre le terrorisme"
]
]
},
"related": [],
"uuid": "f5d34187-e8cc-4d0b-922b-5677073e29f3",
@ -1580,10 +1552,8 @@
"https://en.wikipedia.org/wiki/General_Directorate_for_Internal_Security"
],
"synonyms": [
[
"Direction générale de la sécurité intérieure"
]
]
},
"related": [],
"uuid": "e1e11b0f-dbf5-44fd-b4c2-e1ec559fd874",
@ -1595,10 +1565,8 @@
"country": "FR",
"country_name": "France",
"synonyms": [
[
"direction nationale du renseignement territorial "
]
]
},
"related": [],
"uuid": "216db004-df60-4940-8aad-29a6f2cd34c0",
@ -1610,10 +1578,8 @@
"country": "FR",
"country_name": "France",
"synonyms": [
[
"Sous-direction anti-terroriste"
]
]
},
"related": [],
"uuid": "355cf90e-3fba-47c2-a275-f98214cc6b3f",
@ -1628,10 +1594,8 @@
"https://en.wikipedia.org/wiki/Directorate-General_for_External_Security"
],
"synonyms": [
[
"Direction générale de la sécurité extérieure"
]
]
},
"related": [],
"uuid": "eb7185f4-d3d7-4b78-bb0e-3f90270eab62",
@ -1646,10 +1610,8 @@
"https://en.wikipedia.org/wiki/DRSD"
],
"synonyms": [
[
"Direction du Renseignement et de la Sécurité de la Défense"
]
]
},
"related": [],
"uuid": "02475533-f437-496a-b363-36c25784431c",
@ -1716,10 +1678,8 @@
"https://en.wikipedia.org/wiki/State_Security_Service_(Georgia)"
],
"synonyms": [
[
"სახელმწიფო უშიშროების სამსახური"
]
]
},
"related": [],
"uuid": "927e2df1-b301-488b-be45-4db5e505ae59",
@ -1734,10 +1694,8 @@
"https://en.wikipedia.org/wiki/Georgian_Intelligence_Service"
],
"synonyms": [
[
"საქართველოს დაზვერვის სამსახური"
]
]
},
"related": [],
"uuid": "7f066777-06a0-45ca-968b-d788c6fd51eb",
@ -1762,10 +1720,8 @@
"https://en.wikipedia.org/wiki/Bundesnachrichtendienst"
],
"synonyms": [
[
"Federal Intelligence Service"
]
]
},
"related": [],
"uuid": "34052935-41a7-4fa0-8649-2a759a5a1f32",
@ -1780,10 +1736,8 @@
"https://en.wikipedia.org/wiki/Bundesamt_f%C3%BCr_Verfassungsschutz"
],
"synonyms": [
[
"Federal Office for the Protection of the Constitution"
]
]
},
"related": [],
"uuid": "4d9c3fda-2bb1-464e-9408-8606f1b6a5e4",
@ -1808,10 +1762,8 @@
"country": "DE",
"country_name": "Germany",
"synonyms": [
[
"Center for information and communication technology"
]
]
},
"related": [],
"uuid": "2985b51f-e747-4302-9128-9ea355d27dde",
@ -1826,10 +1778,8 @@
"https://en.wikipedia.org/wiki/Milit%C3%A4rischer_Abschirmdienst"
],
"synonyms": [
[
"Military Counterintelligence Service"
]
]
},
"related": [],
"uuid": "396482dc-0c4f-4ff7-bdda-e929eabfab81",
@ -1870,10 +1820,8 @@
"https://en.wikipedia.org/wiki/National_Intelligence_Service_(Greece)"
],
"synonyms": [
[
"Εθνική Υπηρεσία Πληροφοριών"
]
]
},
"related": [],
"uuid": "c9912b77-b6de-483c-ae5a-7860ebda928e",
@ -2165,10 +2113,8 @@
"https://en.wikipedia.org/wiki/State_Intelligence_Agency_(Indonesia)"
],
"synonyms": [
[
"Badan Intelijen Negara"
]
]
},
"related": [],
"uuid": "5bd47826-d3c7-4302-9f53-aeb00af2d507",
@ -2183,10 +2129,8 @@
"https://en.wikipedia.org/wiki/Indonesian_Strategic_Intelligence_Agency"
],
"synonyms": [
[
"Badan Intelijen Strategis Tentara Nasional Indonesia"
]
]
},
"related": [],
"uuid": "c178c3c7-c69e-43e6-a811-05c51ab5dfd8",
@ -2201,10 +2145,8 @@
"https://en.wikipedia.org/wiki/Indonesian_Army_Intelligence_Centre"
],
"synonyms": [
[
"Pusat Intelijen Tentara Nasional Indonesia Angkatan Darat"
]
]
},
"related": [],
"uuid": "6af5e7d5-a767-497e-923f-a5c2fa291468",
@ -2219,10 +2161,8 @@
"https://en.wikipedia.org/wiki/National_Cyber_and_Crypto_Agency"
],
"synonyms": [
[
"Badan Siber dan Sandi Negara"
]
]
},
"related": [],
"uuid": "7488201c-d680-4ae6-b0d3-7bb127d23abc",
@ -2237,10 +2177,8 @@
"https://en.wikipedia.org/wiki/Attorney_General%27s_Office_of_Indonesia"
],
"synonyms": [
[
"Jaksa Agung Muda Bidang Intelijen Kejaksaan Agung"
]
]
},
"related": [],
"uuid": "dd32f7c2-34fc-487d-906a-dbf5718da614",
@ -2255,10 +2193,8 @@
"https://en.wikipedia.org/wiki/Directorate_General_of_Immigration_(Indonesia)"
],
"synonyms": [
[
"Direktorat Intelijen Imigrasi"
]
]
},
"related": [],
"uuid": "87a99491-a2df-4a54-a4c9-02c50711c93c",
@ -2273,10 +2209,8 @@
"https://en.wikipedia.org/wiki/National_Anti-Narcotics_Agency_(Indonesia)"
],
"synonyms": [
[
"Seksi Intelijen Badan Narkotika Nasional"
]
]
},
"related": [],
"uuid": "72fdcd1a-a27d-45d3-920b-683039811ac8",
@ -2291,10 +2225,8 @@
"https://en.wikipedia.orghttps://id.wikipedia.org/wiki/Badan_Intelijen_dan_Keamanan_Kepolisian_Negara_Republik_Indonesia"
],
"synonyms": [
[
"Badan Intelijen dan Keamanan Kepolisian Negara Republik Indonesia"
]
]
},
"related": [],
"uuid": "724db1e0-8073-438e-8585-c62426f5c5c8",
@ -2309,10 +2241,8 @@
"https://en.wikipedia.org/wiki/Directorate_General_of_Customs_and_Excise_(Indonesia)"
],
"synonyms": [
[
"Sub-Direktorat Intelijen Direktorat Jenderal Bea Cukai"
]
]
},
"related": [],
"uuid": "58694642-d310-49bd-8639-33059ba865f5",
@ -2327,10 +2257,8 @@
"https://en.wikipedia.org/wiki/Indonesian_Financial_Transaction_Reports_and_Analysis_Center"
],
"synonyms": [
[
"Pusat Pelaporan dan Analisis Transaksi Keuangan"
]
]
},
"related": [],
"uuid": "a35699f7-49fc-4649-8283-4eac1cc9eaab",
@ -3171,10 +3099,8 @@
"https://en.wikipedia.org/wiki/National_Coordinator_for_Counterterrorism_and_Security"
],
"synonyms": [
[
"Nationaal Coördinator Terrorismebestrijding en Veiligheid"
]
]
},
"related": [],
"uuid": "2167d502-895a-412a-a704-d83821092e18",
@ -3313,10 +3239,8 @@
"https://en.wikipedia.org/wiki/Administration_for_Security_and_Counterintelligence"
],
"synonyms": [
[
"Uprava za bezbednost i kontrarazuznavanje"
]
]
},
"related": [],
"uuid": "7776fe8b-b24a-4d8d-86e4-2cd783c4dec1",
@ -3331,10 +3255,8 @@
"https://en.wikipedia.org/wiki/Intelligence_Agency_of_North_Macedonia"
],
"synonyms": [
[
"Agencija za Razuznavanje"
]
]
},
"related": [],
"uuid": "0fdb2968-e9fb-4c3f-ba3f-813c67d0dd7a",
@ -3349,10 +3271,8 @@
"https://en.wikipedia.org/wiki/Military_Service_for_Security_and_Intelligence"
],
"synonyms": [
[
"Voena služba za razuznuvanje i bezbednost"
]
]
},
"related": [],
"uuid": "855b9048-13b0-43cf-a878-9042611df2f3",
@ -3744,10 +3664,8 @@
"https://en.wikipedia.org/wiki/National_Intelligence_Coordinating_Agency"
],
"synonyms": [
[
"Pambansang Ahensiya sa Ugnayang Intelihensiya"
]
]
},
"related": [],
"uuid": "d548cead-eb63-4b93-9461-1a41ab00c7ea",
@ -3762,10 +3680,8 @@
"https://en.wikipedia.org/wiki/National_Bureau_of_Investigation_(Philippines)"
],
"synonyms": [
[
"Pambansang Kawanihan ng Pagsisiyasat"
]
]
},
"related": [],
"uuid": "9503befa-bdf3-4918-a3cb-c7636ccd4344",
@ -3897,10 +3813,8 @@
"https://en.wikipedia.org/wiki/Romanian_Intelligence_Service"
],
"synonyms": [
[
"Serviciul Român de Informații"
]
]
},
"related": [],
"uuid": "b09a920a-778c-48df-bda6-730ec68e55ed",
@ -3915,10 +3829,8 @@
"https://en.wikipedia.org/wiki/Foreign_Intelligence_Service_(Romania)"
],
"synonyms": [
[
"Serviciul de Informații Externe"
]
]
},
"related": [],
"uuid": "26df2cec-5678-4d69-9a78-fd6a2425b2d1",
@ -3959,10 +3871,8 @@
"https://en.wikipedia.org/wiki/Direc%C8%9Bia_General%C4%83_de_Informa%C8%9Bii_%C8%99i_Protec%C8%9Bie_Intern%C4%83"
],
"synonyms": [
[
"Direcția Generală de Protecție Internă"
]
]
},
"related": [],
"uuid": "2705de7c-b66f-4f5f-909d-f5eafc9c61bd",
@ -3977,10 +3887,8 @@
"https://en.wikipedia.org/wiki/Federal_Security_Service_(Russia)"
],
"synonyms": [
[
"Федеральная служба безопасности"
]
]
},
"related": [],
"uuid": "921f6da7-5341-4fee-8da5-6594de7bf3d3",
@ -3995,10 +3903,8 @@
"https://en.wikipedia.org/wiki/Main_Directorate_of_Special_Programs_of_the_President_of_the_Russian_Federation"
],
"synonyms": [
[
"Главное управление специальных программ Президента Российской Федерации"
]
]
},
"related": [],
"uuid": "2d17b56a-b8f1-4b83-9597-aa1843895820",
@ -4013,10 +3919,8 @@
"https://en.wikipedia.org/wiki/Foreign_Intelligence_Service_(Russia)"
],
"synonyms": [
[
"Служба Внешней Разведки"
]
]
},
"related": [],
"uuid": "8ed9ee72-dcc7-4ea9-892a-fb4e28bd22fb",
@ -4031,10 +3935,8 @@
"https://en.wikipedia.org/wiki/GRU_(Russian_Federation)"
],
"synonyms": [
[
"Главное Разведывательное Управление"
]
]
},
"related": [],
"uuid": "8662a76c-3919-4890-86f6-1be131079e5c",
@ -4049,10 +3951,8 @@
"https://en.wikipedia.org/wiki/Special_Communications_Service_of_Russia"
],
"synonyms": [
[
"Служба специальной связи и информации"
]
]
},
"related": [],
"uuid": "05a49f7e-6948-4355-aa2f-3dd42d3960c0",
@ -5635,10 +5535,8 @@
"https://en.wikipedia.orghttps://es.wikipedia.org/wiki/Secretar%C3%ADa_de_Inteligencia_Estrat%C3%A9gica_de_Estado"
],
"synonyms": [
[
"Secretaría de Inteligencia Estratégica de Estado"
]
]
},
"related": [],
"uuid": "35ff75a5-9d96-4588-b5d3-abfdebdeb155",

View File

@ -122,9 +122,9 @@ def get_agencies_from_country(heading, current_country, uuids):
country_name = None
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:
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