stringdist: Approximate String Matching, Fuzzy Text Search, and String Distance Functions

Implements an approximate string matching version of R's native 'match' function. Also offers fuzzy text search based on various string distance measures. Can calculate various string distances based on edits (Damerau-Levenshtein, Hamming, Levenshtein, optimal sting alignment), qgrams (q- gram, cosine, jaccard distance) or heuristic metrics (Jaro, Jaro-Winkler). An implementation of soundex is provided as well. Distances can be computed between character vectors while taking proper care of encoding or between integer vectors representing generic sequences. This package is built for speed and runs in parallel by using 'openMP'. An API for C or C++ is exposed as well. Reference: MPJ van der Loo (2014) <doi:10.32614/RJ-2014-011>.

Package details

AuthorMark van der Loo [aut, cre] (<https://orcid.org/0000-0002-9807-4686>), Jan van der Laan [ctb], R Core Team [ctb], Nick Logan [ctb], Chris Muir [ctb], Johannes Gruber [ctb], Brian Ripley [ctb]
MaintainerMark van der Loo <mark.vanderloo@gmail.com>
LicenseGPL-3
Version0.9.12
URL https://github.com/markvanderloo/stringdist
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("stringdist")

Try the stringdist package in your browser

Any scripts or data that you put into this service are public.

stringdist documentation built on May 29, 2024, 11:13 a.m.