Enforced Corrections

The Enforced corrections file allows you to force certain words to return specific spell checking results.

This is particularly useful for automatically changing user's usage of inappropriate verbiage - and also to curtail the use of confusing Acronyms.

Activating Enforced Corrections

To turn Enforced Corrections on, change the variable setting_UseEnforcedCorrectionsFile to true in the settings file.


Modifying the Enforced Corrections File

The Enforced Corrections file is found at /ASPSpellCheck/International/EnforcedCorrections.txt
The file is delimited language by language

Example usage of custom.txt:

ENGLISH
USA--> United States Of America || United States Army
IMHO-->In My Humble Opinion
============================
DANSK
============================
DEUTSCH
============================
ESPANOL
============================
FRANCAIS
============================
ITALIANO
============================
NEDERLANDS
============================
PORTUGUES
============================
SVENSKA

In the above example:

  • The word USA will automatically suggest "United States Of America" and "United States Army"
  • The word IMHO will automatically suggest "In My Humble Opinion"