Using AI big models to analyze user comments, achieve tag classification and sentiment judgment.
Install
File
Label
AI
Run
Example
git clone https://github.com/xyjw/comment_analysis.git && cd comment_analysis
pip install -r requirements.txtPut the xlsx file in the data folder. XLSX files are used to save comment.
The column name of the comment must contain the keyword 'content'.
For Example

Open label.txt to set labels. The data format of the tag is JSON.
For Example

Open api.txt to set AI's apikey.
There is a certain amount of free credit available daily using openrouter.ai.
For Example

python main.py