'word2vec' not found

1 view (last 30 days)
Salad Box
Salad Box on 12 Oct 2020
Answered: Sohini Sarkar on 14 Oct 2020
Hi
I'm using 2018b and 'text analytics toolbox' appears in my toolbox list.
However, when I type
>> which word2vec
'word2vec' not found.
Why is that?
Can I or can I not use 'word2vec' function?
If yes, how to use it in this case?
Please advise.
Many thanks.
  1 Comment
Ameer Hamza
Ameer Hamza on 12 Oct 2020
word2vec was introduced in R2017b, so it should be available in your MATLAB. Does the text analytics toolbox appears in the list when you run
ver

Sign in to comment.

Accepted Answer

Sohini Sarkar
Sohini Sarkar on 14 Oct 2020
word2vec is a method of wordEmbedding. It appears once you construct a wordEmbedding in the current matlab session, e.g.
>> which word2vec
% nothing
>> emb = wordEmbedding("foo",1);
>> which word2vec
% returns path to wordEmbedding, says word2vec is a method
The page has some links to examples that you can try out.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!