Wintertree Software Inc.

Wintertree Spell Check Applet

Home Site index Contact us Catalog Shopping Cart Products Support Search

You are here: Home > Support > Wintertree Spell Check Applet > Removing words from the main dictionary


Removing words from the main dictionary

Question: How can I delete certain words from the main dictionary? I don't want these words to be offered as suggestions, and I want them to be treated as misspellings.

Answer: Follow the steps below to create a list of words you want Spell Check Applet to treat as misspelled.

  1. Using a text editor (e.g., Notepad), create a new file in the same directory on your server as other Spell Check Applet dictionary files. Name the new file "remove.tlx".

  2. Make the first line of the file look like this:

    #LID 24941
  3. Enter the words you want to remove on the second and subsequent lines, one word per line, in the following format:

    word<TAB>e

    word is the word you want to delete, and <TAB> is a tab character (i.e., press the <TAB> key on the keyboard). In NotePad, the entry will look like this:

    word    e

    Note that each form of a word must be removed. If you want to remove "dog" and "dogs," you will need to enter both forms, each on a separate line. Following is a sample file:

    #LID 24941
    cat e
    cats e
    dog e
    dogs e
  4. When you have entered all the words you want to remove, save the file.

  5. Using an HTML editor, open the <APPLET> tag in any pages that use Spell Check Applet.

  6. Locate the MainLexiconN parameters, and create a new MainLexicon1 parameter for the remove.tlx file just created:

    <PARAM NAME="MainLexicon1" VALUE="remove.tlx,url,t">

    Note that this will create a duplicate MainLexicon1 parameter entry, but that will be corrected in the next step.

  7. Renumber the original MainLexiconN parameter entries so that the original MainLexicon1 becomes MainLexicon2, MainLexicon2 becomes MainLexicon3, and so on. If you use the American English dictionary, the MainLexicon paramters should look similar to the following:

    <PARAM NAME="MainLexicon1" VALUE="remove.tlx,url,t">
    <PARAM NAME="MainLexicon2" VALUE="am.tlx,url,t">
    <PARAM NAME="MainLexicon3" VALUE="am100k2.clx,url,c">
    <PARAM NAME="MainLexicon4" VALUE="correct.tlx,url,t">

    It's important that the remove.tlx file is listed as MainLexicon1 and that the original MainLexiconN entries are numbered consecutively in their original order, starting at 2.

 


Home Site index Contact us Catalog Shopping Cart Products Support Search


Copyright © 2015 Wintertree Software Inc.