Genderize.io determines the gender of a first name
genderize.io
genderize.io
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."
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.
I hope.
curl http://api.genderize.io?name=joe
{"joe":"male"}
curl http://api.genderize.io?name=jo
{"jo":"male"}
curl http://api.genderize.io?name=jamie
{"jamie":"male"}
curl http://api.genderize.io?name=jaime
{"jaime":"male"}
curl http://api.genderize.io?name=joan
{"joan":"male"}
curl http://api.genderize.io?name=kelly
{"kelly":"male"}
curl http://api.genderize.io?name=lucy
{"lucy":null}{"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
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
ab -n 100 -c 5 http://api.genderize.io/\?name\=Cameron
Total: 636 1373 157.7 1304 1664 ab -n 100 -c 5 http://genderizer.herokuapp.com/\?name\=Cameron
Total: 77 141 70.1 115 383Heroku's free tier, not nearly as overloaded right now, but still. Source here: https://github.com/rajington/genderizer
http://www.autohotkey.com/board/topic/20260-gender-verificat...
and a Ruby gam that is built on the above data:
http://api.genderize.io/?name=jessie
{"jessie":"male"}
irb(main):005:0> d.get_gender("Jessie")
=> :female
Not only is it better, it handles cases like androgynous and "mostly male"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&...
....I....I.... just want to be alone for a bit.
It 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
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".
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.
Hosted on heroku's free tier here are some more interesting examples:
Basic: http://genderizer.herokuapp.com/?name=peter
{"peter":"male"}
"Mostly" Response:
http://genderizer.herokuapp.com/?name=Jamie {"Jamie":"mostly_female"}
Country (helps with guesses, default USA):
http://genderizer.herokuapp.com/?name=Jamie&country=great_br... {"Jamie":"mostly_male"}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 :)
~ % curl "http://api.genderize.io?name=pat"
{"pat":null}%
Shouldn't that be "unisex"? ~ % curl "http://api.genderize.io?name=patricia"
{"patricia":null}%
Hm...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.
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.
Unisex: Robin, Alex
Female: Kelsey, Carol
Male: Leslie, Jodi, Jody, Frankie, Kelly, Marion, Casey, Jamie, Jordan, Mackenzie
Null: Pat, Taylor, Dale
I think most of these names will result in prober responses now.
Not tested it on too many challenging tasks but it seems to work well too.
This throws an error and gives us a very pretty stack-trace :)