get_max_dist: Calculate maximum possible edit distance between x, y

Description Usage Arguments Value Examples

View source: R/str_distances.R

Description

The maximum edit distance is needed to calculate the distance (e.g., Levenshtein) ratio.

Usage

1

Arguments

x

A vector of strings

y

A second vector of strings

Value

A matrix of maximum edit distances for each combination of strings in x, y

Examples

1
2
3
4
## Not run: 
get_max_dist(x = sents1, y = sents2)

## End(Not run)

jacob-ogre/hcphb documentation built on May 18, 2019, 8:01 a.m.