Content Filter

The Content Filter is used to detect messages with inappropriate content, and, optionally, replace such content with supplied replacement.

The Content Filter uses the words in the file to scan the text of the message. If the message contains any of the words listed in the file, it will be considered that the message has an inappropriate content. Note that you may also use the wildcards asterisk ( * ), question mark ( ? ), number sign ( # ) and dollar sign ( $ ), described in Wildcard Patterns, for matching inappropriate words.

Each word in the file may also have a replacement text supplied. The Content Filter uses replacement texts to replace inappropriate words found in the message text. Note that capitalization of the original word is preserved.

SMS Studio automatically detects the changes made to the Content Filter file. This means that you can keep the file opened in the text editor (e.g. Notepad) and modify it while you work in SMS Studio. When you save the changes the file will be automatically reloaded.

Example

If the Content Filter file contains the following lines:

book "b**k"
cellular "mobile phone"
bike "bicycle"
keyboard ""
house
sun* "light"

Then, messages containing any of the words book, cellular, bike, keyboard and house, or beginning with sun, will be marked by Content Filter. Additionally, the following changes to the message text will be performed:

Book will be replaced with B**k
Cellular will be replaced with Mobile phone
bike will be replaced with bicycle
Bike will be replaced with Bicycle
BIKE will be replaced with BICYCLE
keyboard will be removed
house will not be changed
sun, sunshine, sunlight, etc. will be replaced with light

 

Copyright © 2002-2007 CodeSegment. All rights reserved.

   www.codesegment.com