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.
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.
It seems like he deleted my comment from his site's disqus (it's his right) but I rewrote the exact same API in a couple of lines using sexmachine and ruby (I had been meaning to try Sinatra anyway). The source is here:
https://github.com/rajington/genderizer
Hosted on heroku's free tier here are some more interesting examples:
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
I'm the author of genderize.io.
At the time of your comments i was slowly getting this API up and running. A lot of sudden traffic made that a little hard :)
At the time, i was utilizing a few lists of officially approved names from a few European countries. We have those in Denmark, where i'm from, among a few other countries. This had led me to believe that most countries had lists like this and i was planning to add them as i went along.
I since change my approach, moving from the lists to large datasets of user profiles from social networks. This has given me the chance to update the API, adding probabilistic guesses along with the ability to add localization based filters.
My datasets are not that huge yet, but they're constantly growing.
Just wanted to say thanks for all the feedback i found in here and give a heads up on the update :)
How well does it compare to https://nltk.googlecode.com/svn/trunk/doc/book/ch06.html. If the genderize.io folks are listening, can you look at providing some benchmark/test set to evaluate the efficiency of the underlying algorithm?
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.
Worked on gender-determination for a project for a client in a U.S. male-dominated industry. Baby name gender frequencies by birth year are available online. One interesting wrinkle - can apply simple Bayesian technique - e.g. even if Pat is 50-50 male-female in population at large, firefighter Pat is more likely to be a man.
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].
[+] [-] davidu|12 years ago|reply
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."
[+] [-] tommorris|12 years ago|reply
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.
[+] [-] twerquie|12 years ago|reply
I hope.
[+] [-] fournm|12 years ago|reply
[+] [-] sksksk|12 years ago|reply
[+] [-] rajington|12 years ago|reply
{"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
[+] [-] _dark_matter_|12 years ago|reply
curl http://api.genderize.io?name=sean {"sean":null}
[+] [-] kristopolous|12 years ago|reply
[+] [-] NoPiece|12 years ago|reply
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
[+] [-] rajington|12 years ago|reply
BRB while I turn this into a web api
[+] [-] rmc|12 years ago|reply
[+] [-] kodablah|12 years ago|reply
[+] [-] chintan|12 years ago|reply
It would be nice to get some sort of "confidence level" - http://api.genderize.io/?name=jackie
[+] [-] rajington|12 years ago|reply
Source here: https://github.com/rajington/genderizer
[+] [-] spaetzel|12 years ago|reply
[+] [-] Stromgren|12 years ago|reply
[+] [-] ronaldx|12 years ago|reply
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".
[+] [-] rajington|12 years ago|reply
http://genderizer.herokuapp.com/?name=Paris
Source: https://github.com/rajington/genderizer
[+] [-] mickeyp|12 years ago|reply
[+] [-] ds9|12 years ago|reply
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.
[+] [-] nollidge|12 years ago|reply
[+] [-] arb99|12 years ago|reply
[+] [-] rajington|12 years ago|reply
Hosted on heroku's free tier here are some more interesting examples:
Basic: http://genderizer.herokuapp.com/?name=peter
"Mostly" Response: http://genderizer.herokuapp.com/?name=Jamie Country (helps with guesses, default USA): http://genderizer.herokuapp.com/?name=Jamie&country=great_br...[+] [-] klous|12 years ago|reply
[+] [-] ronaldx|12 years ago|reply
[+] [-] Stromgren|12 years ago|reply
I'm the author of genderize.io. At the time of your comments i was slowly getting this API up and running. A lot of sudden traffic made that a little hard :)
At the time, i was utilizing a few lists of officially approved names from a few European countries. We have those in Denmark, where i'm from, among a few other countries. This had led me to believe that most countries had lists like this and i was planning to add them as i went along.
I since change my approach, moving from the lists to large datasets of user profiles from social networks. This has given me the chance to update the API, adding probabilistic guesses along with the ability to add localization based filters.
My datasets are not that huge yet, but they're constantly growing.
Just wanted to say thanks for all the feedback i found in here and give a heads up on the update :)
[+] [-] ape4|12 years ago|reply
[+] [-] appsappsapps|12 years ago|reply
[+] [-] brohee|12 years ago|reply
E.g. "Jean" will be male if the first name of a French person, while likely female in the US.
[+] [-] geuis|12 years ago|reply
I appreciate the authors effort, but don't see much use.
[+] [-] azurelogic|12 years ago|reply
[+] [-] random42|12 years ago|reply
[+] [-] iamds|12 years ago|reply
[+] [-] erehweb|12 years ago|reply
[+] [-] swengw|12 years ago|reply
[1] http://nltk.org/book/ch06.html
[+] [-] omarchowdhury|12 years ago|reply