The stringdist Package for Approximate String Matching
Open accessThe DOI matches its Crossref record; 18 of the 18 references it cites were found in a registry or an index.
Abstract
Comparing text strings in terms of distance functions is a common and fundamental task in many statistical text-processing applications.Thus far, string distance functionality has been somewhat scattered around R and its extension packages, leaving users with inconistent interfaces and encoding handling.The stringdist package was designed to offer a low-level interface to several popular string distance algorithms which have been re-implemented in C for this purpose.The package offers distances based on counting q-grams, edit-based distances, and some lesser known heuristic distance functions.Based on this functionality, the package also offers inexact matching equivalents of R's native exact matching functions match and %in%.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Binary Codes capable of currecting deletions, insertions, and reversals
Levenshtein, V. I. (1965) · Soviet physics. Doklady · Cited by 15,165
Needleman, S. B., & Wunsch, C. D. (1970) · Journal of Molecular Biology · doi:10.1016/0022-2836(70)90057-4 · Cited by 11,288 · cited 2×
“The Longest Common Substring distance dlcs (Needleman and Wunsch, 1970) counts the number of deletions and insertions necessary to transform one string into another.”
Error Detecting and Error Correcting Codes
Hamming, R. W. (1950) · Bell System Technical Journal · doi:10.1002/j.1538-7305.1950.tb00463.x · Cited by 5,377
ERROR DETECTING AND ERROR CORRECTING CODES
Chauhan, N., Yadav, P., & Kumari, P. (2014) · Cited by 3,270
A guided tour to approximate string matching
Navarro, G. (2001) · ACM Computing Surveys · doi:10.1145/375360.375365 · Cited by 2,561
N-gram-based text categorization
Cavnar, W. B., & Trenkle, J. M. (1994) · Cited by 2,060
kernlab- An S4 Package for Kernel Methods in R
Karatzoglou, A., Smola, A., Hornik, K., & Zeileis, A. (2004) · Journal of Statistical Software · doi:10.18637/jss.v011.i09 · Cited by 1,786
Advances in Record-Linkage Methodology as Applied to Matching the 1985 Census of Tampa, Florida
Jaro, M. A. (1989) · Journal of the American Statistical Association · doi:10.1080/01621459.1989.10478785 · Cited by 1,401
A comparison of string distance metrics for name-matching tasks
Cohen, W. W., Ravikumar, P., & Fienberg, S. E. (2003) · International Joint Conference on Artificial Intelligence · Cited by 1,369
String Comparator Metrics and Enhanced Decision Rules in the Fellegi-Sunter Model of Record Linkage.
Winkler, W. E. (1990) · Cited by 787
Text Classification using String Kernels
Lodhi, H. M., Shawe-Taylor, J. S., Cristianini, N., & Watkins, C. J. C. H. (2000) · Bristol Research (University of Bristol) · Cited by 620
Approximate string-matching with q-grams and maximal matches
Ukkonen, E. (1992) · Theoretical Computer Science · doi:10.1016/0304-3975(92)90143-4 · Cited by 605
Error Detecting and Error Correcting Codes (1950)
Hamming, R. W. (2021) · Ideas That Created the Future · doi:10.7551/mitpress/12274.003.0015 · Cited by 429
An Extension of the String-to-String Correction Problem
Wagner, R. A., & Lowrance, R. (1975) · Journal of the ACM · doi:10.1145/321879.321880 · Cited by 313
kernlab - An S4 Package for Kernel Methods in R
Hornik, K., Smola, A. J., Karatzoglou, A., et al. (2004) · DOAJ (DOAJ: Directory of Open Access Journals) · Cited by 234
Discrepancy Analysis of State Sequences
Studer, M., Ritschard, G., Gabadinho, A., & Müller, N. S. (2011) · Sociological Methods & Research · doi:10.1177/0049124111415372 · Cited by 217
Indexing methods for approximate dictionary searching: Comparative analysis
Boytsov, L. (2011) · ACM Journal of Experimental Algorithmics · doi:10.1145/1963190.1963191 · Cited by 110
Efficient submatch addressing for regular expressions
Laurikari, V. (2001) · doi:10.5281/zenodo.18655601 · Cited by 20
Cited by
MULTI-seq: sample multiplexing for single-cell RNA sequencing using lipid-tagged indices
McGinnis, C. S., Patterson, D. M., Winkler, J., Conrad, D. N., Hein, M. Y., Srivastava, V., Hu, J. L., Murrow, L. M., Weissman, J. S., Werb, Z., et al. (2019) · Nature Methods · doi:10.1038/s41592-019-0433-8 · Cited by 643
Bacteroidetes use thousands of enzyme combinations to break down glycans
Lapébie, P., Lombard, V., Drula, E., Terrapon, N., & Henrissat, B. (2019) · Nature Communications · doi:10.1038/s41467-019-10068-5 · Cited by 477
The LOTUS initiative for open knowledge management in natural products research
Rutz, A., Sorokina, M., Galgonek, J., Mietchen, D., Willighagen, E., Gaudry, A., Graham, J. G., Stephan, R., Page, R., Vondrášek, J., et al. (2022) · eLife · doi:10.7554/elife.70780 · Cited by 429
A blood atlas of COVID-19 defines hallmarks of disease severity and specificity
Ahern, D. J., Ai, Z., Ainsworth, M., Allan, C., Allcock, A., Angus, B., Ansari, M. A., Arancibia-Cárcamo, C. V., Aschenbrenner, D., Attar, M., et al. (2022) · Cell · doi:10.1016/j.cell.2022.01.012 · Cited by 328
revtools: An R package to support article screening for evidence synthesis
Westgate, M. J. (2019) · Research Synthesis Methods · doi:10.1002/jrsm.1374 · Cited by 261
“13 In anticipation of this added functionality, class bibliography is fully supported as an S3 class with its own print , summary , and subset ( “ [ ” and “ [[ ” ) functions and can be converted to a data.frame using as.data.frame or back again using as.bibliography.”
Method
Metadata
- Authors
- Loo, M.
- Venue
- The R Journal
- Publisher
- The R Foundation
- Published
- 2014
- Volume
- 6
- Issue
- 1
- Pages
- 111
- ISSN
- 2073-4859 (ISSN-L)
- OpenAlex
- W2793422535
- Cited by
- 474
- References
- 18
- FWCI
- 21.13
- Type
- journal article
- Language
- en
- Open access
- hybrid
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.