Chrono-gram is a diachronic word embedding model based on SGNS(word2vec Skip-gram with Negative Sampling) with Chebyshev approximation.
- Install using pip
$ pip install chronogram
C++11 or later requires a compilable compiler for installation on Linux or macOS.
- 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.
Here is a brief sample code. https://github.com/bab2min/chronogram/blob/master/example.py
Text Dating & Finding similar words using Chrono-gram