# Compare Sentiment in Text

**Use case:** 

Submit text to compare positive, negative, and neutral lines. The dataset shows a confidence value for each line, plus counts and shares.

## Input

```json
{
  "text": "The new workflow is reliable and fast.\nThe export is slow and disappointing."
}
```

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