Skip to content

mschneider1711/tiktok-sentiment-stance-analysis-energytransition-photovoltaic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TikTok Sentiment and Stance Analysis

This project analyzes TikTok videos related to energytransition and photovoltaics, specifically focusing on stance and sentiment analysis of comments and videos.

image

How to use

  1. Clone the repository.
  2. Install the dependencies:
    pip install -r requirements.txt
  3. Run the scripts in the following order:

Data Collection

  1. fetch_tiktok_videos.py
  2. fetch_tiktok_comments.py

Preprocessing

  1. preprocess_texts.py
  2. filter_videos.py

Analysis

  1. sentiment_analysis.py
  2. stance_detection.py
  3. stance_detection_comments.py
  4. extract_comments_stats.py
  5. analyse_critics.py

Visualization

  1. visualize_sentiment_and_stance.py
  2. plot_engagement_over_stance.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages