1.1.4 • Published 4 years ago

name-gender-classifier v1.1.4

Weekly downloads
6
License
MIT
Repository
github
Last release
4 years ago

npm Dependabot Status

Gender classifier from first name

A simple neural network that classifies the gender of first names. The current model is trained for German first names but can easily be modified for every other language.

Install

npm i name-gender-classifier

Example

const classifyName = require('name-gender-classifier');

classifyName('Andrea').then((prediction) => {
  console.log(`${prediction.name} is probably a ${prediction.male ? 'male' : 'female'} name`);
  // logs: Andrea is probably a female name
});

classifyName('Peter').then(console.log); // logs: { male: true, female: false, name: 'Peter' }
1.1.4

4 years ago

1.1.3

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago