【发布时间】:2019-10-17 18:34:21
【问题描述】:
我使用 SpaCy 的预训练模型“en_core_web_lg”来查找一组值和属性之间的余弦距离。我想可视化一个词与另一个词的接近程度,非常类似于聚类。
Here is the link to the table which contains similarity scores for each value vs attribute
这里的列是我试图找到相似度分数的属性,而行是我试图找到最有可能被分类的属性的值
This is the output i am trying to achieve. Please take a look at it
【问题讨论】:
-
你检查过什么吗? spacy.io/universe/project/whatlies
标签: python-3.x nlp spacy word-embedding