semantic.similarity: Pairwise semantic similarity

Description Usage Arguments Value

Description

Compares the pairs pairwise regarding their semantic attributes. Returns a vector of semantic similarity

Usage

1
semantic.similarity(data, column1, column2, pythonpath, method)

Arguments

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)

Value

sim A vector of semantic similarities


suelai/skyex documentation built on Dec. 1, 2019, 9:54 p.m.