Interesting, but I question its utility, particularly if a name is ambiguous - like "Alex". Also, I tried it with my sister's name, Nanna, and it returned "null." Apparently she's neuter.
On my first try I got an erroneous result on a non-Anglo name:
http://api.genderize.io/?name=krishna
returned "male". In fact god names are unisex; I've met a female Krishna.
Edit: and "null" on Vishnu. I didn't see on the page whether this is supposed to extend beyond Anglo-American culture.
And "kyle" came up "male", tho I can report a female Kyle. Whoever is populating the database may be underestimating gender/naming trends.
Other commenters are already demonstrating that the error rate is way too high to be useful. If you need a user's gender (and you probably don't), just ask them.
The underlying dictionary for this, gender/nam_dict by Jorg Michael, is an awesome piece of work: it has entries for each name, its gender (or genders), and how popular that name is in each country where it's used (especially useful for names which are female in one country but male in another country, but where they're much more popular in the former than the latter).
It's a bit of an odd file format but it's fairly straight forward to build something which will read it into the language of your choice.
This is far more useful for advertising, especially when trying to build user segments. If you have the gender from the user directly entering it somewhere along the line, great. If not, this comes in.
Mostly, you don't need it. You'll often get it wrong. You may end up pissing off transgender people. Unless you are running a dating site (in which case, you should actually get people to specify which gender(s) they are—and, yes, people will want options beyond male and female) there is no need for it.
I haven't tried the api yet, but the example on the home page says that "Lois" is a female name - when in fact, in the 1930s it was quite a popular male name with about 70 boys born each year named lois. Checkout http://www.namemeababy.com to see the full stats.
If you're interested in doing this yourself, the book associated with Python's Natural Language Toolkit has a pretty good introduction to identifying gender in the chapter on text classification [1].
I've thought about this before, you also should be able to get a somewhat accurate estimate of the median age of a group of attendees to an event based on the first names alone. See Baby Name Wizard Voyager tool for visualizations of first name occurences since 1900s: http://www.babynamewizard.com/voyager
59 comments
[ 3.3 ms ] story [ 129 ms ] threadIt would be nice to get some sort of "confidence level" - http://api.genderize.io/?name=jackie
Source here: https://github.com/rajington/genderizer
Source here: https://github.com/rajington/genderizer
Edit: and "null" on Vishnu. I didn't see on the page whether this is supposed to extend beyond Anglo-American culture.
And "kyle" came up "male", tho I can report a female Kyle. Whoever is populating the database may be underestimating gender/naming trends.
How is the data generated? By hand? I can imagine this might be somewhat useful if it gave a non-binary result.
"Paris" is "male".
http://genderizer.herokuapp.com/?name=Paris
Source: https://github.com/rajington/genderizer
https://github.com/bmuller/sexmachine
which uses a multilingual dictionary, that accounts for names that cross gender in different countries.
It's a bit of an odd file format but it's fairly straight forward to build something which will read it into the language of your choice.
http://www.autohotkey.com/community/viewtopic.php?t=22000
Being wrong here is so much more tacky than either asking for gender if you need it, or just writing in a gender neutral way.
"I'm sorry we were wrong, but our computer determined you have a girl's name. If you change your name, it'll work now."
I hope.
Mostly, you don't need it. You'll often get it wrong. You may end up pissing off transgender people. Unless you are running a dating site (in which case, you should actually get people to specify which gender(s) they are—and, yes, people will want options beyond male and female) there is no need for it.
If you want to know my gender, ask. Don't infer.
[0] http://www.genderchecker.com
http://www.autohotkey.com/board/topic/20260-gender-verificat...
and a Ruby gam that is built on the above data:
https://github.com/bmuller/sexmachine
....I....I.... just want to be alone for a bit.
BRB while I turn this into a web api
and Done
http://murmuring-depths-3923.herokuapp.com/?name=jessie
http://murmuring-depths-3923.herokuapp.com/?name[0]=peter&na...
Compared to:
http://api.genderize.io/?name=jessie
http://api.genderize.io/?name[0]=peter&name[1]=lois&name[2]=...
I just wanted to learn basic Sinatra, but I might try to do the POST operations too.
http://genderizer.herokuapp.com/?name=jessie
http://genderizer.herokuapp.com/?name[0]=peter&name[1]=lois&...
Not tested it on too many challenging tasks but it seems to work well too.
curl http://api.genderize.io?name=sean {"sean":null}
Heroku's free tier, not nearly as overloaded right now, but still. Source here: https://github.com/rajington/genderizer
Heroku's free tier, not nearly as overloaded right now, but still. Source here: https://github.com/rajington/genderizer
{"joe":"male"}
http://genderizer.herokuapp.com?name=jo
{"jo":"female"}
http://genderizer.herokuapp.com?name=jamie
{"jamie":"mostly_female"}
http://genderizer.herokuapp.com?name=jaime
{"jaime":"andy"}
http://genderizer.herokuapp.com?name=joan
{"joan":"female"}
http://genderizer.herokuapp.com?name=kelly
{"kelly":"mostly_female"}
http://genderizer.herokuapp.com?name=lucy
{"lucy":"female"}
BONUS: http://genderizer.herokuapp.com/?name=jaime&country=ireland
{"jaime":"male"}
Heroku's free tier, not nearly as overloaded right now, but still. Source here: https://github.com/rajington/genderizer
E.g. "Jean" will be male if the first name of a French person, while likely female in the US.
I appreciate the authors effort, but don't see much use.
[1] http://nltk.org/book/ch06.html