This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Wordfilter" – news ·newspapers ·books ·scholar ·JSTOR(September 2022) (Learn how and when to remove this message) |
Awordfilter (sometimes referred to as just "filter" or "censor") is a script typically used onInternet forums orchat rooms that automatically scans users' posts or comments as they are submitted and automatically changes orcensors particular words or phrases.
The most basic wordfilters search only for specific strings of letters, and remove or overwrite them regardless of their context. More advanced wordfilters make some exceptions for context (such as filtering "butt" but not "butter"), and the most advanced wordfilters may useregular expressions.
Wordfilters can serve any of a number of functions.
Aswear filter, also known as aprofanity filter orlanguage filter is asoftware subsystem which modifies text to remove words deemed offensive by the administrator or community of anonline forum. Swear filters are common in custom-programmedchat rooms andonline video games, primarilyMMORPGs. This is not to be confused withcontent filtering, which is usually built into internet browsing programs bythird-party developers to filter or block specific websites or types of websites. Swear filters are usually created or implemented by the developers of the Internet service.
Most commonly, wordfilters are used to censor language considered inappropriate by the operators of the forum or chat room.Expletives are typically partially replaced, completely replaced, or replaced by nonsense words.[1] This relieves the administrators or moderators of the task of constantly patrolling the board to watch for such language. This may also help the message board avoidcontent-control software installed on users' computers or networks, since such software often blocks access to Web pages that contain vulgar language.
Filtered phrases may be permanently replaced as it is saved (example:phpBB 1.x), or the original phrase may be saved but displayed as the censored text. In some software users can view the text behind the wordfilter by quoting the post.
Swear filters typically take advantage ofstring replacement functions built into theprogramming language used to create the program, to swap out a list of inappropriate words and phrases with a variety of alternatives. Alternatives can include:
Some swear filters do a simple search for a string. Others have measures that ignorewhitespace, and still others go as far as ignoring all non-alphanumeric characters and then filtering the plain text. This means that if the word "you" was set to be filtered, "y o u" or "y.o!u" would also be filtered.
Clichés—particular words or phrases constantly reused in posts, also known as "memes"—often develop on forums. Some users find that these clichés add to the fun, but other users find them tedious, especially when overused. Administrators may configure the wordfilter to replace the annoying cliché with a more embarrassing phrase, or remove it altogether.
Internet forums are sometimes attacked byvandals who try to fill the forum with repeated nonsense messages, or byspammers who try to insert links to their commercial web sites. The site's wordfilter may be configured to remove the nonsense text used by the vandals, or to remove all links to particular websites from posts.
Lameness filters are text-based wordfilters used by Slash-based websites (such astextboards andimageboards) to stopjunk comments from being posted in response to stories. Some of the things they are designed to filter include:
Since wordfilters are automated and look only for particular sequences ofcharacters, users aware of the filters will sometimes try to circumvent them by changing their lettering just enough to avoid the filters. A user trying to avoid a vulgarity filter might replace one of the characters in the offending word into an asterisk, dash, or something similar. Someadministrators respond by revising the wordfilters to catch common substitutions; others may make filter evasion a punishable offense of its own.[2] A simple example of evading a wordfilter would be entering symbols between letters, deliberately misspelling words, or usingleet. More advanced techniques of wordfilter evasion include the use of images, using hidden tags, orCyrillic characters (i.e. ahomograph spoofing attack).
Another method is to use asoft hyphen. A soft hyphen is only used to indicate where a word can be split when breaking text lines and is not displayed. By placing this halfway in a word, the word gets broken up and will in some cases not be recognised by the wordfilter.
Some more advanced filters, such as those in the online gameRuneScape, can detect bypassing. However, the downside of sensitive wordfilters is that legitimate phrases get filtered out as well.
Wordfilters are coded into the Internet forums or chat rooms, and operate only on material submitted to the forum or chat room in question. This distinguishes wordfilters fromcontent-control software, which is typically installed on an end user's PC or computer network, and which can filter all Internet content sent to or from the PC or network in question. Since wordfilters alter users' words without their consent, some users still consider them to becensorship, while others consider them an acceptable part of a forum operator's right to control the contents of the forum.
A common quirk with wordfilters, often considered either comical or aggravating by users, is that they often affect words that are not intended to be filtered. This is a typical problem when short words are filtered. For example, with the word "ass" censored, one may see, "Do you need istance for playing clical music?" instead of "Do you need assistance for playing classical music?" Multiple words may be filtered if whitespace is ignored, resulting in "as suspected" becoming " uspected". Prohibiting a phrase such as "hard on" will result in filtering innocuous statements such as "That was a hard one!" and "Sorry I was hard on you," into "That was a e!" and "Sorry I was you."
Some words that have been filtered accidentally can become replacements for profane words. One example of this is found on theMyst forum Mystcommunity. There, the word 'manuscript' was accidentally censored for containing the word 'anus', which resulted in 'm****cript'. The word was adopted as a replacement swear and carried over when the forum moved, and many substitutes, such as " 'scripting ", are used (though mostly by the older community members).
Place names may be filtered out unintentionally due to containing portions of swear words. In the early years of the internet, the British place namePenistone was often filtered out from spam and swear filters.[3]
Many games, such asWorld of Warcraft, and more recently,Habbo Hotel andRuneScape allow users to turn the filters off. Other games, especially freeMassively multiplayer online games, such asKnight Online do not have such an option.
Other games such asMedal of Honor andCall of Duty (exceptCall of Duty: World at War,Call of Duty: Black Ops,Call of Duty: Black Ops 2, andCall of Duty: Black Ops 3) do not give users the option to turn off scripted foul language, whileGears of War does.
In addition to games, profanity filters can be used to moderate user generated content in forums, blogs, social media apps, kid's websites, and product reviews. There are many profanity filter APIs likeWebPurify that help in replacing the swear words with other characters (i.e. "@#$!"). These profanity filters APIs work with profanity search and replace method.
replaces characters with similar Unicode chars from different character sets (e.g. Cyrillic)