awinml commited on
Commit
6f943b9
1 Parent(s): a7fc504

Upload 17 files

Browse files
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')