import streamlit as st st.title("๐Ÿ“Š Data Collection & Preprocessing") st.markdown(""" ### ๐Ÿ” **YouTube Comment Extraction** โœ… Used **YouTube Data API v3** via the **requests** library and **API Key** authentication ๐Ÿ“น Extracted comments from 150+ video IDs across balanced sentiment categories: ๐ŸŸข **Positive:** "heartwarming reunion", "feel good moments" ๐Ÿ”ด **Negative:** "controversial incident", "bad customer experience" โšช **Neutral:** "tech reviews", "travel vlogs" ๐Ÿ“ˆ Gathered over **15,000** top-level comments using pagination (nextPageToken) ๐Ÿ’พ Data saved into a **JSON** format with keys: **video_id** and **comment** --- ### ๐Ÿงน **Text Preprocessing Steps** โœ… Removed HTML tags, emojis, special characters, and links ๐Ÿ”ก Converted text to lowercase ๐Ÿงฝ Removed stopwords and non-alphabetic tokens ๐Ÿง  Applied **tokenization** The cleaned text was used to train our **sentiment classifier** in the next step. --- """) if st.button("Next"): st.switch_page("pages/2_Model_Training.py") if st.button("Go to Home"): st.switch_page("app.py")