This repository contains several implementations of the Word Mover's Distance (WMD) as described in From Word Embeddings To Document Distances by Matt Kusner, Yu Sun, Nicholas Kolkin and Kilian Weinberger.
- Word Mover’s Distance.ipynb : The Jupyter Notebook containing the implementations and the explanations
- README.md : this file
- data/ : contains the test sentences used throughout the notebook
Just read through and follow the explanations.
The notebook is already precomputed, but you can rerun each cell at a time, if needed.