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

Project details


Download files

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

Source Distribution

chronogram-0.1.7.tar.gz (830.5 kB view hashes)

Uploaded Source

Built Distributions

chronogram-0.1.7-cp37-cp37m-win_amd64.whl (1.2 MB view hashes)

Uploaded CPython 3.7m Windows x86-64

chronogram-0.1.7-cp37-cp37m-win32.whl (671.8 kB view hashes)

Uploaded CPython 3.7m Windows x86

chronogram-0.1.7-cp36-cp36m-win_amd64.whl (1.2 MB view hashes)

Uploaded CPython 3.6m Windows x86-64

chronogram-0.1.7-cp36-cp36m-win32.whl (671.8 kB view hashes)

Uploaded CPython 3.6m Windows x86

chronogram-0.1.7-cp35-cp35m-win_amd64.whl (1.2 MB view hashes)

Uploaded CPython 3.5m Windows x86-64

chronogram-0.1.7-cp35-cp35m-win32.whl (671.8 kB view hashes)

Uploaded CPython 3.5m Windows x86

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page