Chrono-gram, the diachronic word embedding model based on Word2vec Skip-gram with Chebyshev approximation


Keywords
NLP, Word2vec, Word, Embedding, python-library, wordembeddings
License
MIT
Install
pip install chronogram==0.1.0

Documentation

Chrono-gram

Chrono-gram is a diachronic word embedding model based on SGNS(word2vec Skip-gram with Negative Sampling) with Chebyshev approximation.

Getting Started

  1. Install using pip
$ pip install chronogram

C++11 or later requires a compilable compiler for installation on Linux or macOS.

  1. Compile from sources

Download this repository and run commands following:

$ python setup.py build

Eigen 3.0 or later(http://eigen.tuxfamily.org/index.php?title=Main_Page) is needed to compile.

Python API

Here is a brief sample code. https://github.com/bab2min/chronogram/blob/master/example.py

Demo

Text Dating & Finding similar words using Chrono-gram

https://lab.bab2min.pe.kr/chronogram