Install
openclaw skills install chinese-nlp-toolkitSpecialized natural language processing for Chinese text. Covers segmentation (jiaba), sentiment analysis, keyword extraction, text summarization, tone detection, readability scoring, and format conversion (simplified/traditional, pinyin annotation). Use when processing, analyzing, or transforming Chinese text content.
openclaw skills install chinese-nlp-toolkitProcess and analyze Chinese text with specialized NLP capabilities.
Chinese has no word boundaries. Segmentation is the foundation of all Chinese NLP.
Approach: Use rule-based heuristics when no library is available:
Common Ambiguities:
| Text | Wrong Split | Correct Split |
|---|---|---|
| 雨伞 | 雨/伞 | 雨伞 (compound) |
| 结婚的和尚未结婚的 | 结婚/的/和尚/未/结婚/的 | 结婚/的/和/尚未/结婚/的 |
| 项目部 | 项目/部 | 项目部 (compound) |
Beyond positive/negative — Chinese sentiment is nuanced:
Intensity levels: 强烈负面 < 偏负面 < 中性 < 偏正面 < 强烈正面
Chinese-specific signals:
Emoji contribution (critical for social media):
For Chinese text, prioritize:
Method: TF-IDF adapted for Chinese + positional weighting (first/last sentences carry more weight in Chinese writing).
Chinese-specific rules:
Rate Chinese text on a 1-10 scale considering:
| Score | Level | Target Audience |
|---|---|---|
| 1-3 | Easy | General public |
| 4-6 | Moderate | Educated readers |
| 7-8 | Hard | Domain experts |
| 9-10 | Very Hard | Academic specialists |
| Conversion | Example |
|---|---|
| Simplified → Traditional | 体验 → 體驗 |
| Traditional → Simplified | 體驗 → 体验 |
| Chinese → Pinyin | 你好 → nǐ hǎo |
| Chinese → Zhuyin | 你好 → ㄋㄧˇ ㄏㄠˇ |
原文:[original text]
分词:[segmented text with / separators]
关键词:[top 5-10 keywords with relevance scores]
情感:[sentiment label + confidence + key signals]
摘要:[summarized text]
可读性:[score/10 + brief explanation]