PDA

View Full Version : Word Filtering


dmlewis
25th October 2007, 02:50 PM
The word filtering is a useful feature of jSpell Evolution that I discovered in the documentation. If one of the words in your 'block list' appears on the user's form, the suggested replacement is '****'. And, of course, you could use JavaScript to insist that they replace it, if you wanted to do so.

My fellow programmer compiled a list of words to block (a fun project for him), and those words are now flagged, with asterisks as the suggested replacement.

I have run into a bit of a snag, though. According to the documentation, "Ignore", "Ignore All" and "Add To Dictionary" are supposed to be disabled for these words. They are not; I am still able to ignore, and/or add the word to my dictionary.

Has anyone run into this? Perhaps there is a setting in the .js file for this?

Thanks,

D. Michael Lewis
Software Developer

bmorreal
1st November 2007, 01:04 PM
I am using the Evolution product and had to change parameters within the a javascript file called jspellSettings.js.

To disable the 'add word' button set:

var jspellDisableLearn=true;

To prevent JSpell from allowing the addition of '*****' that comes from your blocked list I have not seen an option within the configuration file that will prevent the use of replacing the blocked word with the asterisks.

dmlewis
5th November 2007, 10:11 PM
bmor: Thank you very much for the response. What I really want to do, though, is allow the users to add words (I have the 'personal dictionary on the server' method working), but disallow actual curse words from being added to their dictionaries.

To clarify: Right now, if you type 'ass', jSpell recommends ***, which is great. However, if you click "Add to Dictionary", it adds 'ass', and therefore, it is not flagged next time.

If I understand the documentation correctly--and perhaps I do not--there should be a way to prevent these blocked words from being added.

Thanks!

pallis
5th March 2008, 03:41 PM
Hi ,

Using JSpell Evolution. I kept all my block words in block.lst and placed at my dictory folder (Same folder as lex_enUS.jdx exists). But while typing the blocked word it is not poping up anything. Do i missed any config.

Srini