Chinese short text classifier for sentiment analysis
Top 78.4% on sourcepulse
This repository provides a Chinese text classifier for short product reviews, primarily for sentiment analysis. It offers a range of models achieving over 90% accuracy, targeting developers and researchers working with Chinese e-commerce data.
How It Works
The classifier implements several deep learning architectures, including Transformer, word2vec combined with TextCNN, FastText, and recurrent networks (LSTM/GRU) with Attention mechanisms. This multi-model approach allows for flexibility and comparison, with word embeddings pre-trained on a large dataset to capture semantic meaning.
Quick Start & Requirements
pip install tensorflow==2.0
.data/goods_zh.txt
), labeled as 0 (negative) or 1 (positive).Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The project is built on TensorFlow 2.0, which is an older version. The README does not specify the license, which may impact commercial use.
3 years ago
Inactive