The ASPELL element instructs the MDEX Engine to correct queries using the Aspell dictionary.
Aspell is a phonetic spelling dictionary that corrects only English-like words, that includes letters A through Z but excludes accented letters and numbers. The English-like set includes a large subset of words in languages other than English, for example German and Spanish. If desired, you can set the LANGUAGES attribute to restrict corrections to English only.
<!ELEMENT ASPELL EMPTY>
<!ATTLIST ASPELL
LANGUAGES CDATA ""
>
The following section describes the ASPELL element's attribute.
LANGUAGES
Specifies a two-character language code that restricts spelling correction to a particular language. For the ASPELL element, the meaningful value of this attribute is en for English. If no value is provided, Aspell corrects using relevant English-like words.
The ASPELL element has no sub-elements.
This example uses the Aspell dictionary to correct English queries but not queries in other languages.
<SPELL_CONFIG>
<SPELL_ENGINE>
<ASPELL LANGUAGES="en"/>
</SPELL_ENGINE>
</SPELL_CONFIG>