Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Language is not detected

Updated on May 17, 2024

If you notice that the system does not properly detect the language of incoming emails or chat messages, use the following tips to resolve the problem.

Cause

The following causes might prevent the system from detecting the language properly:

  • The expected language might not be enabled for natural language processing (NLP) in Prediction Studio settings.
  • The analyzed text might too short. For example, when you analyze texts in similar languages, a small sample might not provide sufficient data for the NLP engine to detect the language correctly.

Solution

  1. Depending on the number of languages that you use, perform one of the following actions to get the expected output:
    OptionsActions
    Using a single language

    In the text prediction settings, specify the language that you want to use.

    The default setting in the text prediction is to detect the language automatically. If you are using this text prediction to detect a single language, and the language is not detected, you can configure the text prediction to detect a specific language.

    For more information, see Configuring language settings in text predictions.

    Using multiple languages
    1. Check whether the language that you are expecting is enabled for NLP in the Prediction Studio settings.
      Note: This setting is system-wide, which means that it applies to all applications in your system.
      For more information, see Enabling languages for NLP.
    2. Check whether the analyzed text is long enough.
      Language detection might not work properly on a short piece of text. The text should be at least three sentences long. For example, if you are using an email channel, the email body should contain a lengthy text of at least three sentences for the language to be detected properly.
  • Previous topic Email parser does not detect the body, signature, or disclaimer
  • Next topic Running out of memory when using NLP

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us