This project analyzes TikTok videos related to energytransition and photovoltaics, specifically focusing on stance and sentiment analysis of comments and videos.
- Clone the repository.
- Install the dependencies:
pip install -r requirements.txt
- Run the scripts in the following order:
fetch_tiktok_videos.py
fetch_tiktok_comments.py
preprocess_texts.py
filter_videos.py
sentiment_analysis.py
stance_detection.py
stance_detection_comments.py
extract_comments_stats.py
analyse_critics.py
visualize_sentiment_and_stance.py
plot_engagement_over_stance.py