get-alex / alex

Catch insensitive, inconsiderate writing
https://alexjs.com
MIT License
4.81k stars 207 forks source link

Suggestion: `shemale` and `he-she` #91

Closed JayYang95 closed 8 years ago

JayYang95 commented 8 years ago

I noticed that alex has covered some offensive terms such as "tranny" but has failed to include some equally offensive ones such as these.

Input: echo "That person is a he-she." | alex

returns no issues found

Input: echo "That person is a shemale." | alex

also returns no issues found

yoshuawuyts commented 8 years ago

Oh yeah, those should def be included. PR welcome!

eah13 commented 8 years ago

@yoshuawuyts would the correct place to fix this be here? https://github.com/wooorm/retext-equality/blob/master/lib/patterns.json#L4542

yoshuawuyts commented 8 years ago

@eah13 Yeah, that seems about right :sparkles:

wooorm commented 8 years ago

Close! The patterns.json file is created from the YAML databases in script/. I’d appreciate it if you add it there.

P.S. I’ll add a section in the README about contributing 👍

wooorm commented 8 years ago

Added the section on wooorm/retext-equality. Also: what do you suggest instead?

P.S. Great suggestion! 🎉