Using phonetic translators in Python to compare how well a first name sounds with a middle and family names in English and Spanish.
Getting a name for a baby is not as trivial as people could think, or at least not for my wife and me. We look for names for our baby girl everywhere and we pick some options. However, I started to wonder if we were looking in the right places and if there could be a way to measure which would be the best name for our daughter. So, I found three databases with names from Spanish and English-speaking countries, analyzed trends and top frequent names, and wrote down a list of all possible names. Finally, I developed an tool that transforms the names using the International Phonetic Alphabet and measures how well a first name sounds with another names and/or family names in both English and Spanish, by returning a score to make it easier finding possible names for a baby.
⭐️ Click here to see the GitHub repository with the complete analysis of this project.
When we were expecting our first baby girl, during the last five months of the pregnancy, we looked for options of names on different sources as websites and books with popular baby names, websites with international names, asked recommendations between our friends, or even wrote down names of movies and tv series characters. After months of searching names, on early April of 2021 we came with a list of our favourite names for the baby girl. My wife’s choices were: Elisa and Macarena. In my side, I had a wider list: Aisha, Amanda, Carlina, Gina and Victoria.
However, we didn’t agree in a name for the baby. So, I started to wonder how we could make the best selection of the name for our baby? How popular are the names we like? Is there a way to measure how well a first name sounds combined with the family name?
The first step was to look for names. In our case, because we live in Mexico we were interested on names in Spanish; however, we also were open on names from an English-speaking country.
For names in Spanish, I found data of the Statistics National Institute from Spain 🇪🇸 with the most popular 100 names (2002–2019), and names with frequency equal to 20 people or more (2019). In the other hand, for English-speaking countries, I found a couple of databases with popular baby names, one from the U.S. 🇺🇸 published by the Social Security Agency (1880–2019); and another from state of British Columbia in Canada…
Continue reading: https://towardsdatascience.com/choosing-a-baby-name-using-python-5c842f1e1a2f?source=rss—-7f60cf5620c9—4