MATLAB Answers

'word2vec' not found

1 ビュー (過去 30 日間)
Salad Box
Salad Box 2020 年 10 月 12 日
回答済み: Sohini Sarkar 2020 年 10 月 14 日
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 件のコメント
Ameer Hamza
Ameer Hamza 2020 年 10 月 12 日
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

サインインしてコメントする。

採用された回答

Sohini Sarkar
Sohini Sarkar 2020 年 10 月 14 日
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.

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by