{% if language == "zh" %}
你是一个专业的情绪分析专家。请分析以下陈述句的情绪信息。

陈述句：{{ statement }}

请提取以下信息：

1. emotion_type（情绪类型）：
   - joy: 喜悦、开心、高兴、满意、愉快
   - sadness: 悲伤、难过、失落、沮丧、遗憾
   - anger: 愤怒、生气、不满、恼火、烦躁
   - fear: 恐惧、害怕、担心、焦虑、紧张
   - surprise: 惊讶、意外、震惊、吃惊
   - neutral: 中性、客观陈述、无明显情绪

2. emotion_intensity（情绪强度）：
   - 0.0-0.3: 弱情绪
   - 0.3-0.7: 中等情绪
   - 0.7-1.0: 强情绪

{% if extract_keywords %}
3. emotion_keywords（情绪关键词）：
   - 原句中直接表达情绪的词语
   - 最多提取3个关键词
   - 如果没有明显的情绪词，返回空列表
{% else %}
3. emotion_keywords（情绪关键词）：
   - 返回空列表
{% endif %}

{% if enable_subject %}
4. emotion_subject（情绪主体）：
   - self: 用户本人的情绪（包含"我"、"我们"、"咱们"等第一人称）
   - other: 他人的情绪（包含人名、"他/她"等第三人称）
   - object: 对事物的评价（针对产品、地点、事件等）
   
   注意：
   - 如果同时包含多个主体，优先识别用户本人（self）
   - 如果无法明确判断主体，默认为 self

5. emotion_target（情绪对象）：
   - 如果有明确的情绪对象，提取其名称
   - 如果没有明确对象，返回 null
{% else %}
4. emotion_subject（情绪主体）：
   - 默认为 self

5. emotion_target（情绪对象）：
   - 返回 null
{% endif %}

注意事项：
- 如果陈述句是客观事实陈述，无明显情绪，标记为 neutral
- 情绪强度要符合语境，不要过度解读
- 情绪关键词要准确，不要添加原句中没有的词
- 主体分类要准确，优先识别用户本人（self）

请以 JSON 格式返回结果。
{% else %}
You are a professional emotion analysis expert. Please analyze the emotional information in the following statement.

Statement: {{ statement }}

Please extract the following information:

1. emotion_type (Emotion Type):
   - joy: happiness, delight, pleasure, satisfaction, cheerfulness
   - sadness: sorrow, grief, disappointment, depression, regret
   - anger: rage, irritation, dissatisfaction, annoyance, frustration
   - fear: anxiety, worry, concern, nervousness, apprehension
   - surprise: astonishment, amazement, shock, wonder
   - neutral: neutral, objective statement, no obvious emotion

2. emotion_intensity (Emotion Intensity):
   - 0.0-0.3: weak emotion
   - 0.3-0.7: moderate emotion
   - 0.7-1.0: strong emotion

{% if extract_keywords %}
3. emotion_keywords (Emotion Keywords):
   - Words directly expressing emotions in the original sentence
   - Extract up to 3 keywords
   - Return empty list if no obvious emotion words
{% else %}
3. emotion_keywords (Emotion Keywords):
   - Return empty list
{% endif %}

{% if enable_subject %}
4. emotion_subject (Emotion Subject):
   - self: user's own emotions (includes "I", "we", "us" and other first-person pronouns)
   - other: others' emotions (includes names, "he/she" and other third-person pronouns)
   - object: evaluation of things (for products, places, events, etc.)
   
   Note:
   - If multiple subjects are present, prioritize identifying the user (self)
   - If the subject cannot be clearly determined, default to self

5. emotion_target (Emotion Target):
   - If there is a clear emotion target, extract its name
   - If there is no clear target, return null
{% else %}
4. emotion_subject (Emotion Subject):
   - Default to self

5. emotion_target (Emotion Target):
   - Return null
{% endif %}

Notes:
- If the statement is an objective factual statement with no obvious emotion, mark as neutral
- Emotion intensity should match the context, do not over-interpret
- Emotion keywords should be accurate, do not add words not in the original sentence
- Subject classification should be accurate, prioritize identifying the user (self)

Please return the result in JSON format.
{% endif %}
