Autocorrecting user input

Autocorrection fixes misspellings that users make in their requests. Corrected words are used to match to an action or an intent.

Autocorrection corrects user input in the following way:

  • Original input: letme applt for a memberdhip
  • Corrected input: let me apply for a membership

When your assistant evaluates whether to correct the spelling of a word, it does not rely on a simple dictionary lookup process. Instead, it uses a combination of natural language processing and probabilistic models to assess whether a term is, in fact, misspelled and should be corrected.

By default, autocorrection is enabled in all assistants that use English. However, it is disabled by default in all assistants that use French. You can enable or disable Autocorrection by going to Global settings > Autocorrection.

Autocorrection is not available for search integration in your assistant and for assistant languages other than English and French.

Disabling autocorrection

If necessary, you can disable autocorrection for your assistant.

If you find that a domain-specific term is being corrected that shouldn't be, you can prevent the correction from happening by adding the term or phrase to your training data. For more information, see Autocorrection rules.

If you are using actions in your assistant, follow these steps to disable autocorrection:

  1. On the Actions page, click Global settings Gear icon.

  2. Click the Autocorrection tab.

  3. Set the switch to Off, then click Save.

Autocorrection rules

To avoid overcorrection, your assistant does not correct the spelling of the following types of input:

  • Capitalized words
  • Words with an uppercase character
  • Emojis
  • Locations, such as states and street addresses
  • Numbers and units of measurement or time
  • Proper nouns, such as common given names or company names
  • Text within quotation marks
  • Words containing special characters, such as hyphens (-), asterisks (*), ampersands (&), or at signs (@), including those used in email addresses or URLs.