in reply to Re: Re: Robust Anti-Swear script
in thread Robust Anti-Swear script
Unless you are using key words that are unlikely to be used in conversation unrelated to what you're trying to capture, you'll end up with bogus results unless you can also analyze and interpret context. Even humans don't do so well at that -- hence the use of "magic words" like "mayday" or "I am declaring an emergency" instead of "help" in situations where it really matters.
Trying to code this sort of understanding into a perl regex without resorting to predefined magic words would be quite a trick. Automating action based on anything a perl regex could identify simply won't do you much good in the long run.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Pedantry strikes
by andye (Curate) on Aug 01, 2001 at 17:07 UTC |