Semantic Similarity
Compare Word Similarity
Similarity Metrics
Path Similarity
Based on the shortest path between synsets in the hypernym/hyponym taxonomy. Range: 0-1 (1 = identical).
Wu-Palmer (WuP)
Considers depth of LCS (Least Common Subsumer) and depths of the two synsets. Range: 0-1.
Leacock-Chodorow (LCH)
Based on shortest path and maximum depth of taxonomy. Only for same POS. Higher = more similar.
Embedding Cosine
Learned from how words are used in real text, not from a hand-built taxonomy. Captures association as well as meaning. Range: -1 to 1.
Best Path Similarity
0.1111
Best Wu-Palmer
0.3333
Best LCH
1.4404
Taxonomy vs. Usage
model2vec potion-base-8MWordNet (taxonomy) · Wu-Palmer
0.3333
Where the words sit in WordNet's hand-built hierarchy.
Embedding (usage patterns) · Cosine
0.2223
How similarly the words are used in real text.
Unrelated
Both views agree that these words have little to do with each other.
Synset Pair Comparisons
3 pairs analyzed
bank.n.01
vs
river.n.01
Path
0.1111
WuP
0.3333
LCH
1.4404
Def 1:
sloping land (especially the slope beside a body of water)
Def 2:
a large natural stream of water (larger than a creek)
bank.n.03
vs
river.n.01
Path
0.1
WuP
0.3077
LCH
1.335
Def 1:
a long ridge or pile
Def 2:
a large natural stream of water (larger than a creek)
depository_financial_institution.n.01
vs
river.n.01
Path
0.0769
WuP
0.1429
LCH
1.0726
Def 1:
a financial institution that accepts deposits and channels the money into lending activities
Def 2:
a large natural stream of water (larger than a creek)