-
First, you should download wiki2vec model (English Wikipedia) using a torrent as described on this link: https://github.com/idio/wiki2vec -- untar it at a preferred location and note it.
-
Clone this repository, open main.py in scripts/ subdirectory and modify embedding_path variable to the aforementioned wiki2vec model location.
-
Using python3.5+, pip3 install required libraries in requirements.txt.
-
pip install the program Duke as
pip3 install git+https://github.com/NewKnowledge/duke
-
Identify a dataset of interest, and specify its path in main.py (via dataset_path variable).
-
Finally, run it as follows, and enjoy the magic:
python3 main.py