v1shal commited on
Commit
1a2e35e
·
verified ·
1 Parent(s): 97ea67b

Update approach_library/utils/topic_extraction.py

Browse files
approach_library/utils/topic_extraction.py CHANGED
@@ -5,8 +5,9 @@ import string
5
  import nltk
6
 
7
  # Download necessary NLTK resources
8
- nltk.download("stopwords")
9
- nltk.download("punkt")
 
10
 
11
  def preprocess_text(text_data):
12
  """
 
5
  import nltk
6
 
7
  # Download necessary NLTK resources
8
+ nltk.download('all')
9
+ nltk.download('stopwords')
10
+ nltk.download('punkt_tab')
11
 
12
  def preprocess_text(text_data):
13
  """