Git Product home page Git Product logo

wordca's Introduction

Word Correspondence Analysis(WCA)

Distributed words epresentations using Correspondence Analysis

more description in https://arxiv.org/abs/1605.05087

demo

>>> pip3 install delayedsparse numba 
>>> git clone https://github.com/niitsuma/wordca
>>> cd wordca
>>> bash  demo.sh

Usage

CORPUS=text8
MIN_COUNT=5
WINDOW=24
VECTOR_SIZE=8000
bash tailcut.sh $CORPUS $MIN_COUNT $WINDOW $VECTOR_SIZE

wor2vec format result

text8-5-24-1-tailcut-8000.F.vec is the result in word2vec format. The computed result can be downloaded from http://www.suri.cs.okayama-u.ac.jp/~niitsuma/wordca/text8-5-24-1-tailcut-8000.F.vec.bz2

correspondence analysis result

text8-5-24-1-tailcut-8000.dca.npz contains various information about correspondence analysis. Plz see save and load function in https://github.com/niitsuma/delayedsparse/blob/master/delayedsparse/ca.py

License

@2018 Hirotaka Niitsuma.

You can use these codes olny for self evaluation. Cannot use these codes for commercial and academical use.

Author

Hirotaka Niitsuma.

@2018 Hirotaka Niitsuma.

wordca's People

Contributors

niitsuma avatar

Watchers

 avatar  avatar  avatar

Forkers

yingxiaoguo

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.