get-sex-by-slavic-name

1.0.1 • Public • Published

get-sex-by-slavic-name

npmNPM

Gets gender of person by his/her name. Algorithm oriented towards slavic or CIS names. Algorithm based on "lvovich", "gender-detection-from-name" and "gender-rus" packages, combining their results. Perfomance showed the 92% accuracy checking it with 50k names.

Example

const GetSex = require('get-sex-by-slavic-name');

res = GetSex("Виталя", "Усинов");
console.log(res)
//male

res = GetSex("Marina", "Дабагян");
console.log(res)
//female

res = GetSex("Женя", "Антоненко");
console.log(res)
//null

Package Sidebar

Install

npm i get-sex-by-slavic-name

Weekly Downloads

5

Version

1.0.1

License

MIT

Unpacked Size

887 kB

Total Files

11

Last publish

Collaborators

  • smeshmike