Git Product home page Git Product logo

inclusive-language's Introduction

Exclusive Language Highlighter

An educational language checker tool built on publicly available resources and collected knowledge projects. It looks for exclusive language — which generally includes outdated and outright “-ist” (ableist, ageist, racist) and “-phobic” (transphobic, homophobic, xenophobic) terms — and suggests inclusive alternatives.

Available in BETA at jhogue.github.io/inclusive-language

How to Use

Based on language checker tools like Grammarly and Hemingway, this tool accepts strings of text (cut and pasted) into one field and outputs highlighted suggestions where it finds language in the database. Suggestions are given with references to the source for more information and context.

The tool is meant to educate and suggest rather than automatically replace problematic language. Context is everything, and the author should use this opportunity to ,earn about evolving language and acceptable vs. no-longer acceptable labels and phrases.

How to Contribute

All words and phrases are stored in /library.js which is a multi-dimensional array. A sample entry is structured as follows:

['abnormal', 'typical', 'Can be appropriate in a medical context, but when describing an individual it is widely considered derogatory.', '<a href="https://www.diversitystyleguide.com/glossary/abnormalabnormality/" target="_blank">The Diversity Style Guide</a>'],

Which when broken down into parts, is this:

[
  // The word or phrase to find in text
  'abnormal',
  // The word or phrase to suggest replacing it with. Can also be the value ”[remove/rephrase]” or “[consider context]”
  'typical',
  // The natural language explanation (keep as short as possible)
  'Can be appropriate in a medical context, but when describing an individual it is widely considered derogatory.',
  // The source where there is more explanation and context
  '<a href="https://www.diversitystyleguide.com/glossary/abnormalabnormality/" target="_blank">The Diversity Style Guide</a>'
],

Create a Pull Request (PR) to add new terms to the library if you are a developer comfortable with the GutHub workflow. Otherwise, suggest additions as Issues. Please make sure to include a source reference.

Credits

Created by J. Hogue as part of the DesignXRI EQUITYxRI cohort in 2022. Thanks to all the public resources, including, but not limited to:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.