Skip to content

tobius/gender-neutral

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gender-neutral

A node module that neutralizes gender specific text.

Install

[~] npm install git://github.com/tobius/gender-neutral.git

Usage

// node module
var gender = require('gender-neutral');

// gender specific content
var text = 'I called him on Wednesday to tell him the good news.';

// "they" >> I called them on Wednesday to tell them the good news.
gender.neutralize(text, console.log);

// "zhe" >> I called zhim on Wednesday to tell zhim the good news.
gender.neutralize(text, console.log, 'zhe');

Supported Filters

  nominative
(subject)
oblique
(object)
possessive
determiner
possessive
pronoun
reflexive
male gender he laughed I called him His eyes gleam That is his He likes himself
female gender she laughed I called her Her eyes gleam That is hers She likes herself
they they them their theirs themself
e e em eir eirs eirself
ey ey em eir eirs emself
tho tho thor thors thor thongself
hu hu hum hus hus humself
per per per per pers perself
thon thon thon thons thons thonself
jee jee jem jeir jeirs jemself
ve ve ver vis vis verself
xe xe xem xyr xyrs xemself
ze ze mer zer zers zemself
zhe zhe zhim zher zhers zhimself

About

Neutralize gender specificity inside a body of text

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published