---
schema_version: "1"
id: cbd9befcfd677b6e4220ea70fade819b04f2dad2e7f9f88ffc5f481d2ad3d548
title: Detect Sentiment in Unstructured Text
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/analytics/264-0-0/bi_edd_story_sentiment.md
canonical_url: https://help.salesforce.com/s/articleView?id=analytics.bi_edd_story_sentiment.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ba5f02512a6b347adbaa3c8157111f77ccdf3cbc49fde1821aec321fa225f07b
description: Process unstructured data during model creation and categorize sentiment as positive, negative, or neutral.
products:
  - CRM Analytics
  - Cross Cloud
release: "264"
---
# Detect Sentiment in Unstructured Text

Process unstructured data during model creation and categorize sentiment as positive, negative, or neutral.

### Required Editions

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/images/icon_note.png)

Note Einstein Discovery stories are now models. We wish we could snap our fingers to update the name everywhere, but you can expect to see the previous name in a few places until we replace it.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in Salesforce Classic and Lightning Experience.</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available with CRM Analytics, which is available for an extra cost in <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions. Also available in <strong>Developer</strong> Edition.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
          <colgroup>
            <col style="width:50%">
            <col style="width:50%">
          </colgroup>
          <thead class="slds-text-title_caps ">
            <tr class="">
              <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d115097e52">User Permissions Needed</th>
            </tr>
          </thead>
          <tbody>
            <tr class="">
              <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d115097e52 ">To configure text fields in a model:</td>
              <td class="slds-cell-wrap" style="vertical-align:top;" headers="d115097e52 ">Create and Update Einstein Discovery Models</td>
            </tr>
          </tbody>
        </table>

1. In Model Setup, select a variable that contains unstructured data, such as comments, and click **Sentiment Analysis** from the **Transform** dropdown menu.
    
    ![Model sentiment.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/bi/images/bi/bi_edd_story_sentiment.png)
2. Click **Update Model**. Return to Model Setup after the update is complete.
    
    ![Sentiment analysis results.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/bi/images/bi/bi_edd_story_sentiment_3.png)
3. You can adjust bucket names by clicking **Edit Buckets** then the pencil to update the name.
    
    ![Editing bucket names.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/bi/images/bi/bi_edd_story_sentiment_2.png)
4. Uncheck bucketed sentiments and use the dropdown menu to exclude sentiments from the model or store them into an “Other” category.