word2vec is not defined (Julia)

Viewed 233

I'm getting an error that prevents me from using the word2vec function in Julia on a corpus.

Install.pkg("Word2Vec")

Code:

using Word2Vec
word2vec("text8","vec.txt",verbose=true)

Error Message:

ERROR: UndefVarError: word2vec not defined
Stacktrace:
 [1] word2vec(::String, ::String; size::Int64, window::Int64, sample::Float64, hs::Int64, negative::Int64, threads::Int64, iter::Int64, min_count::Int64, alpha::Float64, debug::Int644, binary::Int64, cbow::Int64, save_vocab::Nothing, read_vocab::Nothing, verbose::Bool) at C:\Users\15714\.julia\packages\Word2Vec\knfyL\src\interface.jl:73
 [2] top-level scope at none:1

Is anyone else having this problem?

2 Answers

the word2vec function is available only on linux and OS X.

Related