Alex Rivera | Logout

Does anyone know of a good library for mapping a person's name to his or her gender?

Asked 2009-05-03T22:34:38.747
90

I am looking for a library or database that can provide guesses about whether a person is male or female based on his or her name or nickname. Something like

john => "M",
mary => "F",
alex => "A", #ambiguous

I am looking for something that supports names other than English names (such as Japanese, Indian, etc.).

Before I get another answer along the lines of "you are going to offend people by assuming their sex/gender" let me be clear, my application does not interact with anyone. It does not send emails or contact anyone in anyway. There are no users to ask. In many cases, the person in question is dead, and the only information I have is name, birth date, and date of death. The reason I want to know the sex of the individual is to make the grammar of the output nicer and to aid in possible searches that may come latter.

Edit
Report

2 Answers

1
answered 2011-11-04T04:21:29.790
-3

Plus I don't know but what about Asian language, Arabic, and/or one of the thousands of languages out there.

I mean sure I could see a database of names with the percentage that was male versus female, along with additional information such as region, country, and so forth. But ultimately in the end it would be quite a complicated and large database to be able to deal with all of the possible name in the world.

Plus how to deal with names that aren't in the database? etc....

answered 2010-04-28T22:39:53.567

Your Answer