Giter Club home page Giter Club logo

Comments (3)

jsksxs360 avatar jsksxs360 commented on June 3, 2024

这也许是编码的问题,可能你把这个项目的编码设置为 UTF-8 就可以运行了。
code

from word2vec.

paomo30000 avatar paomo30000 commented on June 3, 2024

vec.loadGoogleModel("/Google_word2vec_zhwiki1710_300d.bin");这只是加载了模型,请问语料库怎么加载呢?还是不需要加载?我的意思是运行这个程序有没有前提条件?

from word2vec.

jsksxs360 avatar jsksxs360 commented on June 3, 2024

加载好模型后就可以获取到模型中包含词语的词向量,从而计算相似度等操作。只是用户的部分词语可能没有被包含在使用通用语料训练出的默认模型中,所以可以用自己的语料训练模型,训练方法可以参见《训练 Google 版模型》

from word2vec.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.