allenchienxxx commited on
Commit
bf6dd5d
1 Parent(s): 0ccd279

Update analze.py

Browse files
Files changed (1) hide show
  1. analze.py +5 -5
analze.py CHANGED
@@ -17,14 +17,14 @@ except AttributeError:
17
  pass
18
  else:
19
  ssl._create_default_https_context = _create_unverified_https_context
20
- # nltk.download('stopwords')
21
- # nltk.download('punkt')
22
- # nltk.download('omw-1.4')
23
- # nltk.download('wordnet')
24
 
25
  def text_feature(file):
26
  text = get_text(file)
27
- print(text)
28
  if text != "":
29
  text = text.split()
30
  textlist = ' '.join(text)
 
17
  pass
18
  else:
19
  ssl._create_default_https_context = _create_unverified_https_context
20
+ nltk.download('stopwords')
21
+ nltk.download('punkt')
22
+ nltk.download('omw-1.4')
23
+ nltk.download('wordnet')
24
 
25
  def text_feature(file):
26
  text = get_text(file)
27
+ # print(text)
28
  if text != "":
29
  text = text.split()
30
  textlist = ' '.join(text)