stringSim: String similarity

Description Usage Arguments Value

Description

Function identifies similarity between provided string and vector of strings called dictionary.

Usage

1
stringSim(string, dictionary)

Arguments

string
  • value to compare against dictionary

dictionary
  • set of plausible values to chose from

Value

Vector of numeric values between 0 and 1 where 0 - lowest similarity and 1 - highest. Vector length is the same as dictionary length. Similarity scores ordered in the same order as dictionary elements.


2DegreesInvesting/pacta documentation built on June 17, 2019, 12:04 p.m.