简体   繁体   English

如何使用word2vec?

[英]How to use word2vec?

I have to make lexical graph with words within a corpus. 我必须用语料库中的单词制作词法图。 For that, I need to make a program with word2vec. 为此,我需要使用word2vec编写程序。

The thing is that I'm new at this. 问题是我是新手。 I've tried for 4 days now to find a way to use word2vec but I'm lost. 我已经尝试了4天,以找到一种使用word2vec的方法,但我迷路了。 My big problem is that I don't even know where to find the code in Java (I heard about deeplearning but I couldn't find the files on their website), how to integrate it in my project... 我的大问题是,我什至不知道在Java的代码中找到哪里(我听说过深度学习,但是在他们的网站上找不到文件),如何将其集成到我的项目中...

One of the easiest way to embody the Word2Vec representation in your java code is to use deeplearning4j , the one you have mentioned. 在Java代码中体现Word2Vec表示形式的最简单方法之一就是使用deeplearning4j ,您已经提到过。 I assume you have already seen the main pages of the project. 我认为您已经看过该项目的主页。 For what concerns the code, check these links: 有关代码的内容,请检查以下链接:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM