Learn R Programming

⚠️There's a newer version (0.9.15) of this package.Take me there.

stringdist (version 0.8.1)

Approximate string matching and string distance functions.

Description

Implements an approximate string matching version of R's native 'match' function. 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.

Copy Link

Version

Install

install.packages('stringdist')

Monthly Downloads

66,896

Version

0.8.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Mark der Loo

Last Published

October 7th, 2014

Functions in stringdist (0.8.1)

stringdist

Compute distance metrics between strings
qgrams

Get a table of qgram counts from one or more character vectors.
amatch

Approximate string matching
phonetic

Phonetic algorithms
printable_ascii

Detect the presence of non-printable or non-ascii characters
stringdist-package

A package for string distance calculation