Comments (3)
这也许是编码的问题,可能你把这个项目的编码设置为 UTF-8 就可以运行了。
from word2vec.
vec.loadGoogleModel("/Google_word2vec_zhwiki1710_300d.bin");这只是加载了模型,请问语料库怎么加载呢?还是不需要加载?我的意思是运行这个程序有没有前提条件?
from word2vec.
加载好模型后就可以获取到模型中包含词语的词向量,从而计算相似度等操作。只是用户的部分词语可能没有被包含在使用通用语料训练出的默认模型中,所以可以用自己的语料训练模型,训练方法可以参见《训练 Google 版模型》。
from word2vec.
Related Issues (10)
- 您好,请教个问题 HOT 8
- 怎么训练模型 HOT 2
- 关于里面的loadModel变量 HOT 1
- Exception in thread "main" java.lang.NoClassDefFoundError: org/ansj/recognition/Recognition at Hello.hello.main(hello.java:34) HOT 3
- 你好,能把项目放到Maven**仓库吗 HOT 1
- 句子相似度计算方法出处 HOT 1
- 如何训练java版的模型 HOT 1
- 适配其他国家的语言 HOT 2
- 请问这个可不可以适用于英文 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from word2vec.