WebSpellChecker.net Wiki

User Dictionary Instruction

User Dictionaries provide each user of WebSpellChecker.net application the ability to create his own dictionary and use it across multiple sites that utilize WebSpellChecker.net spell checker. Initially User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on the server.

User Dictionary in SpellCheckAsYouType

Create User Dictionary

1. Open SCAYT User Dictionary dialog box from editor toolbar or with context menu.

2. In the Dictionary name box, enter a User Dictionary name

3. Click Create

Rename User Dictionary

  1. Open SCAYT User Dictionary dialog box
  2. In the Dictionary name box, enter a new User Dictionary name
  3. Click Rename

Restore User Dictionary

This functionality is intended to restore the dictionary in case user has changed workstation (or browser). If user has already setup the dictionary and is going to restore another dictionary he should follow these steps:

  1. Open SCAYT User Dictionary dialog box
  2. In the Dictionary name box, enter the name of stored User Dictionary
  3. Click Restore

Delete User Dictionary

  1. Open SCAYT User Dictionary dialog box
  2. In the Dictionary name box, enter the name of current User Dictionary
  3. Click Delete

User Dictionary in WebSpellChecker

Create User Dictionary

1. Open WebSpellChecker window.

2. Click Options.

3. In the Dictionary name box, enter a User Dictionary name

4. Click Create

Rename User Dictionary

  1. Open WebSpellChecker window.
  2. Click Options.
  3. In the Dictionary name box, enter a new User Dictionary name
  4. Click Rename

Restore User Dictionary

This functionality is intended to restore the dictionary in case user has changed workstation (or browser). If user has already setup the dictionary and is going to restore another dictionary he should follow these steps:

  1. Open WebSpellChecker window.
  2. Click Options.
  3. In the Dictionary name box, enter the name of stored User Dictionary
  4. Click Restore

Delete User Dictionary

  1. Open WebSpellChecker window.
  2. Click Options.
  3. In the Dictionary name box, enter the name of current User Dictionary
  4. Click Delete

User Dictionary configuration in Licensed WebSpellChecker.net solution

The Licensed Version of WebSpellChecker provides the ability for end users to create user dictionaries , remove and update them through user interface as described above.

User interface provides the ability to add necessary words. Please refer to basic description of user interface above.

When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary will be stored on the server in the following location:

<installation_folder>\WebSpellChecker\AppServer\userdict

Licensed customers have main advantage, they can operate with user dictionary directly. Basically , you just need to go to the mentioned above location, open a corresponding file and modify it according to your needs. In such way licensed customers can remove necessary words from the dictionary.

In order to embed specific user dictionary to the web application, the following code should be added to editor’s initialization code:

  • SCAYT plug-in for CKEditor
CKEDITOR.config.scayt_userDictionaryName = "MyUserDictionaryName";
  • WSC plug-in for CKEditor
CKEDITOR.config.wsc_userDictionaryName = "MyUserDictionaryName";
  • SCAYT plug-in for TinyMCE
scayt_user_dic_name: "MyUserDictionary"
  • WSC plug-in for TinyMCE
wsc_userDictionaryName: "MyUserDictionary"