Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a couple more notes and modifications & modified the tests to accommodate them #49

Merged
merged 8 commits into from
Oct 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 21 additions & 6 deletions script/ablist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,19 @@
- afflicted with a disability
- type: simple
source: http://ncdj.org/style-guide/
note: People with special abilities is a gentler term that conveys the same meaning.
considerate:
- people with intellectual disabilities
inconsiderate:
- intellectually disabled people
- type: simple
source: http://ncdj.org/style-guide/
considerate:
- person with an intellectual disability
inconsiderate:
- intellectually disabled
- type: simple
source: http://ncdj.org/style-guide/
note: Assumes that a person with an intellectual disability has a reduced quality of life.
considerate:
- person with an intellectual disability
inconsiderate:
- intellectually disabled
- has intellectual issues
- suffers from intellectual disabilities
- suffering from intellectual disabilities
- suffering from an intellectual disability
Expand All @@ -56,6 +53,7 @@
source: http://ncdj.org/style-guide/
considerate:
- rude
- malicious
- mean
- disgusting
- vile
Expand Down Expand Up @@ -241,6 +239,7 @@
- person recovering from a drug addiction
inconsiderate:
- addict
- junkie
- type: simple
source: http://ncdj.org/style-guide/
note: Addiction is a neurobiological disease.
Expand All @@ -249,13 +248,15 @@
- people recovering from a drug addiction
inconsiderate:
- addicts
- junkies
- type: simple
source: http://ncdj.org/style-guide/
note: Alcoholism is a neurobiological disease.
considerate:
- someone with an alcohol problem
inconsiderate:
- alcoholic
- alcohol abuser
- type: simple
source: http://ncdj.org/style-guide/
considerate:
Expand Down Expand Up @@ -288,6 +289,8 @@
inconsiderate:
- vertically challenged
- midget
- small person
- dwarf
- type: simple
source: http://ncdj.org/style-guide/
considerate:
Expand Down Expand Up @@ -427,6 +430,7 @@
- sociopaths
- type: simple
source: http://www.autistichoya.com/p/ableist-words-and-terms-to-avoid.html
note: Dumb here is used in 2 different contexts , the inability to talk or as a curse word.
considerate:
- foolish
- ludicrous
Expand All @@ -445,6 +449,7 @@
- stupid
- wacko
- whacko
- low iq
- type: simple
considerate:
- fit of terror
Expand All @@ -457,15 +462,18 @@
- slim
inconsiderate:
- anorexic
- bony
- type: simple
source: http://english.stackexchange.com/questions/247550/
note: Only use terms describing mental illness when referring to a professionally diagnosed medical condition.
considerate:
- has an anxiety disorder
- obsessive
- pedantic
- niggly
- picky
inconsiderate:
- neurotic
- ocd
- o.c.d
- o.c.d.
Expand Down Expand Up @@ -554,3 +562,10 @@
- enthusiast
inconsiderate:
- maniac
- type: simple
considerate:
- person with prominent teeth
- prominent teeth
inconsiderate:
- bucktoothed
- buckteeth
58 changes: 58 additions & 0 deletions script/race.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,61 @@
- urban
inconsiderate:
- ghetto
- type: simple
considerate:
- Native American
inconsiderate:
- red indian
- pocahontas
- type: simple
considerate:
- Native American People
inconsiderate:
- red indians
- type: simple
considerate:
- Filipinos
- Filipino people
inconsiderate:
- pinoys
- pinays
- type: simple
considerate:
- Arabs
- Middle Eastern People
inconsiderate:
- sand niggers
- towel heads
- type: simple
note: Whenever possible , always try to be gender inclusive.
considerate:
- Latinx
inconsiderate:
- latino
- latina
- mexican
- type: simple
considerate:
- Japanese person
- Japanese people
inconsiderate:
- japs
- type: simple
considerate:
- Jewish person
inconsiderate:
- kike
- goyum
- goy
- shlomo
- type: simple
considerate:
- a Black person
inconsiderate:
- spade
- type: simple
considerate:
- Nomad
inconsiderate:
- gyppo
- gypsy
8 changes: 4 additions & 4 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ test('retext-equality', function(t) {
t.same(
process('Eric is mentally ill.'),
[
'1:9-1:17: `mentally ill` may be insensitive, use `rude`, `mean`, `disgusting`, `vile`, `person with symptoms of mental illness`, `person with mental illness`, `person with symptoms of a mental disorder`, `person with a mental disorder` instead'
'1:9-1:17: `mentally ill` may be insensitive, use `rude`, `malicious`, `mean`, `disgusting`, `vile`, `person with symptoms of mental illness`, `person with mental illness`, `person with symptoms of a mental disorder`, `person with a mental disorder` instead'
],
'ablist-language'
)
Expand Down Expand Up @@ -200,7 +200,7 @@ test('Phrasing', function(t) {
t.same(
process('This is insane.'),
[
'1:9-1:15: `insane` may be insensitive, use `rude`, `mean`, `disgusting`, `vile`, `person with symptoms of mental illness`, `person with mental illness`, `person with symptoms of a mental disorder`, `person with a mental disorder` instead'
'1:9-1:15: `insane` may be insensitive, use `rude`, `malicious`, `mean`, `disgusting`, `vile`, `person with symptoms of mental illness`, `person with mental illness`, `person with symptoms of a mental disorder`, `person with a mental disorder` instead'
],
'This is insane'
)
Expand Down Expand Up @@ -264,7 +264,7 @@ test('Phrasing', function(t) {
t.same(
process('Yeah, you were really psycho to him.'),
[
'1:23-1:29: `psycho` may be insensitive, use `rude`, `mean`, `disgusting`, `vile`, `person with symptoms of mental illness`, `person with mental illness`, `person with symptoms of a mental disorder`, `person with a mental disorder` instead',
'1:23-1:29: `psycho` may be insensitive, use `rude`, `malicious`, `mean`, `disgusting`, `vile`, `person with symptoms of mental illness`, `person with mental illness`, `person with symptoms of a mental disorder`, `person with a mental disorder` instead',
'1:33-1:36: `him` may be insensitive, when referring to a person, use `their`, `theirs`, `them` instead'
],
'Yeah, you were really psycho to him'
Expand Down Expand Up @@ -311,7 +311,7 @@ test('Phrasing', function(t) {
t.same(
process('My O.C.D. is coming out again!'),
[
'1:4-1:10: `O.C.D.` may be insensitive, use `Obsessive`, `Pedantic`, `Niggly`, `Picky` instead'
'1:4-1:10: `O.C.D.` may be insensitive, use `Has an anxiety disorder`, `Obsessive`, `Pedantic`, `Niggly`, `Picky` instead'
],
'My O.C.D. is coming out again!'
)
Expand Down