Skip to main content


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

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.

Creating rules that support text analysis of social media data

Updated on September 6, 2017

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.

    Data_Flow

    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

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