Thanks to visit codestin.com
Credit goes to github.com

Skip to content

xyjw/comment_analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages