5 ms·
Without 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. Th
by ig1 14y ago
Without 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 non-GPL product.
- api 14y agoIts probably useful for aggregate statistics. The Jordans and Teagans and Pats are outliers.
- MartinCron 14y agoAs 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.
- nickzoic 14y agofirst 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.
- mbell 14y ago> Without knowing what data it's been trained on it's of questionable use. 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.
- tingletech 14y agoThe data is GPL documentation license; why/how would that affect the code?
- ig1 14y agoCan you get probabilities out ?
- jghrng 14y ago> 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. Well you can always simply ask the author -- if he has got the copyright, he can grant you permission.
- andyroid 14y ago> 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. Of course you can. Usage != distribution.
- ig1 14y agoAgreed, but putting GPL code into your internal code is incredibly risky because of the vagaries of what counts as distribution under the GPL (for example if you distribute your code to a third-party security auditing company).