Sa-m commited on
Commit
2e83a41
1 Parent(s): c1b5220

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,5 +1,6 @@
1
  # -*- coding: utf-8 -*-
2
- """# MANIFESTO ANALYSIS
 
3
 
4
  ## IMPORTING LIBRARIES
5
  """
@@ -20,6 +21,8 @@ from nltk.tokenize import word_tokenize,sent_tokenize
20
  from nltk.corpus import stopwords
21
  from nltk.stem.porter import PorterStemmer
22
  from nltk.stem import WordNetLemmatizer
 
 
23
  from tika import parser
24
  from nltk.corpus import stopwords
25
  from nltk.tokenize import word_tokenize
 
1
  # -*- coding: utf-8 -*-
2
+ """
3
+ # MANIFESTO ANALYSIS
4
 
5
  ## IMPORTING LIBRARIES
6
  """
 
21
  from nltk.corpus import stopwords
22
  from nltk.stem.porter import PorterStemmer
23
  from nltk.stem import WordNetLemmatizer
24
+ import tika
25
+ tika.initVM()
26
  from tika import parser
27
  from nltk.corpus import stopwords
28
  from nltk.tokenize import word_tokenize