awinml commited on
Commit
2806209
1 Parent(s): a7fc504

Upload 17 files (#12)

Browse files

- Upload 17 files (6f943b96302d2d64b66e376ddb6a944ba4cc4dea)

utils/entity_extraction.py CHANGED
@@ -1,4 +1,5 @@
1
  import re
 
2
  from nltk.stem import PorterStemmer, WordNetLemmatizer
3
 
4
  # Keyword Extracttion
 
1
  import re
2
+ import nltkmodules
3
  from nltk.stem import PorterStemmer, WordNetLemmatizer
4
 
5
  # Keyword Extracttion
utils/nltkmodules.py ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import nltk
2
+
3
+ nltk.download('wordnet')
4
+ nltk.download('punkt')