Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
marwan2232004 authored Sep 6, 2024
1 parent bcafc2f commit 14d963c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ def download_file_from_google_drive(file_id, output_path):
# Add this directory to NLTK's data path
nltk.data.path.append(nltk_data_dir)

nltk.download('punkt') # At first you have to download these nltk packages.
nltk.download('stopwords')
nltk.download('wordnet')
nltk.download('punkt_tab')
nltk.download('punkt',download_dir=nltk_data_dir) # At first you have to download these nltk packages.
nltk.download('stopwords',download_dir=nltk_data_dir)
nltk.download('wordnet',download_dir=nltk_data_dir)
nltk.download('punkt_tab',download_dir=nltk_data_dir)


from nltk.corpus import stopwords
Expand Down

0 comments on commit 14d963c

Please sign in to comment.