From 0c446bb767d3f1fbbe30107de62ce68dc4f1a6e1 Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Wed, 12 Jul 2023 22:24:34 -0700 Subject: [PATCH] identifier: tweaks and additions to slur list --- packages/identifier/src/reserved.ts | 54 ++++++++++++++--------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/packages/identifier/src/reserved.ts b/packages/identifier/src/reserved.ts index c924831a966..f025b619571 100644 --- a/packages/identifier/src/reserved.ts +++ b/packages/identifier/src/reserved.ts @@ -1047,16 +1047,16 @@ const famousAccounts = [ 'zerohora', ] -// Needs additional work to add more words that should be caught and regex added to catch common variations +// naive, incomplete list of slurs and unacceptable words const slurs = [ - 'chinaman', - 'chinamen', + 'bluegum', 'chink', 'chinks', 'coolie', 'coolies', 'coon', 'coons', + 'coont', 'golliwog', 'golliwogs', 'gook', @@ -1064,13 +1064,12 @@ const slurs = [ 'gyp', 'gyps', 'half-breed', - 'half-breeds', 'halfbreed', + 'half-breeds', 'halfbreeds', 'heeb', 'heebs', - 'jap', - 'japs', + 'hitler', 'kaffer', 'kaffers', 'kaffir', @@ -1081,53 +1080,54 @@ const slurs = [ 'kafirs', 'kike', 'kikes', - 'kraut', - 'krauts', + 'kkk', + 'klukluxklan', + 'muzzie', + 'n1gga', + 'n1gger', + 'naziĀ ', + 'negorid', 'negress', - 'negro', - 'negros', 'nig', - 'nigs', - 'nig-nog', - 'nig-nogs', + 'nigg3r', + 'nigg4h', 'nigga', + 'niggah', 'niggas', + 'niggaz', 'nigger', + 'niggerachi', + 'niggerette', + 'niggerican', + 'niggerino', + 'niggeroid', 'niggers', + 'nigglet', 'nigguh', 'nigguhs', - 'pajeet', - 'pajeets', + 'nig-nog', + 'nig-nogs', + 'nigs', 'paki', 'pakis', + 'pedophile', 'pickaninnie', 'pickaninnies', 'pickaninny', 'pickaninnys', 'raghead', 'ragheads', - 'retard', - 'retards', + 'redskin', 'sambo', 'sambos', - 'shemale', - 'shemales', 'spade', 'spades', - 'sperg', - 'spergs', 'spic', 'spics', 'squaw', 'squaws', - 'tard', - 'tards', 'wetback', 'wetbacks', - 'wigger', - 'wiggers', - 'wop', - 'wops', 'yid', 'yids', ]