Sentiment analyzis.

This commit is contained in:
2025-07-21 12:59:32 +02:00
parent e80978681a
commit f95ab82a4a
7 changed files with 123 additions and 76 deletions

11
setup_nltk.py Normal file
View File

@@ -0,0 +1,11 @@
import nltk
# This will download the 'vader_lexicon' dataset
# It only needs to be run once
try:
nltk.data.find('sentiment/vader_lexicon.zip')
print("VADER lexicon is already downloaded.")
except LookupError:
print("Downloading VADER lexicon...")
nltk.download('vader_lexicon')
print("Download complete.")