Skip to main content


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

Configuring preprocessing models in text predictions

Updated on July 5, 2022

To identify the body, disclaimer, and signature components of emails in an email channel, you can configure a preprocessing model in the text prediction, for example, the default pxEmailParser rule. You can choose what type of analysis to perform on each email component, depending on your business needs.

  1. Open the text prediction:
    1. In the navigation pane of App Studio, click Channels.
    2. In the Current channel interfaces section, click the icon that represents a channel for which you want to configure the text prediction.
    3. On the channel configuration page, click the Behavior tab, and then click Open text prediction.
  2. In the Prediction workspace, click the Settings tab, and scroll down to the Preprocessing model section.
  3. In the Model field, select the preprocessing model that you want to use to parse email text.
    The default text analytics rule that is available in this field is pxEmailParser. This email parser supports several languages. For more information, see Out-of-the-box text analytics models.
  4. In the Datatype field, specify the content that you want to analyze:
    • To analyze the email without attachments, select Body.
    • To analyze the attachments, select Attachment.
    • To analyze both the email and the attached text, select All.
  5. In the Email section analysis section, select what type of analysis to perform on each email component, depending on your business needs.
    The email parser analyzes the email content (body, attachment, or both) and detects the following email components:
    Body
    Contains the main message of an email.
    Disclaimer
    Holds a legal notice or warning, for example, a copyright or confidentiality disclaimer. Usually, placed after the signature.
    Signature
    Contains a sign-off message, the sender's name, contact details, and similar information. Usually, placed at the end of an email.
    Email parser configuration in a text prediction
    The p x Email Parser rule is selected as the preprocessing model for a text prediction
    For example: You can choose to perform topic and sentiment analysis on the body of your emails, and entity detection on the body and signature.
  6. Click Save.
  • Previous topic Configuring sentiment settings in text predictions
  • Next topic Configuring postprocessing activities in text predictions

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