gender-neutral
v0.1.1
Published
A node module that neutralizes gender specific text.
Downloads
6
Readme
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) | possessivedeterminer | possessivepronoun | 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