Skip to content

Repository files navigation

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

yarnaddgender-weight

Usage

constgenderWeight=require("gender-weight");letweight=genderWeight("She's in charge and he's not himself");// weight -> -0.333

About

Find the gender weight in text

Resources

Stars

6 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages