Re: Determine gender from first name

2013-09-27 Thread Casper Strømgren
Hey Demetrio

You can use http://genderize.io which is a free API.

A problem with determining a gender from a name is that people can call 
their children almost anything they'd like. Genderize.io tries to solve 
this by collecting data from social networks (where people can also call 
themselves whatever they'd like). Furthermore, it has the ability of 
filtering results by country or language.

It also provides a certainty factor along with the gender. So you can set a 
bar of when you want to trust it.

Den onsdag den 25. januar 2012 09.49.22 UTC+1 skrev Demetrio Girardi:
>
> This is not a django-specific question, but I couldn't find anything
> useful on the subject and have no better place to ask.
>
> Let's say I want to put "welcome {{user.first_name}}" on top of my
> template. In many languages, "welcome" has to be declined by gender. I
> have no use for the user's gender otherwise, so I don't want to ask
> for it in the registration process.
>
> How can I go about this? Is there a publicly available database of
> first names divided by language and gender? A public web-service that
> guesstimates the gender?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Determine gender from first name

2012-01-27 Thread Carsten Agger

Den 25-01-2012 09:59, Praveen Krishna R skrev:

*I don't know if there are any databases or webservices available for
the purpose. But how would you handle the exceptions ?! Like if it does
not exist in the db, and common names used across genders ?!*
*
*



In general this would not be possible.

Kim, e.g., is used as a female name in English and as a male name in 
Scandinavian languages.


Robin is used as a female and male name.

Then there's combinations such as José María and María José, which 
require knowledge of Spanish naming conventions.


Andrea is a male name in Italian.

I think you might go by a list but there'd always be errors.


--
Carsten Agger
Magenta ApS
Åbogade 15
8200 Århus N

Tlf  +45 2086 5010
http://www.magenta-aps.dk
carst...@magenta-aps.dk

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Determine gender from first name

2012-01-27 Thread Jonathan Paugh
- Original Message -
From: Demetrio Girardi
Sent: 01/25/12 03:49 AM
To: django-users@googlegroups.com
Subject: Determine gender from first name

 This is not a django-specific question, but I couldn't find anything useful on 
the subject and have no better place to ask. Let's say I want to put "welcome 
{{user.first_name}}" on top of my template. In many languages, "welcome" has to 
be declined by gender. I have no use for the user's gender otherwise, so I 
don't want to ask for it in the registration process. How can I go about this? 
Is there a publicly available database of first names divided by language and 
gender? A public web-service that guesstimates the gender? -- You received this 
message because you are subscribed to the Google Groups "Django users" group. 
To post to this group, send email to django-users@googlegroups.com. To 
unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com. For more options, visit this group 
at http://groups.google.com/group/django-users?hl=en. 
 What about the boy named Sue?

 In some cultures, guessing "male" might be somewhat acceptable. On the other 
hand, any guess could be wrong---and offensive. My advice is to ask. Perhaps 
make it optional, with a default to one or the other; at least if they take 
offense they can fix it.

 Of course, you could reword your translation so as to get around this, but 
that may be more difficult and awkward than it's worth.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



RE: Determine gender from first name

2012-01-27 Thread walter capio

All depends on how many users you have and how accurate you want your data to 
be. If your language uses specific morphemes for women (usually non-european 
languages have marked feminine morphemes; male names and pronouns are not 
marked), then you could write a parser for these names. Yet I doubt your data 
will be any better than 90% accurate. Don't forget people construct virtual 
identities and often use loanwords. You could also parse their content (blogs, 
comments,... *is this legal?) and see which first person pronouns, verbs, etc. 
they use. If the latter are explicit feminine forms, use a feminine welcome.
So, I would just work around the gender-specific welcome. Replace it somehow. 
Convince your client it is somehow spooky to directly address the visitor.
Or, even better, add a gender category to your db and register form and 
convince your client that some day it will prove interesting for data mining 
purposes.
greetings,djinja


> Subject: Re: Determine gender from first name
> From: law...@thenilgiris.com
> To: django-users@googlegroups.com
> Date: Wed, 25 Jan 2012 15:20:36 +0530
> 
> On Wed, 2012-01-25 at 09:49 +0100, Demetrio Girardi wrote:
> > How can I go about this? Is there a publicly available database of
> > first names divided by language and gender? A public web-service that
> > guesstimates the gender? 
> 
> not possible in my opinion. There may be some languages where a name
> *has* to have gender specific suffix. All the languages I know do not.
> Maria, Rama, Krishna, for example are not gender specific.
> -- 
> regards
> Kenneth Gonsalves
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
> 
  

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Determine gender from first name

2012-01-25 Thread Anoop Thomas Mathew
Hi,

If you are looking for a fuzzy solution, you can find it here
https://github.com/sholiday/genderPredictor
This should suit your purpose.
It uses nltk package for predicting, but as Kenneth said, it won't be 100%
perfect. You can expect 80-90% success.

Hope this helps.
Thanks,
Anoop

atm
___
Life is short, Live it hard.




On 25 January 2012 15:20, kenneth gonsalves  wrote:

> On Wed, 2012-01-25 at 09:49 +0100, Demetrio Girardi wrote:
> > How can I go about this? Is there a publicly available database of
> > first names divided by language and gender? A public web-service that
> > guesstimates the gender?
>
> not possible in my opinion. There may be some languages where a name
> *has* to have gender specific suffix. All the languages I know do not.
> Maria, Rama, Krishna, for example are not gender specific.
> --
> regards
> Kenneth Gonsalves
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Determine gender from first name

2012-01-25 Thread kenneth gonsalves
On Wed, 2012-01-25 at 09:49 +0100, Demetrio Girardi wrote:
> How can I go about this? Is there a publicly available database of
> first names divided by language and gender? A public web-service that
> guesstimates the gender? 

not possible in my opinion. There may be some languages where a name
*has* to have gender specific suffix. All the languages I know do not.
Maria, Rama, Krishna, for example are not gender specific.
-- 
regards
Kenneth Gonsalves

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Determine gender from first name

2012-01-25 Thread Praveen Krishna R
*I don't know if there are any databases or webservices available for the
purpose. But how would you handle the exceptions ?! Like if it does not
exist in the db, and common names used across genders ?!*
*
*
On Wed, Jan 25, 2012 at 11:49 AM, Demetrio Girardi <
demetrio.gira...@gmail.com> wrote:

> This is not a django-specific question, but I couldn't find anything
> useful on the subject and have no better place to ask.
>
> Let's say I want to put "welcome {{user.first_name}}" on top of my
> template. In many languages, "welcome" has to be declined by gender. I
> have no use for the user's gender otherwise, so I don't want to ask
> for it in the registration process.
>
> How can I go about this? Is there a publicly available database of
> first names divided by language and gender? A public web-service that
> guesstimates the gender?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>


-- 
Thanks and Regards,
*Praveen Krishna R*

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Determine gender from first name

2012-01-25 Thread Demetrio Girardi
This is not a django-specific question, but I couldn't find anything
useful on the subject and have no better place to ask.

Let's say I want to put "welcome {{user.first_name}}" on top of my
template. In many languages, "welcome" has to be declined by gender. I
have no use for the user's gender otherwise, so I don't want to ask
for it in the registration process.

How can I go about this? Is there a publicly available database of
first names divided by language and gender? A public web-service that
guesstimates the gender?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.