Commit ea3786db authored by 赵威's avatar 赵威

update import

parent b279dca2
import multiprocessing
import os import os
import time import time
...@@ -15,8 +16,6 @@ model_output_name = "w2v_model" ...@@ -15,8 +16,6 @@ model_output_name = "w2v_model"
model_path = os.path.join(model_dir, model_output_name) model_path = os.path.join(model_dir, model_output_name)
WORD2VEC_MODEL = word2vec.Word2Vec.load(model_path) WORD2VEC_MODEL = word2vec.Word2Vec.load(model_path)
import multiprocessing
class W2vSentences: class W2vSentences:
def __init__(self, f_name): def __init__(self, f_name):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment