如何使用word2vec? [英] How to use word2vec?

查看:47
本文介绍了如何使用word2vec?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须用语料库中的单词制作词汇图.为此,我需要使用 word2vec 制作一个程序.

I have to make lexical graph with words within a corpus. For that, I need to make a program with word2vec.

问题是我是新手.我已经尝试了 4 天来找到一种使用 word2vec 的方法,但我迷路了.我的大问题是我什至不知道在哪里可以找到 Java 中的代码(我听说过深度学习,但我在他们的网站上找不到文件),如何将其集成到我的项目中...

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. 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 代码中体现 Word2Vec 表示的最简单方法之一是使用 deeplearning4j,你提到的那个.我假设您已经看过该项目的主要页面.有关代码的内容,请查看以下链接:

One of the easiest way to embody the Word2Vec representation in your java code is to use deeplearning4j, the one you have mentioned. I assume you have already seen the main pages of the project. For what concerns the code, check these links:

这篇关于如何使用word2vec?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆