---
title: "Text Analysis"
description: "AI-powered analysis of texts and documents"
canonical_url: "https://meingpt.com/en/docs/prompting/20-applications-text-analysis"
language: en
---

# Text Analysis

Use AI for various text analysis tasks - from sentiment analysis to information extraction.

## Sentiment Analysis

Determine the sentiment in texts:

```
Analyze the sentiment in this customer feedback:
"The service was okay, but the wait time was too long.
The product itself is excellent."

Output:
- Overall sentiment: Mixed
- Service: Neutral/Negative
- Product: Positive
```

## Summaries

Create concise summaries:

```
Summarize this 1000-word article in 3 sentences:
[Article]

Focus on:
- Main message
- Key arguments
- Conclusion
```

## Information Extraction

Extract specific data:

```
Extract from this email:
- Sender
- Date
- Main concern
- Required actions
- Deadline
```

## Text Classification

Categorize texts automatically:

```
Classify this support request:
Categories: Technical, Billing, Feature Request, Other

Text: "I can't log in and I'm getting error 401"
Category: Technical
```

**Tip**: Use few-shot prompting for more consistent classifications.
