View source: R/fuzzy_matcher.R
fuzzy_matcher | R Documentation |
Produce a matrix showing the results of one or more fuzzy string matches
fuzzy_matcher( comparand1, comparand2, distance.methods = c("lv", "cosine", "jaccard", "jw") )
comparand1 |
word or set of words to make a comparison with. Must be a character Vector |
comparand2 |
word or set of words to make a comparison with. Must be a character Vector |
methods |
String matching method(s) to use. By default, Jaro, Jaccard,
Levenshtein, and cosine methods are used.
|
... |
other parameters passed onto methods |
A matrix showing degree of matches for each method chosen, for each comparand
Chris Friedman, chris.s.friedman@gmail.com
http://bigdata-doctor.com/fuzzy-string-matching-survival-skill-tackle-unstructured-information-r/
fuzzy_matcher(c("PECS book", "PECS activity book", "PECS"), "PECS")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.