Skip to content

Instantly share code, notes, and snippets.

@rickastley22
Forked from wrenoud/neutral_pronouns.json
Last active October 1, 2021 03:41
Show Gist options
  • Save rickastley22/41863dcf266e4dceb347cd010adfd441 to your computer and use it in GitHub Desktop.
Save rickastley22/41863dcf266e4dceb347cd010adfd441 to your computer and use it in GitHub Desktop.
Gender & pronoun neutralizer dictionary for use with Word Replacer II Chrome extension (https://chrome.google.com/webstore/detail/word-replacer-ii/djakfbefalbkkdgnhkkdiihelkjdpbfh?hl=en)
//pronoun & syntax neutralizer for word replacer II
//Max Schaffer (2019) with Weston Renoud (2016)
//this remains very much a work in progress, looking for more people to expand this and add more language support!
//ACKNOWLEDGEMENTS
//Created by merging my work in 2019 with that of Weston Renoud (wrenoud)'s 2016 neutral_pronouns.json, who's work
//was really just all around better and cleaner than mine
//Thank you, Weston, for caring about this, it means a lot :) You helped me get off the ground here as I struggled
//to understand how regex works and fix my crappy functons.
//And a bit thank you to Word Replacer's team who made this possible for people without full coding backgrounds
//INTRO
//The goal behind pushing the project forward is not simply to make the internet a more inclusive space, it is
//to research what an inclusive experience can do for people on the internet--how it alters perception, changes
//interpretation, and makes a usually binary space (of 0s and 1s) less binary (of course, using binary operations).
//It is a way, at least personally, to see how nuetralizers might aid in combating dysphoria, and may help break
//assumptions of gender that can be harmful to the progess of equality online.
//HOW TO USE
//Install Word Replacer II and go to "settings"
//copy and paste this code (beginning from the first bracket to the last) into Word Replacer's input box,
//click "import"
//enable it from the button top right in your browser and enjoy!
{
"version": "2.0.10",
"replacements": [
{
"active": true,
"case": "Maintain",
"repA": "woman",
"repB": "person",
"type": "Simple"
},
{
"active": true,
"case": "Maintain",
"repA": "/\\b(man)\\b/i",
"repB": "person",
"type": "RegEx"
},
{
"active": true,
"case": "Maintain",
"repA": "/\\b(he)\\b/i",
"repB": "they",
"type": "RegEx"
},
{
"active": true,
"case": "Maintain",
"repA": "/\\b(she)\\b/i",
"repB": "they",
"type": "RegEx"
},
{
"active": true,
"case": "Maintain",
"repA": "masculine",
"repB": "person",
"type": "Simple"
},
{
"active": true,
"case": "Maintain",
"repA": "feminine",
"repB": "person",
"type": "Simple"
},
{
"active": true,
"case": "Maintain",
"repA": "/\\b(his)\\b/i",
"repB": "their",
"type": "RegEx"
},
{
"active": true,
"case": "Maintain",
"repA": "/\\b(her'?s)\\b/i",
"repB": "their",
"type": "RegEx"
},
{
"active": true,
"case": "Maintain",
"repA": "/\\b(her)\\b/i",
"repB": "them/their",
"type": "RegEx"
},
{
"active": true,
"case": "Maintain",
"repA": "/\\b(him)\\b/i",
"repB": "them",
"type": "RegEx"
},
{
"active": true,
"case": "Maintain",
"repA": "female",
"repB": "person",
"type": "Simple"
},
{
"active": true,
"case": "Maintain",
"repA": "/\\b(male)\\b/i",
"repB": "person",
"type": "RegEx"
},
{
"active": true,
"case": "Maintain",
"repA": "/\\b(her|him)self\\b/i",
"repB": "themself",
"type": "RegEx"
},
{
"active": true,
"case": "Maintain",
"repA": "mankind",
"repB": "the world",
"type": "Simple"
},
{
"active": true,
"case": "Maintain",
"repA": "/\\b(men)\\b/",
"repB": "people",
"type": "RegEx"
},
{
"active": true,
"case": "Maintain",
"repA": "/\\b(women)\\b/i",
"repB": "people",
"type": "RegEx"
},
{
"active": true,
"case": "Maintain",
"repA": "/\\b(guy|gal)\\b/i",
"repB": "person",
"type": "RegEx"
},
{
"active": true,
"case": "Maintain",
"repA": "/\\b(they)\\s+(is)\\b/i",
"repB": "they are",
"type": "RegEx"
},
{
"active": true,
"case": "Maintain",
"repA": "/\\b(they)\\s+(was)\\b/i",
"repB": "they were",
"type": "RegEx"
},
{
"active": true,
"case": "Maintain",
"repA": "/\\bs?(he)'s\\b/i",
"repB": "they're",
"type": "RegEx"
},
{
"active": true,
"case": "Maintain",
"repA": "/\\b(sister)\\b/i",
"repB": "sibling",
"type": "RegEx"
},
{
"active": true,
"case": "Maintain",
"repA": "/\\b(brother)\\b/i",
"repB": "sibling",
"type": "RegEx"
},
{
"active": true,
"case": "Maintain",
"repA": "/\\b(mr|ms|mrs|mister)\\b/i",
"repB": "mx",
"type": "RegEx"
},
{
"active": true,
"case": "Maintain",
"repA": "/\\b(history)\\b/i",
"repB": "hxstory",
"type": "RegEx"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment