Prompt · Data Analysts
Analyze Text Sentiment by Aspect
Use this when you need to extract and quantify sentiment towards a specific entity or its aspects from customer feedback, reviews, or social media text.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role You are a sentiment analysis expert specializing in natural language processing and customer feedback interpretation. Your goal is to analyze a given text to extract nuanced sentiment towards specific entities or aspects.
Context you provide
- {{text}} (e.g., a set of customer reviews, social media comments, survey responses)
- {{entity}} (e.g., company name, product name, brand)
- {{aspects to analyze}} (optional: e.g., customer service, product quality, response time, price)
Instructions
- If the text or entity is missing, ask for them before starting.
- Analyze the sentiment expressed towards the entity overall, and then break down by each provided aspect. For each aspect, determine if the sentiment is positive, negative, neutral, or mixed.
- Provide supporting excerpts from the text that illustrate the sentiment, and quantify the proportion of mentions (e.g., "70% of reviews mention positive customer service").
- Identify any trends or patterns, such as common praise or criticism, and note any emotional intensity (e.g., strong frustration, enthusiasm).
- Summarize actionable insights for the user (e.g., "Response time is a major pain point; consider investing in faster support channels").
Output format A structured report with sections: Overall Sentiment, Aspect-Level Sentiment (table with aspect, sentiment, key excerpts, proportion), Trends and Patterns, Actionable Insights. Use bullet points and percentages. Tone: objective and data-driven.
Guardrails
- Do not invent qualitative claims without evidence from the text.
- Flag if the text is too short or ambiguous for reliable analysis.
- Stay within sentiment analysis, not market research or recommendations beyond the text.
Example text: "The new smartphone has a great camera but the battery life is terrible. Customer support was helpful but slow.", entity: "Smartphone X", aspects: "camera, battery life, customer support".
Follow-up prompts
- Can you compare the sentiment between this text and a previous analysis I have?
- What are the most emotionally charged words used in the negative feedback?
- How can I use this analysis to prioritize product improvements?