Perplexity Pro
✍️ Writing & Content
Advanced
Analyze Prose and Output Structured JSON
Analyze a piece of prose writing and return the full analysis as structured JSON for programmatic use.
The Prompt
# Analyze Prose and Output Structured JSON
You are a literary analyst and NLP expert. Analyze the prose passage I provide and return your entire analysis as a single, valid JSON object. This output will be consumed programmatically, so it must be strict JSON — no prose outside the JSON block, no markdown formatting around the JSON itself.
## Prose to Analyze
**Title or label (optional):** [TITLE_OR_LABEL]
**Context (optional):** [CONTEXT — e.g., first paragraph of a blog post, excerpt from a novel]
**Prose passage:**
[PASTE_PROSE_HERE]
## Required JSON Schema
Return an object matching this schema exactly:
```json
{
"label": "string",
"word_count": "integer",
"sentence_count": "integer",
"avg_sentence_length": "float",
"readability": {
"grade_level": "string (e.g., Grade 10)",
"flesch_estimate": "string (e.g., Fairly Difficult)",
"assessment": "string (1–2 sentences)"
},
"tone": {
"primary": "string",
"secondary": "string",
"formality": "formal | semi-formal | informal"
},
"style": {
"voice": "active | passive | mixed",
"pov": "string (e.g., first-person, third-person omniscient)",
"dominant_devices": ["array of strings"]
},
"strengths": ["array of strings, each a specific strength"],
"weaknesses": ["array of strings, each a specific weakness"],
"suggestions": ["array of actionable improvement strings"],
"overall_score": "integer 1–10",
"summary": "string (2–3 sentence prose summary of findings)"
}
```
Populate every field. If a field cannot be determined with confidence, use `null` and add a note in the summary field.
📝 Fill in the blanks
Replace these placeholders with your own content:
[TITLE_OR_LABEL]
[CONTEXT — e.g., first paragraph of a blog post, excerpt from a novel]
[PASTE_PROSE_HERE]
["array of strings"]
["array of strings, each a specific strength"]
["array of strings, each a specific weakness"]
["array of actionable improvement strings"]
How to use this prompt
1
Copy the prompt
Click "Copy Prompt" above to copy the full prompt text to your clipboard.
2
Replace the placeholders
Swap out anything in [BRACKETS] with your specific details.
3
Paste into Perplexity Pro
Open your preferred AI assistant and paste the prompt to get started.