This content has been archived.

Table of Contents

Creating rules that support text analysis of social media data

With the NLP Sample application, you can analyze text on social media websites such as Facebook, Twitter, and YouTube to obtain business intelligence that can improve the services that you offer to your customers. To analyze that text, you must configure a data set rule, a text analyzer rule, and a data flow rule.

  1. Create and configure a data set of type Facebook, Twitter or YouTube.
    You can also use one of the sample data sets (FBDataset, TwitterDS, or YouTubeDS) that are delivered with NLP Sample ruleset, but you must change its access details. These data sets do not work with the sample access details and can cause errors.
  2. Create and configure an instance of the text analyzer rule that performs text analysis of the records from the source data set. You can use the sample rule named FTModels that is provided by the NLP Sample application.
  3. Create a data flow that references the text analyzer and processes the text-based content from the data set.


    Example data flow for text analysis

  4. On the Data Flows landing page, create and activate a data flow run to start processing text from Facebook, Twitter, or YouTube.

You have created and configured the rules that support text analytics in the Pega 7 Platform and started a data flow that includes a text analyzer to extract and analyze text-based content from social media. You can now access the NLP Sample portal to view all analyzed records one by one or generate text analytics reports that provide a visual overview of analyzed data.

Next step: Viewing and analyzing text analytics data from social media

Suggest Edit

Related Content

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.