README ¶ Word Mover Distance Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func Wmd(d1, d2 []string, m *w2v.Model) (float64, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Wmd ¶ func Wmd(d1, d2 []string, m *w2v.Model) (float64, error) returns the word-move-distance between the given two words slice if one of the words slice doesn't have any word in the model then this function returns math.Inf(1). Types ¶ This section is empty. Source Files ¶ View all Source files wmd.go Click to show internal directories. Click to hide internal directories.