Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose a function to register new names #3

Open
flesler opened this issue Oct 26, 2018 · 1 comment
Open

Expose a function to register new names #3

flesler opened this issue Oct 26, 2018 · 1 comment
Assignees

Comments

@flesler
Copy link

flesler commented Oct 26, 2018

So I found other lists of names, would be cool to merge the list but still use this library for its initial list and all the normalization.

Could add a gender.add(name, gender, lang='en') function and/or gender.setMale(name, lang='en')/gender.setFemale(name, lang='en')

If you can do the normalization to the incoming names, it would be less performance but great because other lists are not normalized (lower case, no weird characters, etc)

@davidemiceli
Copy link
Owner

We can update the list with other lists if you want, merging them.

Yes I can add a method that add/overwrite a name/gender, but it will remain only in memory. Is this what you ask?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants