twec icon indicating copy to clipboard operation
twec copied to clipboard

Training Temporal Word Embeddings with a Compass

Results 5 twec issues
Sort by recently updated
recently updated
newest added

Bumps [wheel](https://github.com/pypa/wheel) from 0.32.1 to 0.38.1. Changelog Sourced from wheel's changelog. Release Notes UNRELEASED Updated vendored packaging to 22.0 0.38.4 (2022-11-09) Fixed PKG-INFO conversion in bdist_wheel mangling UTF-8 header values...

dependencies

Bumps [pip](https://github.com/pypa/pip) from 18.1 to 21.1. Changelog Sourced from pip's changelog. 21.1 (2021-04-24) Process Start installation scheme migration from distutils to sysconfig. A warning is implemented to detect differences between...

dependencies

from twec.twec import TWEC from gensim.models.word2vec import Word2Vec def train(): aligner = TWEC(size=30, siter=10, diter=10, workers=4) aligner.train_compass("examples/training/compass.txt", overwrite=False) slice_one = aligner.train_slice("examples/training/arxiv_14.txt", save=True) slice_two = aligner.train_slice("examples/training/arxiv_9.txt", save=True) def test(): model1 =...

Hi, thank you for this package! I have just run twec on my data and all has worked well however: It is unclear on how to access metrics relating to...

Add a method analogy(w1, t1, t2) to resolve a temporal analogy w1 : t1 = x : t2.