Loading...
Loading...
Analyze text content using both traditional NLP and LLM-enhanced methods. Extract sentiment, topics, keywords, and insights from various content types including social media posts, articles, reviews, and video content. Use when working with text analysis, sentiment detection, topic modeling, or content optimization.
npx skill4agent add liangdabiao/claude-data-analysis-ultra-main content-analysispip install pandas numpy matplotlib seaborn nltk scikit-learn wordcloudpip install openai dashscope # For OpenAI and Qwen API accessimport nltk
nltk.download('vader_lexicon')
nltk.download('punkt')
nltk.download('stopwords')# Analyze Twitter posts for brand sentiment
# Identify trending topics and hashtags
# Measure engagement patterns# Analyze video titles and descriptions
# Extract topics from comments
# Identify viral content patterns# Analyze customer feedback sentiment
# Extract product feature mentions
# Identify improvement opportunitiesbasic_content_analysis.pyllm_enhanced_analysis.pysocial_media_analysis.py# OpenAI Configuration
import openai
openai.api_key = 'your-api-key'
# Qwen Configuration
import dashscope
dashscope.api_key = 'your-api-key'