Format all code.
This commit is contained in:
@@ -3,9 +3,9 @@ import nltk
|
||||
# This will download the 'vader_lexicon' dataset
|
||||
# It only needs to be run once
|
||||
try:
|
||||
nltk.data.find('sentiment/vader_lexicon.zip')
|
||||
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.")
|
||||
nltk.download("vader_lexicon")
|
||||
print("Download complete.")
|
||||
|
Reference in New Issue
Block a user