Giter Club home page Giter Club logo

word2vec-gensim-sample's Introduction

word2vec-gensim-sample

Tutorial for Word2Vec.

Run Docker

  1. build image
    $ docker build -t word2vec:1.0 .
  2. run container
    $ docker run -it -p 8888:8888 -v ~/Desktop/word2vec-gensim-sample:/home word2vec:1.0

More info about docker
https://github.com/naogify/python3-mecab-neologd-dockerfile/blob/master/README.md

Getting Started

dockerにログイン後、ディレクトリ移動。 $ cd home/

分かち書き実行

$ python3 wakati.py
kokoro.txt に対して分かち書きを実行。kokoro_wakati.txt を生成。

モデル生成

$ python3 make_model.py

結果確認

$ python3 result.py

word2vec-gensim-sample's People

Contributors

naogify 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.