gender-weight

0.0.1 • Public • Published

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 = require("gender-weight");
 
let weight = genderWeight("She's in charge and he's not himself");
 
// weight -> -0.333

Readme

Keywords

none

Package Sidebar

Install

npm i gender-weight

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

6.18 kB

Total Files

9

Last publish

Collaborators

  • mulhoon