# Analyze Text Sentiment

**Use case:** 

Submit one line or a text block. Get sentiment labels, confidence values, and a summary for the text.

## Input

```json
{
  "text": "The product is easy to use and the support team was helpful."
}
```

## Output

```json
{
  "lineCount": {
    "label": "Line count",
    "format": "integer"
  },
  "sentimentDistribution": {
    "label": "Sentiment distribution",
    "format": "object"
  },
  "lines": {
    "label": "Line results",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [Text Sentiment Analysis](https://apify.com/maximedupre/text-sentiment-analysis) with a specific input configuration. Visit the [Actor detail page](https://apify.com/maximedupre/text-sentiment-analysis) to learn more, explore other use cases, and run it yourself.