SpellChecker configuration options
The <options> section of SpellCfg.xml contains a number of options to tweak the spell-checking behavior of SpellChecker. Some on these options can also be set on a per-language basis.
| Option | Description | Default value | Also configurable per language? |
|---|---|---|---|
debugFile | Full path and name of an output file for diagnostic information | (empty string) | no |
suggestDepth | Depth of search for suggestions: 0 is fast but shallow, 100 is slow but deep. | 50 | no |
maxSuggest | Maximum number of suggestions to return for a misspelled word | 16 | no |
maxWordSize | SpellChecker will not spell-check words longer than this. | 81 | no |
defaultlLanguageID | The two-letter identifier of the default language to use for spell-checking. If unspecified, SpellChecker uses the language specified in the user's User Preferences. | (empty string) | no |
allowAccentedCaps | If disabled, SpellChecker considers a word with an accented capital letter, such as "Österreich" or "États -Unis", as incorrect. | 1 (enabled) | yes |
caseSensitive | If enabled, SpellChecker considers an incorrectly capitalized word, such as "femUr" or "chocolAte", as incorrect. | 1 (enabled) | yes |
ignoreAllCapsWord | If enabled, SpellChecker considers all words in all caps, such as "YMCA" or "SDL", as correct. | 0 (disabled) | yes |
ignoreCappedWord | If enabled, SpellChecker considers all words with an initial capital, such as "Tridion" or "Ingrid", as correct. | 0 (disabled) | yes |
ignoreDomainName | If enabled, SpellChecker considers a word that appears to be a URL, e-mail address or domain name as correct. | 0 (disabled) | yes |
ignoreHtmlMarkups | If enabled, SpellChecker considers a piece of HTML markup, such as "<br/>", as correct. | 0 (disabled) | yes |
ignoreMixedCase | If enabled, SpellChecker considers a word with mixed case, such as "SpellChecker" or "eBay", as correct. | 0 (disabled) | yes |
ignoreMixedDigits | If enabled, SpellChecker considers a word that contains digits, such as "7up" or "DE435E", as correct. | 0 (disabled) | yes |
ignoreNonAlphaWord | If enabled, SpellChecker considers a word that contains no alphabetic characters, such as "#23462" or "907-4582-534", as correct. | 1 (enabled) | yes |
reportDoubledWord | If enabled, SpellChecker reports two occurrences of the same word in sequence, such as "This is the the problem" or "I knew that that would work". | 0 (disabled) | yes |
reportMixedCase | If enabled, SpellChecker reports words with an unusual mixed case sequence, such as "TUesday". | 0 (disabled) | yes |
reportMixedDigits | If enabled, SpellChecker reports words that contain digits, such as "4ever" or "HAR4". | 1 (enabled) | yes |
reportUncapped | If enabled, SpellChecker reports all-lowercase occurrences of words that only exist in capitalized form in its dictionaries. For example, if the dictionary contains only "Japan", "japan" is reported. | 0 (disabled) | yes |
splitContractedWords | If enabled, SpellChecker considers words with an apostrophe as separate words; if disabled, it disregards the apostrophe. | 0 (disabled) for all languages except French and Italian | yes |
splitHyphenatedWords | If enabled, SpellChecker considers a hyphenated word (say, "multi-user") as a series of words to check individually ("multi" and "user"); if disabled, it checks the hyphenated word as a whole. | 1 (enabled) | yes |
splitWords | If enabled, SpellChecker will attempt to see a word (say, "Fahrvergnügen" as a concatenation of words ("Fahr" and "Vergnügen") to check individually. | 0 (disabled) for all languages except German and Finnish | yes |
stripPossessives | If enabled, SpellChecker removes possessive suffixes 's and s' before spell-checking the word. | 1 (enabled) | yes |
suggestPhonetic | If enabled, SpellChecker uses phonetic matching when searching for suggestions (suggesting, say, "phoneme" for "foneme"). This option is ignored for all languages except English. | 0 (disabled) | yes |
suggestSplitWords | If enabled, SpellChecker attempts to split an unknown word (say, "thecomet") into two known words ("the" and "comet") and offers the two-word sequence as a suggestion. | 1 (enabled) | yes |
suggestTypographical | If enabled, SpellChecker uses typographic matching when searching for suggestions (suggesting, say, "flick" for "fiick"). | 1 (enabled) | yes |