Upload 17 files

#12
by awinml - opened
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')