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.0769
Best Wu-Palmer
0.4
Best LCH
1.0726
Taxonomy vs. Usage
model2vec potion-base-8MWordNet (taxonomy) · Wu-Palmer
0.4
Where the words sit in WordNet's hand-built hierarchy.
Embedding (usage patterns) · Cosine
0.4243
How similarly the words are used in real text.
Moderately related
Neither view finds a strong link, but neither treats them as unrelated.
Synset Pair Comparisons
6 pairs analyzed
doctor_of_the_church.n.01
vs
hospital.n.01
Path
0.0769
WuP
0.4
LCH
1.0726
Def 1:
(Roman Catholic Church) a title conferred on 33 saints who distinguished themselves through the orthodoxy of their theological teaching
Def 2:
a health facility where patients receive treatment
doctor.n.01
vs
hospital.n.01
Path
0.0714
WuP
0.381
LCH
0.9985
Def 1:
a licensed medical practitioner
Def 2:
a health facility where patients receive treatment
doctor.n.03
vs
hospital.n.02
Path
0.0714
WuP
0.2353
LCH
0.9985
Def 1:
children take the roles of physician or patient or nurse and pretend they are at the physician's office
Def 2:
a medical institution where sick or injured people are given medical or surgical care
doctor_of_the_church.n.01
vs
hospital.n.02
Path
0.0667
WuP
0.125
LCH
0.9295
Def 1:
(Roman Catholic Church) a title conferred on 33 saints who distinguished themselves through the orthodoxy of their theological teaching
Def 2:
a medical institution where sick or injured people are given medical or surgical care
doctor.n.01
vs
hospital.n.02
Path
0.0625
WuP
0.1176
LCH
0.865
Def 1:
a licensed medical practitioner
Def 2:
a medical institution where sick or injured people are given medical or surgical care
doctor.n.03
vs
hospital.n.01
Path
0.0588
WuP
0.1111
LCH
0.8044
Def 1:
children take the roles of physician or patient or nurse and pretend they are at the physician's office
Def 2:
a health facility where patients receive treatment