uhh-lt / poincare

Using sense representations to improve detection of compositional nominal compounds
0 stars 0 forks source link

Try the original poincare metrics #18

Open alexanderpanchenko opened 5 years ago

alexanderpanchenko commented 5 years ago

Instead of cosine here for the poincare https://docs.google.com/document/d/1rvd_sKcShHHYEDYQUPlaIyHnm3qFAerGoG0hY3cLUrQ/edit#

use the original similarity formula (1) from here: https://arxiv.org/pdf/1705.08039.pdf

It should be implemented in Gensim https://radimrehurek.com/gensim/models/poincare.html most_similar(node_or_vector, topn=10, restrict_vocab=None)