As a man named Tracy I would just throw out a caution to anyone thinking of using this. At this point in my life I don't really care about people calling Ms. Tracy Platt. But what it does do is immediately signal that I don't really need to pay attention. Fake familiarity doesn't usually work too well. As a side note I would like to mention that having a girl's name does have some benefits. For example my wife can ha…
Sex Machine: Get gender from first name in Ruby
11–20 of 55 posts
Re: Sex Machine: Get gender from first name in Ruby
#12Shouldn't this be called "Gender Machine", they get it right on the project description but not on the project name, weird.
Re: Sex Machine: Get gender from first name in Ruby
#13Any reason you called it "Sex Machine"?
Re: Sex Machine: Get gender from first name in Ruby
#14Shouldn't this be called "Gender Machine", they get it right on the project description but not on the project name, weird.
Re: Sex Machine: Get gender from first name in Ruby
#15Shouldn't this be called "Gender Machine", they get it right on the project description but not on the project name, weird.
The code is using the gender of a reference to determine the sex of the referent.
So you could say that they're both right.
Re: Sex Machine: Get gender from first name in Ruby
#16As a man named Tracy I would just throw out a caution to anyone thinking of using this. At this point in my life I don't really care about people calling Ms. Tracy Platt. But what it does do is immediately signal that I don't really need to pay attention. Fake familiarity doesn't usually work too well. As a side note I would like to mention that having a girl's name does have some benefits. For example my wife can ha…
Re: Sex Machine: Get gender from first name in Ruby
#17Without knowing what data it's been trained on it's of questionable use. What maybe a 18 year old american girls name may be a 60 year old german mans name. The gender of a name can vary heavily by culture and time-period, it would make much more sense for the api to return the data in the form of ranked probabilities. As an aside it's worth noting that as this library is GPL3 it means you can't use this code in any…
Literally the very first line of the README has a link to the source data. It contains name frequency data for a number of countries and the README clearly indicates you can provide a country of origin when doing lookups.
> As an aside it's worth noting that as this library is GPL3 it means you can't use this code in any non-GPL product.
The source data is GPL, there wasn't much option.
Re: Sex Machine: Get gender from first name in Ruby
#18Re: Sex Machine: Get gender from first name in Ruby
#19Shouldn't this be called "Gender Machine", they get it right on the project description but not on the project name, weird.
So, I think 'sex machine' is appropriate.
[0] Okay, three options, but 'andy' really corresponds to 'unknown', not 'person of androgynous gender'.
Re: Sex Machine: Get gender from first name in Ruby
#20Without knowing what data it's been trained on it's of questionable use. What maybe a 18 year old american girls name may be a 60 year old german mans name. The gender of a name can vary heavily by culture and time-period, it would make much more sense for the api to return the data in the form of ranked probabilities. As an aside it's worth noting that as this library is GPL3 it means you can't use this code in any…
Well you can always simply ask the author -- if he has got the copyright, he can grant you permission.