0.0.1 • Published 7 years ago
gender-prediction v0.0.1
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
Installation
npm install gender-prediction
Usage
var gender = require ("gender-prediction");
var name = 'Lilly'
predictName(name, result => {
console.log(result);
});
License
MIT