This module predicts whether given first name is male or female.
The prediction algorithm is based on naive Bayes classifier from natural.
The data set used for training is from the nlp corpora of Carnegie Mellon University
npm install gender-prediction
var gender = require ("gender-prediction");
var name = 'Lilly'
predictName(name, result => {
console.log(result);
});
License
MIT