Giter VIP home page Giter VIP logo

Comments (5)

wooorm avatar wooorm commented on June 11, 2024

First, this is very hard technical feat: to understand what word refers to what. It cannot be implemented (very fast at least) with certainty. That aside, checking if there’s a capitalised word near these gendered words is not very hard, but I’m not sure if that would work good enough.

Additionally, this might be the first cause for having retext-equality configurable, as I’ve come across reasoning which states that even when referring to a person, and even when their gender is known, using ungendered pronouns is favoured.

For example, even if your doctor (let’s call him peter 😉) is male, referring to him as male might be phrased/read as if most/all doctors are male. I read this somewhere but I don’t known the source anymore.

(and no this is not an answer, and yes it’s vague, it’s a hard problem 😉)

from retext-equality.

sindresorhus avatar sindresorhus commented on June 11, 2024

First, this is very hard technical feat: to understand what word refers to what. It cannot be implemented (very fast at least) with certainty.

I thought so too, but I have a feeling you enjoy these kinds of challenges :p

checking if there’s a capitalised word near these gendered words is not very hard, but I’m not sure if that would work good enough.

Maybe use a list of known human names to help the estimation?

For example, even if your doctor (let’s call him peter 😉) is male, referring to him as male might be phrased/read as if most/all doctors are male.

Hmm, never heard of that. Are you sure it's just not when writing about doctors in general?

from retext-equality.

wooorm avatar wooorm commented on June 11, 2024

Yes, YES!, and I thought not, I’ll try to find it, at-least I think it had to do with binary thinking (maybe peter identifies as 20% male, 80% female, or something entirely different!)

from retext-equality.

agnoster avatar agnoster commented on June 11, 2024

Configurability could help this by allowing the author to supply something like "gendered_names" or something for people where there's an acceptable gender. I still think this is a good warning for example characters (why not use Sam and Alex and Jerry and use "they" all the time?) but for internal documents where referring to an actual, specific human being it's... weird. In certain circumstances I could actually see using "they" rather than the person's pronoun could be kind of disrespectful - if you have to fight every day to be gendered correctly, it would probably suck for the automatic text checker to deny you your pronoun? I may be speculating, but either way: it'd be nice for users of this plugin to be able to ignore gendered pronouns sometimes.

In general it would be nice to be able to extend this in various ways, both providing "allowed_terms" (we use "pop", but never with the meaning of "male parent"), additional patterns ("transgendered" -> "transgender, trans, trans*"), and potentially "gendered_names" ("John": "male" or just a list).

from retext-equality.

wooorm avatar wooorm commented on June 11, 2024

No idea yet on how to fix this. So I’m closing this for now! But I’ll keep it in mind :)

from retext-equality.

Related Issues (20)

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.