Description Usage Arguments Value
Compares the pairs pairwise regarding their semantic attributes. Returns a vector of semantic similarity
1 | semantic.similarity(data, column1, column2, pythonpath, method)
|
data |
A dataframe of pairs |
column1 |
The column name containing the semantics for the first entity |
column2 |
The column name containing the semantics for the second entity |
pythonpath |
The path where the python file is saved |
method |
The method for the semantic similarity; choose between path (Path similarity), and wup (Wu&Palmer) |
sim A vector of semantic similarities
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.