返回 Skill 列表
extension
分类: 数据与分析无需 API Key

Sentinel Mood

使用 NLTK 和 VADER 分析文本的情感与情绪基调,用于评估用户情绪、检测紧迫性或分析内容基调。

person作者: numbpill3dhubclawhub

Sentinel Mood

A lightweight sentiment analysis skill powered by NLTK's VADER (Valence Aware Dictionary and sEntiment Reasoner). It is specifically tuned for social media texts, conversational language, and short updates.

Capabilities

  • Analyze Sentiment: Get positive, negative, neutral, and compound scores for any text.
  • Detect Tone: (Implicit) Infer tone based on polarity scores.

Usage

User: "Analyze the sentiment of this message: 'I love how this project is turning out, great job!'" Agent: [Runs skill] -> Returns sentiment scores (e.g., compound: 0.8, pos: 0.6).

Technical Details

This skill uses a Python script (analyze.py) that imports nltk.sentiment.SentimentIntensityAnalyzer.

Dependencies

  • Python 3
  • nltk library (pip install nltk)
  • vader_lexicon (downloaded via nltk.downloader)

Implementation

The skill executes a python script that takes text as an argument and outputs JSON.