Correcting identified languages

To train Pega Email Bot to detect the correct language in emails, select the language for a training record, and then build a text analytics model for the system. Correcting the detected language in training data ensures that the email bot selects the right languages to perform text analysis of emails.

Before you begin: Enable the recording of training data. For more information, see Enabling the training data recording for an email bot.
  1. In the header of Dev Studio, click the name of the application, and then click Channels and interfaces.
  2. In the Current channel interfaces section, click the icon that represents your existing Email channel.
  3. On the Email channel configuration page, click the Training data tab.
  4. Optional: If you configure multiple languages for the email bot, to filter data records by a language, in the Language list, select a language.
    For example: To display data records only detected in the English language, select English.
  5. In the list of training records, select a data record.
    Result: The NLP analysis section displays the detected language for the training data record.
  6. In the NLP analysis section, in the Language list, select a language.
  7. Optional: To use this training record to improve the artificial intelligence of your email bot, in the Review training data section, click Mark reviewed.
    Create at least 15 records in the training sample so that the system learns how to detect the right information in emails.
  8. Optional: To correct the identified language in additional training records, repeat steps 4 through 7.
    You can also manually create a sample training data record in the email bot. For more information, see Creating training data manually for an email bot.
  9. Click Save.
What to do next: Teach the email bot the reviewed and corrected training records by rebuilding the text analytics model. For more information, see Applying changes to a text analytics model for an email bot.