Skip to content

Latest commit

 

History

History
64 lines (54 loc) · 1.6 KB

File metadata and controls

64 lines (54 loc) · 1.6 KB

Comment Analysis

Using AI big models to analyze user comments, achieve tag classification and sentiment judgment.

Overview

Install
File
Label
AI
Run
Example

Install

git clone https://github.com/xyjw/comment_analysis.git && cd comment_analysis
pip install -r requirements.txt

File

Put 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

image

Label

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

image

AI

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

image

Run

python main.py

Example

image

image