harshithakr commited on
Commit
c0258a8
·
1 Parent(s): b374550

Update topics_extraction.py

Browse files
Files changed (1) hide show
  1. topics_extraction.py +3 -3
topics_extraction.py CHANGED
@@ -38,9 +38,9 @@ tag_similarModel_path = "word2vec.model" #config['path']['tag_similar_model'] #w
38
  tag_trigram_path = "tri_phrases.txt"#config['path']['tag_trigram'] # trigram phraser
39
  tag_bigram_path = "bi_phrases.txt"#config['path']['tag_bigram'] # bigram phraser
40
 
41
- tag_similarModel = Word2Vec.load(tag_similarModel_path)
42
- tag_trigram_phraser = Phraser.load(tag_trigram_path)
43
- tag_bigram_phraser = Phraser.load(tag_bigram_path)
44
 
45
  # load stopword file
46
  file2 = open("stopwords_tag.txt", "r+")
 
38
  tag_trigram_path = "tri_phrases.txt"#config['path']['tag_trigram'] # trigram phraser
39
  tag_bigram_path = "bi_phrases.txt"#config['path']['tag_bigram'] # bigram phraser
40
 
41
+ tag_similarModel = Word2Vec.load("word2vec.model")
42
+ tag_trigram_phraser = Phraser.load("tri_phrases.txt")
43
+ tag_bigram_phraser = Phraser.load("bi_phrases.txt")
44
 
45
  # load stopword file
46
  file2 = open("stopwords_tag.txt", "r+")