Skip to main content

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

Project description

https://badge.fury.io/py/chronogram.svg

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for chronogram, version 0.1.7
Filename, size File type Python version Upload date Hashes
Filename, size chronogram-0.1.7-cp35-cp35m-win32.whl (671.8 kB) File type Wheel Python version 3.5 Upload date Hashes View hashes
Filename, size chronogram-0.1.7-cp35-cp35m-win_amd64.whl (1.2 MB) File type Wheel Python version 3.5 Upload date Hashes View hashes
Filename, size chronogram-0.1.7-cp36-cp36m-win32.whl (671.8 kB) File type Wheel Python version 3.6 Upload date Hashes View hashes
Filename, size chronogram-0.1.7-cp36-cp36m-win_amd64.whl (1.2 MB) File type Wheel Python version 3.6 Upload date Hashes View hashes
Filename, size chronogram-0.1.7-cp37-cp37m-win32.whl (671.8 kB) File type Wheel Python version 3.7 Upload date Hashes View hashes
Filename, size chronogram-0.1.7-cp37-cp37m-win_amd64.whl (1.2 MB) File type Wheel Python version 3.7 Upload date Hashes View hashes
Filename, size chronogram-0.1.7.tar.gz (830.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page