MonkeyLearn

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 the “Settings” icon on the left navigation panel.
    2. Click on Extensions 
    3. Click on the + New 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, hover over Text Intelligence and click on + Add Extension.
    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, follow the steps given below:

    1. Create a new entry for a content type.

      Note: The content type should be within the scope of the widget.

    2. Click on the  “Widgets” icon located at the top right side of the page, and select Text Intelligence from the drop-down menu.
    3. A sidebar appears where you can use the widget.
    4. From the Select Model drop-down, select an option of your choice. For example, Keyword Extraction. This model helps you extract highly relevant SEO keywords from the given text
    5. From the Field drop-down, select the field (e.g. Body).
    6. Click Run. This will display the results as shown below.

Was this article helpful?

Thanks for your feedbackSmile-icon

On This Page

^