AdaGram.jl
AdaGram.jl copied to clipboard
Distance calc
Added a function to calculate similarity between 2 sense vectors. cos_distance does almost this, but it needs the raw vectors as input.
similarity(vm::VectorModel, dict::Dictionary, w1::AbstractString, s1::Integer, w2::AbstractString, s2::Integer) takes the words as strings, as well as which senses (as integers) to calculate their similarity.