MonkeyLearn | Classic

The Text Intelligence (powered by MonkeyLearn) widget lets you analyze the content of an entry and provide actionable insights/recommendations using machine learning technologies. This widget uses MonekyLearn APIs to analyze data and recommend ideas.

This widget (powered by MonkeyLearn) offers a wide variety of text intelligence options that let you get more out of your content. Some of the things that you can do with the widget are listed below:

  • Keyword Extraction: This option extracts important keywords from the given text. This is especially helpful if you want highly-relevant SEO keywords for your entry.
  • Retail Classifier: It recommends tags (or categories) based on the given text. This is useful in the case for e-commerce or retail shopping sites.
  • Sentiment Analysis: This option can tell you if the given text expresses sentiments that are positive, negative, or neutral.

And, there are a lot more such tools (known as models).

This widget is available as a prebuilt template that you can configure instantly. This step-by-step guide explains how to install and use the Text Intelligence prebuilt widget.

  1. Add Text Intelligence Widget to your stack

    To add the Text Intelligence widget to your stack, log in to your Contentstack account and perform the following steps:
    1. Go to your stack and click on CONTENT at the header.
    2. Hover over the “Settings” gear icon and click on Extensions 
    3. Click on the + Add Extension button on the top-right corner and select Use Prebuilt.
      Select Use Prebuilt.png
    4. Click the filter drop-down field, and select Custom Widget.
      Select Custom Widget from dropdown.png
    5. From the list of prebuilt widgets, select Text Intelligence and click on Add.
    6. You will see the widget configuration page, where most details of the fields would be pre-filled. Enter details in the fields as given below:
      • Title: Provide a suitable title. For example, "Monkeylearn AI."
      • Hosting method: The method should be Hosted on Contentstack for this widget.
      • Extension Source Code: In this field, you need to enter the extension code. Download the source code for the extension.
      • Config Parameters: Provide your MonkeyLearn token in pace of the "your_token_here" value.
            "token": "abcd12345d8efg0180011h4i4jkle37890xyz"
      • Scope: Select which content types this widget will be available for. You can choose All Content Types or Specific Content Types.
    7. Click Save. This will create your custom widget.
  2. Use this widget in entries

    To use the Text Intelligence widget in any entry, log in to your Contentstack account and perform the following steps:

    1. Click on the content type for which you have enabled the custom widget, and click on an entry.
    2. Click on the Widgets drop-down located at the top and select Monkeylearn AI.
    3. The widget sidebar appears on the right and displays options where you can use the widget.
    4. From the Select Model drop-down, select any model of your choice. In this example we select Retail Classifier
    5. From the Field drop-down, select the field (e.g. Body).

      Note: Global Fields and Reference fields will not be considered.

    6. Click Run. This will display the results as shown below.

Was this article helpful?

Thanks for your feedbackSmile-icon

On This Page