overlap_distance: Distance between two strings using weighted overlap of words

View source: R/string_matching.R

overlap_distanceR Documentation

Distance between two strings using weighted overlap of words

Description

Distance between two strings using weighted overlap of words

Usage

overlap_distance(strings1, strings2, split = " ")

Arguments

a

set of strings from first corpus

b

set of strings from second corpus

weights

to be given to 'intersection' and 'union' matching distance respectively. If NULL (default), both distances are returned.


gmonette/gnew documentation built on July 9, 2022, 12:57 p.m.