Poincare-Embedding-for-Hierarchical-Clustering.PyTorch
(NOT COMPLETE)
links.npy
already contains all the hypernym links i.e. shape=(num_samples, 2)
.
Run python data.py
if you would like to get the hypernym links from scratch.
Use noun_list = list(wn.all_synsets('n'))
as the dictionary to convert coded labels to synsets.