thm / uinames

A simple tool to generate names for use in designs and mockups.
https://uinames.com
Other
754 stars 206 forks source link

Mixed Indian Names #92

Open thm opened 8 years ago

thm commented 8 years ago

Report: https://twitter.com/naveed3/status/775236413675540480

The entry for Indian names are mixed Hindu and Muslim names, leading to less than ideal combinations. These two categories need to be split somehow in the JSON so that they're combined properly. Below is the current entry for India.

"region":"India",
"male":["Aarav","Aaryan","Abhinav","Aditya","Ajay","Amit","Arjun","Arnav","Ayaan","Chirag","Devansh","Dhruv","Hemant","Ishan","Muhammad","Pranav","Rajesh","Rakesh","Reyansh","Sai","Shaurya","Shreyas","Tejas","Vibhore","Vihaan","Vishal","Vivaan"],
"female":["Aadhya","Aanya","Aaradhya","Ananya","Angel","Anika","Ankita","Aradhya","Charvi","Cheshta","Diya","Divya","Hansika","Harini","Navya","Pari","Paridhi","Ridhi","Rishika","Saanvi","Sanvi","Shreya","Surabhi","Trisha","Trishla"],
"surnames":["Balasubramanium","Banerjee","Bhatnagar","Bose","Chatterjee","Chattopadhyay","Chauhan","Chavan","Chopra","Das","Dasgupta","Dutta","Gavde","Gupta","Jain","Jaiteley","Jayaraman","Jhadav","Jindal","Kadam","Kapoor","Kapur","Khan","Lobo","Malhotra","Malik","Mehra","Mehta","Mistry","Mittal","Mukopadhyay","Nair","Patel","Patil","Pawar","Pillai","Powar","Rangan","Rangarajan","Rao","Rodrigues","Rathore","Sarin","Saxena","Sen","Sengupta","Shah","Sharma","Singh","Singhal","Subramanium","Tata","Tambe","Trivedi","Venkatesan","Verma","Vyas","Yadav"]
naveedahmed commented 7 years ago

Currently, the names they are predominantly Hindu. Actually, 99% of them are. But, as multiple cultures coexist in the country, we might have to include common names for Muslims, Christians and Sikhs.

In that case, your (@thomweerd) proposal of splitting the JSON or creating a set for each group may not be scalable.

Instead, can there be something like an identifier for each given name to combine with a matching surname?

For example, if all muslim names are suffixed with a 1 and all muslim surnames are suffixed with 1, the logic should always generate names by combining names with suffix 1. Similar sets can be created with other suffixes too. 2 for Christian names, etc.

Would this idea work? Would it keep the code and logic simple and clean?

Your feedback?