We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你的例子猫和狗的相似度是0.0
The text was updated successfully, but these errors were encountered:
这也许是编码的问题,可能你把这个项目的编码设置为 UTF-8 就可以运行了。
Sorry, something went wrong.
vec.loadGoogleModel("/Google_word2vec_zhwiki1710_300d.bin");这只是加载了模型,请问语料库怎么加载呢?还是不需要加载?我的意思是运行这个程序有没有前提条件?
加载好模型后就可以获取到模型中包含词语的词向量,从而计算相似度等操作。只是用户的部分词语可能没有被包含在使用通用语料训练出的默认模型中,所以可以用自己的语料训练模型,训练方法可以参见《训练 Google 版模型》。
No branches or pull requests
你的例子猫和狗的相似度是0.0
The text was updated successfully, but these errors were encountered: