Re:Sex Machine: Get gender from first name in Ruby
by api on Tuesday April 16, 2013 @05:01PM
(#5560873)
Its probably useful for aggregate statistics. The Jordans and Teagans and Pats are outliers.
[ Parent
| on HN ]
Re:Sex Machine: Get gender from first name in Ruby
by MartinCron on Tuesday April 16, 2013 @05:20PM
(#5560983)
As are the Leslies, Shannons, Ashleys, and Tracys.
That makes me think, if you had firstname + birthdate, you could probably be a tiny bit more accurate.
Re:Sex Machine: Get gender from first name in Ruby
by nickzoic on Tuesday April 16, 2013 @07:15PM
(#5561559)
first name, birthdate, country/region code to allow for regional variations.
Would make a nice exercise in fuzzy decision processes, but I suspect it isn't a great idea: you'd be better off leaving that field as "unknown" by default and writing "Dear Sir/Madam" if it is unknown.