Skip to content
Snippets Groups Projects
Commit 409dbdfb authored by Franck Dary's avatar Franck Dary
Browse files

Corrected error in program name : w2v -> word2vec

parent 2b062198
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ if __name__ == "__main__" :
splited = os.path.splitext(pathToFile)
target = splited[0] + ".w2v"
if which("w2v") is None :
if which("word2vec") is None :
exit(0)
p = subprocess.Popen("word2vec -cbow 0 -size %s -window 10 -negative 5 -hs 0 -sample 1e-1 -threads 2 -binary 0 -iter 15 -min-count 2 -train %s -output %s"%(embeddingsSize, pathToFile, target), stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment