Location: PHPKode > projects > ObsceneClean > aspellows.php
<?PHP
echo '<br> THE START. ';
$cusses  = array(
"cunt",
"cunts",
"nigger",
"niggers",
"fucker",
"fuckers",
"fuck",
"fucks",
"whore",
"whores",
"cum",
"cums",
"twat",
"twats",
"asshole",
"assholes",
"clit",
"clits",
"bastard",
"bastards",
"goddamn",
"shit",
"shits",
"honky",
"wetback",
"wetbacks",
"whitey",
"whiteys",
"dildo",
"dildos",
"retard",
"retards",
"piss",
"cracker",
"crackers",
"cripple",
"dickhead",
"dickheads",
"bitch",
"bitches",
"chink",
"chinks",
"ass",
"asses",
"prick",
"pricks",
"pussy",
"pussies",
"fag",
"fags",
"dick",
"dicks",
"spic",
"spics",
"dago",
"dagos",
"dagoes",
"gook",
"gooks",
"coon",
"coons",
"nip",
"nips",
"boffing",
"crap",
"craps",
"jackoff",
"jackoffs",
"queer",
"queers",
"slut",
"sluts",
"tit",
"tits",
"cock",
"cocks",
"wog",
"wogs",
"wop",
"wops",
"bugger",
"buggers",
"wanker",
"wankers",
"shag",
"shags");
$pspell_link = pspell_new("en"); //0. Get the dictionary
$num = count($cusses);
for ($i=0; $i<$num; $i++)	
	{
	if (pspell_check($pspell_link, $cusses[$i])) 
	{ echo " <br> $cusses[$i] is valid spelling"; }
	else 
    { echo " <br> $cusses[$i] is NOT valid spelling"; }
}
echo '<br> THE END. ';
?>
Return current item: ObsceneClean