# Sentiment Analysis

One of the standout applications of Natural Language Processing is **Sentiment Analysis**, a technique designed to discern and analyze the emotional tone expressed in textual data. Sentiment Analysis goes beyond mere language processing; it dives into the realm of understanding sentiments—whether positive, negative, or neutral—embedded in written expressions. This invaluable tool finds relevance across diverse industries, aiding businesses in gauging customer feedback, measuring public opinion on social media, and making data-driven decisions. As we navigate the digital landscape, Sentiment Analysis emerges as a pivotal component in unraveling the intricacies of human communication, offering insights that go beyond the surface of mere words.

**Steps**

1. In NLP & NLG section within PredictEasy.
2. Select the Sentiment Analysis option within the NLP & NLG tools.
3. Identify the independent variable (X) containing the text data for sentiment analysis.
4. Define the output column where you want the sentiment analysis results to be displayed.
5. Initiate the sentiment analysis process by clicking on the sentiment button.
6. Once the analysis is complete, you've indicated with positive, negative, and neutral sentiments along with the corresponding counts and also it is appended to next to each row.

**Output:**

<figure><img src="/files/fy9rT9CzuZHf5Hn7Okhg" alt="" width="265"><figcaption></figcaption></figure>

<figure><img src="/files/60Uo1wXXtbSJ57PkRtWx" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.predicteasy.com/nlp/sentiment-analysis.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
