Open topic with navigation

# Check Spelling for Question Equivalence Rules

Answer Server can check the spelling of the rules you submit to the `TestRule` action. When you configure this, a corrected rule might be returned in the `spellchecked_rule` element of the response. This correction is not used by the Answer Bank system (Answer Server always uses the rule that you supply), but if appropriate you can resend the action with the corrected rule.

To check spelling you must have an IDOL Content component that contains a large amount of indexed documents. With a sufficiently large amount of data spelling errors can be identified.

To check spelling

1. Open your configuration file in a text editor.

2. Create a new section in the configuration file and configure a spelling checker. You can give the section any name. Set the following parameters:

   `Type` | The type of component to use to check spelling. Set this parameter to `Content`.
   `Host` | The host name or IP address of the machine hosting the IDOL Content component.
   `ACIPort` | The ACI port of the IDOL Content component.
   `LanguageType` | The value to use for the `LanguageType` parameter, in `Query` actions sent to the IDOL Content component.

   For example:

       [MySpellingChecker]
       Type=Content
       Host=localhost
       ACIPort=12345
       LanguageType=englishUTF8

   For more information about these configuration parameters, refer to the Answer Server Reference.

3. Find the configuration section for the Answer Bank system. In this section, set the configuration parameter `SpellcheckEngine` to the name of the section that you created in the previous step. For example:

       [MyAnswerBankSystem]
       SpellcheckEngine=MySpellingChecker

4. Restart Answer Server for your configuration changes to take effect.

© Copyright 2015-2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm