JuliaText / JuliaText/Word2Vec.jl

word2vec is not defined (Julia)

Open
#19 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
62
Forks
15
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the Julia example using Word2Vec and inspect src/interface.jl at line 73, the location named in the stack trace. Determine why the word2vec call is reported as undefined; done means the provided invocation works without this error and the behavior is covered by an appropriate package test.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.