# linguishi/chinese_sentiment

中文情感分析，CNN，BI-LSTM，文本分类

Repository: https://github.com/linguishi/chinese_sentiment
Canonical: https://ross.abutalabs.com/products/chinese_sentiment
Language: Python
License Family: other
Last push: 2022-10-22T15:43:21+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2817, "days_push": 1411, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1086, forks 124 (observed 2026-08-28T04:03:32.170507+00:00)

## What it is
A Chinese sentiment analysis project implementing text classification with CNN and BI-LSTM models in TensorFlow. It includes data preparation scripts, pretrained Chinese word vector integration, and training/evaluation pipelines achieving roughly 90% accuracy on a hotel review corpus.

## Use cases
- classify chinese reviews as positive or negative
- train a cnn text classifier on chinese corpus
- train a bi-lstm sentiment model
- learn chinese sentiment analysis with tensorflow
- run text classification with pretrained chinese word vectors
- segment chinese text with jieba for classification

## When to choose
- you need a reference implementation of CNN or BI-LSTM for Chinese text classification
- you want to learn end-to-end Chinese NLP pipelines including tokenization, embeddings, and training
- you have a small labeled Chinese corpus in the expected format and want a quick baseline

## When to avoid
- you need production-ready sentiment analysis with modern transformer models
- you require a maintained library with a stable API or license
- you work outside Python 3.6 / TensorFlow 1.x environments
- you need multilingual or non-Chinese sentiment analysis

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: nlp, machine-learning, deep-learning
- domain: machine-learning, deep-learning
- platform: python
- tags: sentiment-analysis, text-classification, cnn, bilstm, chinese-nlp, tensorflow, word-embeddings, jieba, natural-language-processing

## Member repositories
- linguishi/chinese_sentiment (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:32.170507+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:49:31.882956+00:00, confidence not recorded.
  - readme: https://github.com/linguishi/chinese_sentiment (fetched 2026-08-28T04:03:32.170507+00:00, sha ea72e45b7b69)
- Data as of 2026-08-30T08:39:29.467469+00:00.
