Skip to main content


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

Configuring language detection preferences

Updated on July 5, 2022

You can control how a text analyzer detects languages in the analyzed document. For example, you can enable a fallback language in case your text analyzer does not detect the language when analyzing content that is written in multiple languages.

  1. In the Records panel, click DecisionText Analyzer.
  2. Click the Advanced tab.
  3. Perform any of the following actions:
    • To automatically detect the language of a piece of text, go to step 4.

      This is the default option.

    • To manually specify the language of a piece of text, skip to step 5.

      You can use this option when analyzing documents that are written in multiple languages or contain a lot of noise that could interfere with language detection, such as emoticons, URLs, and so on.

  4. To enable the language auto detection feature:
    1. In the Language settings section, select Automatically detect language.
    2. Optional: Select Enable fallback language if language undetected and specify the language that the system falls back to in case no language is detected.
    3. Use the language metadata tag ( lang: ) of the incoming records for language detection by selecting Language detected by publisher.
    4. Go to step 7.
  5. To always assign a specific language to the analyzed text, perform the following actions:
    1. Select Specify language.
    2. Select a language from the drop-down list.
    3. Go to step 7.
  6. To use the language metadata tag (lang:) of the incoming records for language detection, perform the following actions:
    1. Select the Language detected by publisher radio button.
    2. Go to step 7.
  7. Click Save.

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