23
23
import time
import random
import nltk
from nltk.sentiment import SentimentIntensityAnalyzer
import tkinter as tk
from tkinter import messagebox
# Initialize SentimentIntensityAnalyzer
sia = SentimentIntensityAnalyzer()
# Function to display an animation in the terminal (not needed in GUI but kept for completeness)
def show_animation():
for i in range(35):
sys.stdout.write("\r" + animation[i % len(animation)])
sys.stdout.flush()
time.sleep(0.1)