Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Text Analytics Model detects incorrect language



Pega 7.2 is updated to Pega 7.4.
The Text Analytics Model, imported from Pega 7.2 or built from the start in Pega 7.4, detects incorrect text language and the Topic Detection fails to detect any category.

Error Messages

Not Applicable

Steps to Reproduce

  1. Log in to Pega 7.4.
  2. Launch the Analytics Center portal.
  3. Click Create > Text Categorization to create a new model.
  4. Select the following options:

    Detection Type - Topic
    Set Creation - New Model
    Set Language - English

  5. Click Start.
  6. Upload the Taxonomy file and the Training dataset provided by the user.
  7. Select the below options to generate the model.

    - Uniform Sampling 
    - Support Vector Machine

  8. Open the generated model and click Test.
  9. Provide the sample text as below and click Test.

    Topic Detection Preference - Always use rule based topic detection
    Granularity - Sentence level
    The model run result detects incorrect language and the Topic Detection returns no categories.

Root Cause

An issue in the custom application code or rules. 
Taxonomy functionality was implemented post Pega 7.2 to provide more accuracy to Text Analysis. The issue occurred because the Taxonomy file was not defined for the model.


Perform the following local-change if the Taxonomy file is not defined:

Upload a dummy Taxonomy file and run the model. For better accuracy from the model, refine the Taxonomy file.

Published March 30, 2019 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration 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 Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us