GithubHelp home page GithubHelp logo

langyabang-to-vectors's Introduction

[任务描述] 用word2vec训练《琅琊榜》原文

[运行环境] python 2.7.12

[python工具库] gensim

[中文分词工具] jieba

[结果]

1.与'梅长苏'最近的20个词,以及对应的相似度:

萧景睿 0.968078196049

蒙挚 0.966683149338

梁帝 0.929431796074

靖王 0.903002500534

言豫津 0.901788711548

静妃 0.865059733391

一下 0.855262994766

着 0.854094266891

一面 0.846623063087

谢弼 0.844158530235

以目 0.838224709034

起来 0.83473688364

怔 0.831710100174

笑 0.830497562885

眼睛 0.829304218292

忙 0.829288244247

瞪 0.826557993889

立即 0.820895552635

黎纲 0.819191932678

飞流 0.818755149841

2.similarity

similarity(梅长苏,霓凰):0.776951

similarity(梅长苏,飞流):0.818755

langyabang-to-vectors's People

Contributors

xlsay avatar

Watchers

 avatar

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.