🎁 Get the FREE AI Skills Starter GuideSubscribe →
BytesAgainBytesAgain
🦀 ClawHub

NLP Text Analyzer

by @kaiyuelv

NLP文本分析器 - 支持分词、情感分析、关键词提取、文本分类等自然语言处理功能 | NLP Text Analyzer - Tokenization, sentiment analysis, keyword extraction, text classification

Versionv1.0.0
💡 Examples

from scripts.text_analyzer import TextAnalyzer

Initialize analyzer

analyzer = TextAnalyzer()

Chinese tokenization

text = "Natural language processing is an important AI branch" tokens = analyzer.segment(text) print(tokens)

Sentiment analysis

sentiment = analyzer.analyze_sentiment("This product is really amazing!") print(sentiment)

{'polarity': 0.95, 'subjectivity': 0.8}

Keyword extraction

keywords = analyzer.extract_keywords(text, top_k=5) print(keywords)

View on ClawHub
TERMINAL
clawhub install nlp-text-analyzer

🧪 Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

🔍 Can't find the right skill?

Search 60,000+ AI agent skills — free, no login needed.

Search Skills →