Robin-WZQ/Text-sentiment-polarity-judgment

基于规则、基于朴素贝叶斯、基于逻辑回归进行文本情感极性分析判断(酒店评论语料)

34
/ 100
Emerging

Implements three complementary approaches—rule-based scoring using sentiment/negation/degree lexicons, Naive Bayes statistical classification, and PyTorch deep learning—achieving 68.7%, 88.7%, and 91.2% accuracy respectively on hotel review corpora. The rule-based method constructs sentiment scores through lexicon lookups with negation handling and degree modifier weighting, while handling Chinese text preprocessing via jieba/HanLP tokenization and careful stopword filtering. Provides comparative analysis across multiple sentiment dictionaries (BosonNLP, HowNet) and evaluation metrics (precision, recall, F-score).

No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 7 / 25
Maturity 16 / 25
Community 11 / 25

How are scores calculated?

Stars

36

Forks

4

Language

Python

License

MIT

Last pushed

May 07, 2023

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/nlp/Robin-WZQ/Text-sentiment-polarity-judgment"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.