cnsenti
A Python library for sentiment and emotion analysis on Chinese texts, using Hownet and DLUT dictionaries.
Overview
What is cnsenti?
cnsenti is a Python library designed to perform sentiment analysis and emotion analysis on Chinese texts. It uses default dictionaries like Hownet for sentiment and DLUT for emotion, supporting 7 emotion categories such as happy, sad, and hate. It allows importing custom sentiment dictionaries and is intended for academic and research purposes.
What is cnsenti used for?

Top Features
- Sentiment analysis on Chinese texts
- Emotion analysis with 7 categories
- Custom dictionary support
- Easy installation via pip
How to use cnsenti?
Install via pip, import the Sentiment class, and use sentiment_count() method on Chinese text to get positive and negative word counts. Supports custom dictionaries and quick integration into Python projects.
Alternative Tools
Pros & Cons
Pros
- Free and open-source
- Supports academic research
- Customizable dictionaries
- Simple API
Cons
- Limited to Chinese language
- Requires Python environment
- No built-in GUI
Use Cases
- Academic research on Chinese sentiment
- Social media analysis
- Customer feedback processing
- Educational projects
cnsenti Pricing
User Reviews
No reviews yet
Be the first to review this tool!