I often play craps. I also often use shittake mushrooms in dishes I prepare. I often invite people to come into a room when I am already inside. I often notice people succumbing to a force, such as the heat that's prevalent in central Illinois right now (as almost every summer). A vaccuum cleaner clearly sucks. 'Piss', 'pissing' and 'pissy' is a set of words with many slang uses between the US and the UK - drunk, angry, complaining... Some filters like this forget that 'pink' is a color, that 'crabs' are food (or pets), that you can surpass a limit or expectaion, and that a breast can be a source of illness, a source of food, or food by itself (chicken or turkey, for example).

The best suggestion I can make is that your system keeps some form of state. A tally (not tallywhacker, mind you) of words that match your list as a percentage of overall text is probably a good indicator of someone being libidinous or offensive. Perhaps somewhere between 10% and 25% of a user's sentences containing such borderline words might be a good cue to flag it for action. Also, I'd recommend having such records log the number of total lines submitted with questionable words, the user's overall submissions, and the actual text of the lines found to be questionable for administrative review.

All that said, there are a few words I can't see entering normal conversation, and those words I'd be happy to email to anyone requesting them via my email (mischief@inkless.net), but i won't put such words here.

Chris

In reply to Re: Robust Anti-Swear script by mr_mischief
in thread Robust Anti-Swear script by Azhrarn

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.