From cd5d203e3b70b07fbd0744d25b8cb8dc6d0f0daf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Cie=C5=9Blar?= Date: Sat, 18 Nov 2023 23:17:23 +0100 Subject: [PATCH] add greek names (#277) --- include/faker-cxx/Helper.h | 4 +- include/faker-cxx/types/Country.h | 12 +- src/modules/date/DateTest.cpp | 1 - src/modules/git/GitTest.cpp | 2 - src/modules/person/Person.cpp | 2 + src/modules/person/PersonTest.cpp | 3 + .../person/data/greece/GreekFirstNames.h | 101 +++++ .../person/data/greece/GreekLastNames.h | 360 ++++++++++++++++++ .../person/data/greece/GreekPeopleNames.h | 15 + 9 files changed, 491 insertions(+), 9 deletions(-) create mode 100644 src/modules/person/data/greece/GreekFirstNames.h create mode 100644 src/modules/person/data/greece/GreekLastNames.h create mode 100644 src/modules/person/data/greece/GreekPeopleNames.h diff --git a/include/faker-cxx/Helper.h b/include/faker-cxx/Helper.h index ec32e10fd..0cfc1a98f 100644 --- a/include/faker-cxx/Helper.h +++ b/include/faker-cxx/Helper.h @@ -98,9 +98,9 @@ class Helper const auto sumOfWeights = std::accumulate(data.begin(), data.end(), 0u, - [](size_t sum, const WeightedElement& element) { return sum + element.weight; }); + [](unsigned sum, const WeightedElement& element) { return sum + element.weight; }); - if (sumOfWeights == 0) + if (sumOfWeights == 0u) { throw std::invalid_argument{"Sum of weights is zero."}; } diff --git a/include/faker-cxx/types/Country.h b/include/faker-cxx/types/Country.h index 1c8a35c81..95a5b4679 100644 --- a/include/faker-cxx/types/Country.h +++ b/include/faker-cxx/types/Country.h @@ -32,13 +32,16 @@ enum class Country Portugal, Hungary, Croatia, + Greece, }; const std::vector countries{ - Country::Usa, Country::England, Country::Poland, Country::Italy, Country::France, Country::Germany, - Country::Russia, Country::Romania, Country::India, Country::Finland, Country::Nepal, Country::Spain, - Country::Turkey, Country::Czech, Country::Slovakia, Country::Ukraine, Country::Denmark, Country::Sweden, - Country::Brazil, Country::Norway, Country::Japan, Country::Portugal, Country::Hungary, Country::Croatia}; + Country::Usa, Country::England, Country::Poland, Country::Italy, Country::France, + Country::Germany, Country::Russia, Country::Romania, Country::India, Country::Finland, + Country::Nepal, Country::Spain, Country::Turkey, Country::Czech, Country::Slovakia, + Country::Ukraine, Country::Denmark, Country::Sweden, Country::Brazil, Country::Norway, + Country::Japan, Country::Portugal, Country::Hungary, Country::Croatia, Country::Greece, +}; inline std::string toString(Country country) { @@ -51,6 +54,7 @@ inline std::string toString(Country country) {Country::Ukraine, "Ukraine"}, {Country::Denmark, "Denmark"}, {Country::Sweden, "Sweden"}, {Country::Brazil, "Brazil"}, {Country::Norway, "Norway"}, {Country::Japan, "Japan"}, {Country::Portugal, "Portugal"}, {Country::Hungary, "Hungary"}, {Country::Croatia, "Croatia"}, + {Country::Greece, "Greece"}, }; return countryToStringMapping.at(country); diff --git a/src/modules/date/DateTest.cpp b/src/modules/date/DateTest.cpp index d3b6ad18f..5f3b68630 100644 --- a/src/modules/date/DateTest.cpp +++ b/src/modules/date/DateTest.cpp @@ -50,7 +50,6 @@ TEST_F(DateTest, shouldGeneratePastDate) const auto pastDateISO = Date::pastDate(); - std::cout << pastDateISO; const auto pastDate = parseISOFormattedStringToTimePoint(pastDateISO); EXPECT_TRUE(std::chrono::duration_cast(currentDate - pastDate).count() < secondsInYear); diff --git a/src/modules/git/GitTest.cpp b/src/modules/git/GitTest.cpp index 187bb6977..725ea3689 100644 --- a/src/modules/git/GitTest.cpp +++ b/src/modules/git/GitTest.cpp @@ -40,7 +40,6 @@ TEST_F(GitTest, shouldGenerateBranch) { const auto branch = Git::branch(); unsigned long branchSplit = faker::StringHelper::split(branch, "-").size(); - std::cout << branch << " | " << branchSplit << std::endl; ASSERT_TRUE(2 <= branchSplit && branchSplit <= 7); } @@ -86,7 +85,6 @@ TEST_F(GitTest, shouldGenerateCommitMessage) { const std::regex messageRegex("^" + GitTest::MESSAGE_REGEX + "$"); std::string temp = Git::commitMessage(); - std::cout << temp << std::endl; ASSERT_TRUE(std::regex_match(temp, messageRegex)); } diff --git a/src/modules/person/Person.cpp b/src/modules/person/Person.cpp index 5640f2bcc..0c33505fc 100644 --- a/src/modules/person/Person.cpp +++ b/src/modules/person/Person.cpp @@ -14,6 +14,7 @@ #include "data/france/FrenchPeopleNames.h" #include "data/Gender.h" #include "data/germany/GermanPeopleNames.h" +#include "data/greece/GreekPeopleNames.h" #include "data/Hobbies.h" #include "data/hungary/HungarianPeopleNames.h" #include "data/india/IndianPeopleNames.h" @@ -57,6 +58,7 @@ const std::map countryToPeopleNamesMapping{ {Country::Brazil, brazilianPeopleNames}, {Country::Norway, norwegianPeopleNames}, {Country::Japan, japanesePeopleNames}, {Country::Portugal, portuguesePeopleNames}, {Country::Hungary, hungarianPeopleNames}, {Country::Croatia, croatianPeopleNames}, + {Country::Greece, greekPeopleNames}, }; std::string middleNameForCountry(Country country, std::optional sex); diff --git a/src/modules/person/PersonTest.cpp b/src/modules/person/PersonTest.cpp index d1830ea6e..a67ae3835 100644 --- a/src/modules/person/PersonTest.cpp +++ b/src/modules/person/PersonTest.cpp @@ -13,6 +13,7 @@ #include "data/france/FrenchPeopleNames.h" #include "data/Gender.h" #include "data/germany/GermanPeopleNames.h" +#include "data/greece/GreekPeopleNames.h" #include "data/Hobbies.h" #include "data/hungary/HungarianPeopleNames.h" #include "data/india/IndianPeopleNames.h" @@ -57,6 +58,7 @@ const std::map countryToPeopleNamesMapping{ {Country::Brazil, brazilianPeopleNames}, {Country::Norway, norwegianPeopleNames}, {Country::Japan, japanesePeopleNames}, {Country::Portugal, portuguesePeopleNames}, {Country::Hungary, hungarianPeopleNames}, {Country::Croatia, croatianPeopleNames}, + {Country::Greece, greekPeopleNames}, }; const std::map generatedTestName{ @@ -72,6 +74,7 @@ const std::map generatedTestName{ {Country::Brazil, "shouldGenerateBrazilianName"}, {Country::Norway, "shouldGenerateNorwegianName"}, {Country::Japan, "shouldGenerateJapaneseName"}, {Country::Portugal, "shouldGeneratePortugueseName"}, {Country::Hungary, "shouldGenerateHungarianName"}, {Country::Croatia, "shouldGenerateCroatianName"}, + {Country::Greece, "shouldGenerateGreekName"}, }; } diff --git a/src/modules/person/data/greece/GreekFirstNames.h b/src/modules/person/data/greece/GreekFirstNames.h new file mode 100644 index 000000000..494729025 --- /dev/null +++ b/src/modules/person/data/greece/GreekFirstNames.h @@ -0,0 +1,101 @@ +#pragma once + +#include +#include + +namespace faker +{ +const std::vector greekMalesFirstNames = { + "Georgios", "Dimitrios", "Ioannis", "Nikolaos", "Konstantin", "Christos", "Panagiotis", "Vasileios", + "Konstantinos", "Athanasios", "Michail", "Evangelos", "Antonios", "Emmanouil", "Theodoros", "Spyridon", + "Anastasios", "Ilias", "Charalampos", "Alexandros", "Stavros", "Apostolos", "Petros", "Stylianos", + "Sotirios", "Georg", "Thomas", "Ioan", "Eleftherios", "George", "Dimitris", "Nikos", + "Kostas", "Alex", "Markos", "Anton", "John", "Artemis", "Vasilis", "Iosif", + "Michael", "Ali", "Nick", "Chris", "Leon", "Yannis", "Adam", "David", + "Ilir", "Ivan", "Peter", "Alexander", "Vasil", "Luan", "Elias", "Viktor", + "Arben", "Theodore", "Nikolas", "Mohamed", "Dion", "Filip", "Anatoli", "Robert", + "Vladimir", "Napoleon", "Isaak", "Niko", "Nestor", "Georgi", "William", "Albert", + "Anastasio", "Constantin", "Paul", "Muhammad", "Nicholas", "Stefan", "Dritan", "Artur", + "Moustafa", "Haris", "Alexandro", "Ahmed", "Daniel", "Eduart", "Daniil", "Alfred", + "Gregory", "Myron", "Ion", "Edmond", "Kosta", "Aleksander", "Emmanuel", "Arjan", + "Martin", "Leonard", "Christof", "Dimitar", "Ismail", "Harry", "Andrew", "Nicolas", + "Dimitri", "Elton", "Adrian", "Angel", "Vasile", "Nikolay", "Roland", "Mohammad", + "Victor", "James", "Valentin", "Mario", "Florin", "Mark", "Petro", "Jim", + "Simon", "Andon", "Anthony", "Steven", "Sami", "Gheorghe", "Yordan", "Theo", + "Hristo", "Aleks", "Ervin", "Antonio", "Philip", "Emil", "Todor", "Gabriel", + "Asen", "Singh", "Aleksandar", "Marius", "Ibrahim", "Osman", "Igor", "Hans", + "Ionut", "Roman", "Alban", "Hasan", "Antony", "Petar", "Christian", "Mustafa", + "Angelo", "Richard", "Christopher", "Hussain", "Tom", "Jan", "Marin", "Florian", + "Stoyan", "Ahmad", "Aurel", "Sergey", "Atanas", "Andrei", "Maksim", "Joseph", + "Frank", "Renato", "Abdul", "Eduard", "Irfan", "Mihail", "Ismet", "Catalin", + "Jason", "Julian", "Giorgio", "Pavel", "Dumitru", "Ramadan", "Krasimir", "Iqbal", + "Tony", "Boris", "Naim", "Alexandru", "Arsen", "Teo", "Marko", "Stephen", + "Christophe", "Kevin", "Romeo", "Nicolae", "Miroslav", "Armand", "Mihai", "Georges", + "Cristian", "Oleg", "Patrick", "Michel", "Arif", "Mitko", "Amarildo", "Andrey", + "Armando", "Ananias", "Plamen", "Socrates", "Marco", "Filimon", "Adonis", "Enver", + "Edison", "Andi", "Imran", "Ian", "Fran", "Gianni", "Rumen", "Alan", + "Mikel", "Giorgi", "Anastas", "Armen", "Karl", "Stanislav", "Elvis", "Mahmoud", + "Roberto", "Theodor", "Solomon", "Mohammed", "Hassan", "Veselin", "Iliya", "Emin", + "Viorel", "Ilie", "Amir", "Simeon", "Greg", "Ionel", "Philippe", "Pal", + "Samir", "Bilal", "Zoran", "Irakli", "Klaus", "Isaia", "Zamir", "Ivaylo", + "Aleksandr", "Dragan", "Charles", "Louis", "Brian", "Sorin", "Apostol", "Kiril", + "Sam", "Eric", "Aleko", "Costel", "Bruno", "Valter", "Werner", "Tim", + "Basil", "Andre", "Tahir", "Vilson", "Adnan", "Fredi", "Ferdinand", "Vlad", + "Petru", "Paolo", "Marsel", "Giuseppe", "Ram", "Oleksandr", "Asif", "Artour", + "Abbas", "Raymond", "Nasir", "Bogdan", "Trifon", "Alberto", "Vasili", "Matthew", + "Edward", "Milan", "Sasa", "Iulian", "Goran", "Jimmy", "Roger", "Mohamad", + "Erik", "Volodymyr", "Alessandro", "Khalid", "Mehmet", "Michal", "Sinan", "Alin", + "Lucian", "Spiridon", "Sadik", "Francesco", "Stefano", "Dionis", "Omer", "Marc", + "Jonathan", "Omar", "Borislav", "Sasho", "Johannes", "Bernard", "Shaban", "Viktoras", + "Shahid", "Marcel", "Walter", "Felix", "Giovanni", "Paulin", "Kumar", "Pierre", + "Tariq", "Ramazan", "Ashraf", "Alain", "Nicky", "Mikhail", "Sampson", "Luigi", + "Lucas", "Frederik", "Petko", "Adel", "Alexey", "Faik", +}; + +const std::vector greekFemalesFirstNames = { + "Maria", "Eleni", "Aikaterini", "Vasiliki", "Sofia", "Anastasia", "Georgia", "Evangelia", + "Anna", "Dimitra", "Ioanna", "Christina", "Andreas", "Alexandra", "Theodora", "Athina", + "Olga", "Evgenia", "Zoi", "Konstantina", "Marina", "Antonia", "Nikol", "Margarita", + "Varvara", "Leonidas", "Fani", "Amalia", "Nikoletta", "Katerina", "Stella", "Martha", + "Marianna", "Elena", "Olympia", "Ioulia", "Nikoleta", "Viktoria", "Aglaia", "Andriana", + "Pelagia", "Natalia", "Flora", "Virginia", "Marika", "Alexia", "Katina", "Stefania", + "Tatiana", "Valentina", "Violeta", "Andrea", "Iliana", "Mariana", "Angela", "Dorothea", + "Nina", "Violetta", "Vera", "Eleonora", "Lydia", "Mary", "Marilena", "Pavlina", + "Svetlana", "Louiza", "Aris", "Sali", "Marietta", "Irina", "Ilia", "Irene", + "Paris", "Daniela", "Kristina", "Melina", "Vicky", "Roza", "Mirela", "Sonia", + "Mariya", "Alexis", "Despina", "Helen", "Diana", "Sophia", "Ivanka", "Dora", + "Elina", "Christiana", "Elvira", "Eva", "Alma", "Mihaela", "Angelina", "Irena", + "Lina", "Elsa", "Lena", "Lida", "Michaela", "Mina", "Monika", "Lia", + "Rena", "Liana", "Barbara", "Isidora", "Marie", "Tamara", "Natasa", "Rita", + "Larisa", "Tina", "Joanna", "Sylvia", "Marian", "Christine", "Alina", "Rania", + "Xenia", "Natasha", "Miranda", "Cristina", "Fatme", "Liliana", "Galina", "Victoria", + "Olena", "Nikolina", "Adelina", "Elizabeth", "Nataliya", "Emine", "Silvana", "Magda", + "Gianna", "Jean", "Milena", "Irma", "Nana", "Tania", "Iryna", "Marinela", + "Eleana", "Tereza", "Sara", "Tanya", "Rozalia", "Eugenia", "Kali", "Kelly", + "Catherine", "Zoe", "Adriana", "Maia", "Polina", "Brunilda", "Svitlana", "Aneta", + "Eliza", "Yordanka", "Albana", "Laura", "Iordana", "Karolina", "Lou", "Gabriela", + "Tetyana", "Merita", "Katia", "Veronika", "Anne", "Esmeralda", "Iris", "Anita", + "Suzana", "Stanka", "Nadia", "Nikola", "Oksana", "Jenny", "Leonora", "Marieta", + "Julia", "Susan", "Pandora", "Ekaterina", "Karen", "Liza", "Alla", "Aleksandra", + "Sandra", "Petra", "Rafaela", "Penka", "Dorina", "Nancy", "Rositsa", "Lela", + "Nelli", "Silvia", "Vasilka", "Elisabeth", "Mariyana", "Hristina", "Donka", "Malvina", + "Radka", "Stela", "Mari", "Kassandra", "Patricia", "Mariam", "Dina", "Gina", + "Denis", "Linda", "Manana", "Magdalena", "Inna", "Emilia", "Renata", "Oxana", + "Tonia", "Leila", "Claudia", "Aida", "Mara", "Nicole", "Stefka", "Luiza", + "Thalia", "Yuliya", "Nino", "Neli", "Simona", "Matilda", "Antoneta", "Vanessa", + "Julie", "Marine", "Valia", "Sarah", "Lila", "Arian", "Minka", "Zamira", + "Gergana", "Penelope", "Nicoleta", "Dennis", "Vivian", "Nora", "Lali", "Evelina", + "Sophie", "Lili", "Katya", "Sarra", "Ioana", "Rumyana", "Silviya", "Isa", + "Martina", "Desislava", "Carol", "Ileana", "Zlatka", "Galya", "Athena", "Ina", + "Paola", "Teodora", "Nadezhda", "Zina", "Jane", "Florina", "Ilona", "Ionela", + "Lilia", "Karin", "Elisabeta", "Ann", "Iva", "Margaret", "Tamar", "Mzia", + "Pamela", "Liudmila", "Aurora", "Lidia", "Anka", "Emiliya", "Helena", "Klara", + "Angelika", "Khatuna", "Viorica", "Todorka", "Rodica", "Ivana", "Dimitrinka", "Albena", + "Maya", "Veneta", "Krasimira", "Mariyka", "Monica", "Jennifer", "Tatyana", "Daphne", + "Emma", "Melania", "Aneliya", "Katherine", "Carmen", "Anisa", "Constantina", "Asteria", + "Stoyanka", "Antoaneta", "Valeria", "Diamantina", "Karine", "Andreea", "Manuela", "Atanaska", + "Annie", "Ani", "Petrina", "Viktoriya", "Lilian", "Ornela", "Svetla", "Peggy", + "Flori", "Fay", "Erika", "Tatjana", "Kate", "Inga", "Karina", "Marta", + "Raisa", "Natalya", "Ramona", "Milka", "Larysa", "Rina", +}; +} diff --git a/src/modules/person/data/greece/GreekLastNames.h b/src/modules/person/data/greece/GreekLastNames.h new file mode 100644 index 000000000..5abbd4d2f --- /dev/null +++ b/src/modules/person/data/greece/GreekLastNames.h @@ -0,0 +1,360 @@ +#pragma once + +#include +#include + +namespace faker +{ +const std::vector greekLastNames = { + "Papadopoulos", + "Papadopoulou", + "Papageorgiou", + "Oikonomou", + "Papadimitriou", + "Georgiou", + "Papaioannou", + "Pappas", + "Vasileiou", + "Nikolaou", + "Karagiannis", + "Vlachos", + "Antoniou", + "Makris", + "Papanikolaou", + "Dimitriou", + "Ioannidis", + "Georgiadis", + "Triantafyllou", + "Papadakis", + "Athanasiou", + "Konstantinidis", + "Ioannou", + "Alexiou", + "Christodoulou", + "Theodorou", + "Giannopoulos", + "Nikolaidis", + "Konstantinou", + "Michailidis", + "Panagiotopoulos", + "Papakonstantinou", + "Papathanasiou", + "Antonopoulos", + "Dimopoulos", + "Karagianni", + "Anastasiou", + "Dimitriadis", + "Pappa", + "Vlachou", + "Vasileiadis", + "Giannakopoulos", + "Angelopoulos", + "Dimou", + "Ioannidou", + "Nikolopoulos", + "Mylonas", + "Stergiou", + "Apostolou", + "Petropoulos", + "Lamprou", + "Papadaki", + "Christou", + "Panagiotou", + "Anagnostou", + "Makri", + "Konstantinidou", + "Samaras", + "Raptis", + "Athanasopoulos", + "Alexopoulos", + "Christopoulos", + "Stavropoulos", + "Anagnostopoulos", + "Markou", + "Georgiadou", + "Spanos", + "Sidiropoulos", + "Antoniadis", + "Panagopoulos", + "Efthymiou", + "Spyropoulos", + "Theodoropoulos", + "Pavlidis", + "Athanasiadis", + "Apostolopoulos", + "Petrou", + "Michalopoulos", + "Arvanitis", + "Lazaridis", + "Kontos", + "Georgopoulos", + "Panagiotidis", + "Theodoridis", + "Chatzis", + "Anastasiadis", + "Papavasileiou", + "Papazoglou", + "Vasilopoulos", + "Iliopoulos", + "Kostopoulos", + "Politis", + "Galanis", + "Stavrou", + "Paraskevopoulos", + "Apostolidis", + "Giannopoulou", + "Diamantis", + "Pantazis", + "Andreou", + "Petridis", + "Stathopoulos", + "Nikolaidou", + "Michailidou", + "Dimopoulou", + "Mavridis", + "Kyriakou", + "Grigoriadis", + "Efstathiou", + "Sideris", + "Kyriakidis", + "Diamantopoulos", + "Panagiotopoulou", + "Anastasopoulos", + "Savvidis", + "Georgakopoulos", + "Dimitropoulos", + "Vasilakis", + "Rizos", + "Argyropoulos", + "Moraitis", + "Sotiropoulos", + "Charalampidis", + "Iliadis", + "Antonopoulou", + "Sotiriou", + "Lampropoulos", + "Chatzigeorgiou", + "Angelis", + "Nikolopoulou", + "Giannakopoulou", + "Kollias", + "Margaritis", + "Vasileiadou", + "Katsaros", + "Chatzi", + "Sarris", + "Roussos", + "Evangelou", + "Fotiadis", + "Stefanidis", + "Mylona", + "Gkikas", + "Angelopoulou", + "Eleftheriadis", + "Kontogiannis", + "Dimitriadou", + "Samara", + "Spyrou", + "Stavropoulou", + "Petropoulou", + "Symeonidis", + "Kalogeropoulos", + "Konstantopoulos", + "Filippou", + "Kyriakopoulos", + "Vogiatzis", + "Athanasopoulou", + "Eleftheriou", + "Fotopoulos", + "Voulgaris", + "Christopoulou", + "Chatzopoulos", + "Spyropoulou", + "Argyriou", + "Georgopoulou", + "Triantafyllidis", + "Sakellariou", + "Avramidis", + "Kanellopoulos", + "Athanasiadou", + "Spanou", + "Sidiropoulou", + "Kyriazis", + "Papachristou", + "Petrakis", + "Daskalakis", + "Stefanou", + "Anagnostopoulou", + "Kritikos", + "Pavlou", + "Kechagias", + "Rigas", + "Arampatzis", + "Kostopoulou", + "Zervas", + "Lazaridou", + "Alexopoulou", + "Theodoridou", + "Stamatiou", + "Asimakopoulos", + "Tsakiris", + "Apostolopoulou", + "Theodosiou", + "Mitropoulos", + "Paraskevopoulou", + "Panagopoulou", + "Panou", + "Karalis", + "Pavlidou", + "Karras", + "Dimitrakopoulos", + "Ali", + "Papanastasiou", + "Michail", + "Adamopoulos", + "Michalopoulou", + "Rapti", + "Deligiannis", + "Papatheodorou", + "Vasilopoulou", + "Iliopoulou", + "Panagiotidou", + "Markopoulos", + "Antoniadou", + "Singh", + "Kefalas", + "Papagiannis", + "Kontou", + "Zisis", + "Stamatopoulos", + "Grigoriou", + "Theocharis", + "Stamou", + "Nikou", + "Kolovos", + "Xanthopoulos", + "Theodoropoulou", + "Giannoulis", + "Angelidis", + "Kyritsis", + "Diamanti", + "Apostolidou", + "Doukas", + "Paschalidis", + "Floros", + "Fragkos", + "Mavridou", + "Paraskevas", + "Sideri", + "Roussou", + "Roumeliotis", + "Tsoukalas", + "Galani", + "Drosos", + "Lampropoulou", + "Loukas", + "Kosmidis", + "Alexandris", + "Pantazi", + "Charalampidou", + "Kalyvas", + "Sarri", + "Papakostas", + "Argyropoulou", + "Kyriakidou", + "Anastasiadou", + "Kokkinos", + "Stathopoulou", + "Anastasopoulou", + "Stamoulis", + "Arvaniti", + "Sotiropoulou", + "Stamatis", + "Ziogas", + "Mouratidis", + "Lazarou", + "Moustakas", + "Diamantopoulou", + "Vasilaki", + "Dimos", + "Papoutsis", + "Fragkou", + "Chalkias", + "Zafeiropoulos", + "Manolis", + "Kyriakopoulou", + "Georgakopoulou", + "Lekkas", + "Andreadis", + "Chronopoulos", + "Papantoniou", + "Polyzos", + "Savvidou", + "Petridou", + "Liapis", + "Papandreou", + "Emmanouil", + "Marinos", + "Bouras", + "Emmanouilidis", + "Angeli", + "Goulas", + "Tzimas", + "Zacharopoulos", + "Nikolakopoulos", + "Kalantzis", + "Kollia", + "Nikas", + "Drakopoulos", + "Michos", + "Vlachopoulos", + "Tsekouras", + "Daskalaki", + "Charalampous", + "Apostolakis", + "Kalaitzis", + "Kalogirou", + "Nakos", + "Aslanidis", + "Fotopoulou", + "Stamatakis", + "Koulouris", + "Liakos", + "Konstantopoulou", + "Dimitrakopoulou", + "Chatzopoulou", + "Kosmas", + "Eleftheriadou", + "Grivas", + "Oikonomidis", + "Grigoriadou", + "Karakostas", + "Psarras", + "Angelou", + "Tsolakis", + "Moschos", + "Giannakis", + "Giannakos", + "Chatzidimitriou", + "Iosifidis", + "Papamichail", + "Kanellopoulou", + "Dimas", + "Zografos", + "Kalogeropoulou", + "Chatzinikolaou", + "Voulgari", + "Markakis", + "Karagiannidis", + "Stamos", + "Zafeiris", + "Zachos", + "Gkika", + "Chatziioannou", + "Symeonidou", + "Stefanidou", + "Triantafyllidou", + "Kritikou", + "Stavridis", +}; +} diff --git a/src/modules/person/data/greece/GreekPeopleNames.h b/src/modules/person/data/greece/GreekPeopleNames.h new file mode 100644 index 000000000..3b49f43a5 --- /dev/null +++ b/src/modules/person/data/greece/GreekPeopleNames.h @@ -0,0 +1,15 @@ +#pragma once + +#include "../NameFormats.h" +#include "../PeopleNames.h" +#include "GreekLastNames.h" +#include "GreekFirstNames.h" + +namespace faker +{ +const NameFormats greekPersonNameFormats{{"{firstName} {lastName}", 1}}; + +const PeopleNames greekPeopleNames{{greekMalesFirstNames, {}, greekLastNames, {}, {}}, + {greekFemalesFirstNames, {}, greekLastNames, {}, {}}, + greekPersonNameFormats}; +}