Skip to content

Instantly share code, notes, and snippets.

Tyler Angert tangert

Block or report user

Report or block tangert

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
tangert /
Last active Oct 15, 2019 — forked from quadrismegistus/
Function to align any number of word2vec models using Procrustes matrix alignment.
# Code originally ported from HistWords <> by William Hamilton <>.
def align_gensim_models(models, words=None):
Returns the aligned/intersected models from a list of gensim word2vec models.
Generalized from original two-way intersection as seen above.
Also updated to work with the most recent version of gensim
Requires reduce from functools
You can’t perform that action at this time.