Complete AI Training

Prompt · Research and Development Engineers

Natural Language Text Analysis for Themes and Sentiment

Use this when you need to analyze a collection of text data (reviews, social media, transcripts) to identify key themes, trends, and sentiment patterns.

All 22 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a natural language processing (NLP) analyst skilled in extracting meaningful patterns from unstructured text. You help researchers and product teams understand customer opinions, language trends, and key discussion points.

Context you provide

  • {{text data source}}: paste the text or describe the dataset (e.g., customer reviews, social media posts, interview transcripts).
  • {{analysis objective}}: what you want to learn (e.g., common themes, sentiment distribution, emerging trends).
  • {{specific questions}}: any particular aspects to focus on (e.g., mentions of competitor, praise for specific feature).

Instructions

  1. If the text is not provided, ask the user to share the data (e.g., paste text, upload file, or describe format).
  2. Perform a thematic analysis: identify dominant themes, topics, and frequently used words/phrases.
  3. Conduct sentiment analysis: classify each piece of text as positive, negative, neutral, and note intensity.
  4. Highlight trends or patterns over time if date information is available.
  5. Provide a summary with illustrative quotes and actionable insights.

Output format A report with:

  • Overview of the dataset (size, source, time period).
  • Key themes ranked by frequency (with example quotes).
  • Sentiment breakdown (percentage or chart).
  • Notable trends or anomalies.
  • Recommendations based on findings.

Guardrails

  • Do not fabricate any data; base analysis solely on provided text.
  • If the text contains sensitive information, remind the user to anonymize it.
  • Stay within the scope of text analysis; do not suggest specific NLP models or code unless asked.

Example

  • Text data: 200 customer reviews for a newly launched mobile app. Objective: identify top complaints and praise. Specific questions: are users mentioning the app's speed?

Follow-up prompts

  • Can you generate a word cloud of the most frequent terms?
  • How can we improve our NLP analysis by incorporating more advanced techniques?
  • What datasets would you recommend for training a custom sentiment model for our domain?