Skip to content

SmeshMike/get-sex-by-slavic-name

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published