Chrono-gram, the diachronic word embedding model based on Word2vec Skip-gram with Chebyshev approximation
Project description
Chrono-gram is a diachronic word embedding model based on SGNS(word2vec Skip-gram with Negative Sampling) with Chebyshev approximation.
Getting Started
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.
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
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
Built Distributions
Hashes for chronogram-0.1.7-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a89d18f2540dffdc59aa7d59307ea8797712422b593a8c373808c06da501794 |
|
MD5 | a1cfd78ffc657d06b29445e998f53960 |
|
BLAKE2b-256 | 2aea29ff2c9fe7fc68afb89bf5e4be239028ba7677801d113a30102e18ae83be |
Hashes for chronogram-0.1.7-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7b1c0baa6d4b9294ef1da5ec9bb00b9bafef0c225173218c76e735ff90aa83f |
|
MD5 | 426d4e23562cfaaea1ef8363f2803784 |
|
BLAKE2b-256 | a3315b23d4f4e2cbf8c3eca128e73b548d183e1a08bba6b659ece7c6b26fabe8 |
Hashes for chronogram-0.1.7-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b792db63224f6a70b5df8c5bcab6b9d4173faf5dfbd2ad9b66349c3aff7bef5 |
|
MD5 | 314a487a4a5b56ca686f970e1da35ab5 |
|
BLAKE2b-256 | df3c228e691feed4542a87b9d73fc99f46d4dc1ebd0d2600e26d86745d1d39f6 |
Hashes for chronogram-0.1.7-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd5b6b5d797ab0bc0e897f5643548c90d1b83598f88ef09fff42b411468086be |
|
MD5 | 7d5ec7a8d2b3107eaad7f6057a669889 |
|
BLAKE2b-256 | 6f772225e3e63ef443008131bc743d53f04ca19c8c92d44867ac7210095dc3bc |
Hashes for chronogram-0.1.7-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4423bbbf5102b4868ece80740610969207b28d0c272daed62efb6435d149140 |
|
MD5 | 6fa458bb64da7b2f9329ae95a11529f8 |
|
BLAKE2b-256 | 966aa395f05b5a7ff6287ffd397915a7df5e3864ea4382f0571e0371b6c48969 |
Hashes for chronogram-0.1.7-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5de96451cd942ec695ea759fb2d1aed68e7dc60b8418e681d6ed00a4a8431ac8 |
|
MD5 | 2c174fec93208e021937c4823b766f05 |
|
BLAKE2b-256 | 91320d130fdb4253c1217f35fba2fbf40d2a3b559bd96fcb7e4cc0576cecb6f7 |