# Text Sentiment Analysis Tool

**Use case:** 

Submit a text block. Each line gets a positive, negative, or neutral label and confidence value; the dataset shows counts and shares.

## Input

```json
{
  "text": "The package arrived on time and the quality was excellent.\nThe instructions were confusing but the results were good."
}
```

## 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.