home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / alt / peeves / 17512 < prev    next >
Encoding:
Text File  |  1992-11-22  |  7.0 KB  |  218 lines

  1. Newsgroups: alt.peeves
  2. Path: sparky!uunet!hobbes!charless
  3. From: charless@sco.COM (Charlie Stross)
  4. Subject: Re: Is it Naivete, Stupidity or Homophobia? (Re: Recent Peeve
  5. Organization: SCO Technical Waffle and Blurb Department
  6. Date: Mon, 23 Nov 1992 10:48:00 GMT
  7. Message-ID: <1992Nov23.104800.12663@sco.com>
  8. References: <17969@autodesk.COM> <1992Nov20.180136.24910@mnemosyne.cs.du.edu> <1992Nov20.233609.5917@igor.tamri.com>
  9. Sender: news@sco.com (News admin)
  10. Lines: 206
  11.  
  12.  
  13. In article <1992Nov20.233609.5917@igor.tamri.com> donb@igor.tamri.com (Don Baldwin) writes:
  14. >
  15. >Oh oh, the dreaded PC label rears its ugly head.  Well my man, there
  16. >are all kinds of Political Correctness.  If I post a politically
  17. >unpopular opinion in talk.politics.guns, even if it doesn't favor
  18. >additional controls but only maintaining the status quo, I get toasted.
  19. >Even a little thing like calling a Colt .45 semi-auto an "automatic"
  20. >could get me in trouble, despite the fact that an NRA safety manual I
  21. >have from 20-30 years ago uses that term.  That's PC for ya.
  22. >
  23. For your edification, here's something I've been working
  24. on. It ain't 100% finished yet, but here goes ...
  25.  
  26. ------------------------ cut here ---------------------------
  27.  
  28. /*
  29.     The politically correct filter ... V 0.1  
  30.         by Charlie Stross (charless@scol.sco.com)
  31.         incorporating large chunks of censor.l by
  32.         Andrew Templin (nosilla@bsu-cs.bsu.edu)
  33.     and the PC dictionary by Geoff Miller
  34.     (geoffm@purplehaze.corp.sun.com).
  35.  
  36.     To compile under SVR3-ish unix:
  37.  
  38.     lex pcfilt.l
  39.     cc -o pcfilt -O lex.yy.c -ll
  40.     rm lex.yy.[oc]
  41.  
  42.     (For BSD flavours like SunOS you might need 
  43.     to fiddle with the cc flags)
  44.  
  45.     Use in a pipe ... e.g.
  46.  
  47.     cat myfile.asc | pcfilt >myfile.politically.corrected
  48.  
  49.     To do:
  50.     1.    tune up the kludgy case-recognizers in the
  51.         censor.l section (top of file)
  52.     2.    figure out how to compile under BSD
  53.     3.    hack in some kind of general suffix/prefix
  54.         handler for plurals, etc.
  55.     4.    write an inverse filter (pc to english)
  56.  
  57. */
  58.  
  59.  
  60. T    [" .!?,"]*
  61.  
  62. %e 1500
  63. %p 4000
  64. %n 1000
  65.  
  66. %%
  67.  
  68. "[Aa]ss"        printf("[BUTTOCKS]");
  69. "Damn"            printf("[CURSE]");
  70. "damn"            printf("[CURSE]");
  71. "DAMN"            printf("[CURSE]");
  72. "fuck"            printf("[FORNICATE]");
  73. "Fuck"            printf("[FORNICATE]");
  74. "FUCK"            printf("[FORNICATE]");
  75. "shit"            printf("[EXCREMENT]");
  76. "Shit"            printf("[EXCREMENT]");
  77. "SHIT"            printf("[EXCREMENT]");
  78. "bitch"            printf("[FEMALE DOG]");
  79. "Bitch"            printf("[FEMALE DOG]");
  80. "BITCH"            printf("[FEMALE DOG]");
  81. "pecker"        printf("[PHALLUS]");
  82. "Pecker"        printf("[PHALLUS]");
  83. "PECKER"        printf("[PHALLUS]");
  84. "nipple"        printf("[MAMMARY OUTLET]");
  85. "Nipple"        printf("[MAMMARY OUTLET]");
  86. "NIPPLE"        printf("[MAMMARY OUTLET]");
  87. "breast"        printf("[BUSOM]");
  88. "Breash"        printf("[BUSOM]");
  89. "BREAST"        printf("[BUSOM]");
  90. "fucking"        printf("[FORNICATING]");
  91. "Fucking"        printf("[FORNICATING]");
  92. "FUCKING"        printf("[FORNICATING]");
  93. "fucked"        printf("[FORNICATED]");
  94. "Fucked"        printf("[FORNICATED]");
  95. "FUCKED"        printf("[FORNICATED]");
  96. "damned"        printf("[CURSED]");
  97. "Damned"        printf("[CURSED]");
  98. "DAMNED"        printf("[CURSED]");
  99. "damning"        printf("[CURSING]");
  100. "Damning"        printf("[CURSING]");
  101. "DAMNING"        printf("[CURSING]");
  102. "piss"            printf("[URINATE]");
  103. "Piss"            printf("[URINATE]");
  104. "PISS"            printf("[URINATE]");
  105. "asshole"        printf("[DONKEY BUTTOCKS]");
  106. "Asshole"        printf("[DONKEY BUTTOCKS]");
  107. "ASSHOLE"        printf("[DONKEY BUTTOCKS]");
  108. "prick"            printf("[PHALLUS]");
  109. "Prick"            printf("[PHALLUS]");
  110. "PRICK"            printf("[PHALLUS]");
  111. "cock"            printf("[PHALLUS]");
  112. "Cock"            printf("[PHALLUS]");
  113. "COCK"            printf("[PHALLUS]");
  114. "pussy"            printf("[VAGINA]");
  115. "Pussy"            printf("[VAGINA]");
  116. "PUSSY"            printf("[VAGINA]");
  117. "twat"            printf("[VAGINA]");
  118. "Twat"            printf("[VAGINA]");
  119. "TWAT"            printf("[VAGINA]");
  120. "cunt"            printf("[VAGINA]");
  121. "Cunt"            printf("[VAGINA]");
  122. "CUNT"            printf("[VAGINA]");
  123. "dick"            printf("[RICHARD]");
  124. "Dick"            printf("[RICHARD]");
  125. "DICK"            printf("[RICHARD]");
  126. "cum"            printf("[EJACULATE]");
  127. "Cum"            printf("[EJACULATE]");
  128. "CUM"            printf("[EJACULATE]");
  129. "jack off"        printf("[MASTERBATE]");
  130. "Jack Off"        printf("[MASTERBATE]");
  131. "JACK OFF"        printf("[MASTERBATE]");
  132. "wet dream"        printf("[NOCTURNAL EMISSION]");
  133. "Wet Dream"        printf("[NOCTURNAL EMISSION]");
  134. "WET DREAM"        printf("[NOCTURNAL EMISSION]");
  135. "jerk off"        printf("[MASTERBATE]");
  136. "Jerk Off"        printf("[MASTERBATE]");
  137. "JERK OFF"        printf("[MASTERBATE]");
  138. "bastard"        printf("[ILLEGITIMATE CHILD]");
  139. "Bastard"        printf("[ILLEGITIMATE CHILD]");
  140. "BASTARD"        printf("[ILLEGITIMATE CHILD]");
  141. "slut"            printf("[WANTON WOMAN]");
  142. "Slut"            printf("[WANTON WOMAN]");
  143. "SLUT"            printf("[WANTON WOMAN]");
  144. "whore"            printf("[PROSTITUTE]");
  145. "Whore"            printf("[PROSTITUTE]");
  146. "WHORE"            printf("[PROSTITUTE]");
  147. "suck"            printf("[INHALE]");
  148. "Suck"            printf("[INHALE]");
  149. "SUCK"            printf("[INHALE]");
  150. "blow"            printf("[EXHALE]");
  151. "Blow"            printf("[EXHALE]");
  152. "BLOW"            printf("[EXHALE]");
  153. "immigrant"        printf("undocumented worker");
  154. "illegal alien"        printf("undocumented worker");
  155. "cripple"        printf("physically handicapped");
  156. "crippled"        printf("physically challenged");
  157. "crazy"            printf("emotionally handicapped");
  158. "macho"            printf("immature");
  159. "retarded"        printf("special");
  160. "moron"            printf("developmentally disabled");
  161. "unemployed"        printf("occupationally challenged");
  162. "dead"            printf("metabolically challenged");
  163. "deaf"            printf("hearing impaired");
  164. "blind"            printf("optically challenged");
  165. "addict"        printf("chemically dependant");
  166. "drug abuse"        printf("substance abuse");
  167. "sexual orientation"    printf("affectional preference");
  168. "bum"            printf("homeless");
  169. "bums"            printf("the homeless");
  170. "slaughter"        printf("put away");
  171. "poor"            printf("economically deprived");
  172. "short"            printf("vertically impaired");
  173. "old"            printf("temporally enriched");
  174. "black"            printf("non-white");
  175. "colored people"    printf("people of color");
  176. "race"            printf("ethnicity");
  177. "ghost"            printf("dimensionally impaired");
  178. "waiter"        printf("food server");
  179. "waitress"         printf("waitperson");
  180. "woman"            printf("person");
  181. "janitor"        printf("waste removal consultant");
  182. "secretary"        printf("administrative assistant");
  183. "AIDS victim"        printf("person with AIDS");
  184. "wimp"            printf("new man");
  185. "euphemistic"        printf("politically correct");
  186. "conservative"        printf("fascist");
  187. "republican"        printf("iran-contra sponsoring neo-fundamentalist lackey"); 
  188. "right wing"        printf("politically incorrect");
  189. "left wing"        printf("right on");
  190. "liberal"        printf("politically correct");
  191. "God"            printf("white male patriarchal deity");
  192. "Jesus"            printf("son of white male patriarchal deity");
  193. "meat"            printf("dead flesh torn from animals");
  194. "owl"            printf("endangered species");
  195. "gun"            printf("weapon of indiscriminate mass destruction");
  196. "FBI"            printf("secret police");
  197. "CIA"            printf("secret police");
  198. "white"            printf("ethnically challenged");
  199. "chicano"        printf("hispanic");
  200. "chinese"        printf("non-caucasian");
  201. "burger"        printf("oppressive patriarchal dead-meat in a bun");
  202. "terrorist"        printf("freedom fighter");
  203.  
  204.  
  205. .            ECHO;
  206. %%
  207.  
  208. main ()
  209. {
  210.     srand(getpid());
  211.     yylex();
  212. }
  213.  
  214. -- 
  215. Charlie Stross aka charless@scol.sco.com ..... UNIX oriented text mangler
  216. WARNING: The opinions voiced in the preceding electronic document are the
  217. product of a warped mind. Take two before meals. 
  218.