gender-weight
Find the gender weight in text by counting the number of gendered words. This is a good way of indicating if a piece of text is about men or women.
It returns a value between -1
and 1
(M - F)
Install
yarn add gender-weight
Usage
const genderWeight = ; let weight = ; // weight -> -0.333