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,232
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
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.”
MethodMucosal or systemic microbiota exposures shape the B cell repertoire
Li, H., Limenitakis, J. P., Greiff, V., Yilmaz, B., Schären, O., Urbaniak, C., Zünd, M., Lawson, M. A. E., Young, I. D., Rupp, S., et al. (2020) · Nature · doi:10.1038/s41586-020-2564-6 · Cited by 194
Cycles of satellite and transposon evolution in Arabidopsis centromeres
Wlodzimierz, P., Rabanal, F. A., Burns, R., Naish, M., Primetis, E., Scott, A., Mandáková, T., Gorringe, N., Tock, A. J., Holland, D., et al. (2023) · Nature · doi:10.1038/s41586-023-06062-z · Cited by 193
Sinha, T., Jermann, P., Li, N., & Dillenbourg, P. (2014) · Proceedings of the EMNLP 2014 Workshop on Analysis of Large Scale Social Interaction in MOOCs · doi:10.3115/v1/w14-4102 · Cited by 187
Cerebrospinal fluid metabolomics identifies 19 brain-related phenotype associations
Panyard, D. J., Kim, K. M., Darst, B. F., Deming, Y. K., Zhong, X., Wu, Y., Kang, H., Carlsson, C. M., Johnson, S. C., Asthana, S., et al. (2021) · Communications Biology · doi:10.1038/s42003-020-01583-z · Cited by 180
Over 1000 tools reveal trends in the single-cell RNA-seq analysis landscape
Zappia, L., & Theis, F. J. (2021) · Genome Biology · doi:10.1186/s13059-021-02519-4 · Cited by 174
Rapid evolution of blood-brain-barrier-penetrating AAV capsids by RNA-driven biopanning
Nonnenmacher, M., Wang, W., Child, M. A., Ren, X.-Q., Huang, C., Ren, A. Z., Tocci, J., Chen, Q., Bittner, K., Tyson, K., et al. (2021) · Molecular Therapy - Methods & Clinical Development · doi:10.1016/j.omtm.2020.12.006 · Cited by 168
Peng, Y., Felce, S. L., Dong, D., Penkava, F., Mentzer, A. J., Yao, X., Liu, G., Yin, Z., Chen, J.-L., Lu, Y., et al. (2022) · Nature Immunology · doi:10.1038/s41590-021-01084-z · Cited by 168
Howison, J., & Bullard, J. (2016) · Journal of the Association for Information Science and Technology · doi:10.1002/asi.23538 · Cited by 159
“We standardized the software names by clustering the raw names using Jaro-Winkler distance, as implemented by the R stringdist package (Van der Loo, 2014), and manually inspecting the clusters (e.g., standardizing “Image J” and “ImageJ” and components of a single package, such as BLAST, BLASTP,…”
MethodStructurally divergent and recurrently mutated regions of primate genomes
(2024) · doi:10.1016/j.cell.2024.01.052 · Cited by 73
Prediction of designer-recombinases for DNA editing with generative deep learning
Schmitt, L. T., Paszkowski-Rogacz, M., Jug, F., & Buchholz, F. (2022) · Nature Communications · doi:10.1038/s41467-022-35614-6 · Cited by 45
Weissman, G. E., Harhay, M. O., Lugo, R. M., Fuchs, B. D., Halpern, S. D., & Mikkelsen, M. E. (2016) · Annals of the American Thoracic Society · doi:10.1513/annalsats.201602-131oc · Cited by 35
Bashour, H., Smorodina, E., Pariset, M., Zhong, J., Akbar, R., Chernigovskaya, M., Lê Quý, K., Snapkow, I., Rawat, P., Krawczyk, K., et al. (2024) · Communications Biology · doi:10.1038/s42003-024-06561-3 · Cited by 32
Bashour, H., Smorodina, E., Pariset, M., Zhong, J., Akbar, R., Chernigovskaya, M., Quý, K. L., Snapkov, I., Rawat, P., Krawczyk, K., et al. (2023) · doi:10.1101/2023.10.26.563958 · Cited by 32
Collective homeostasis of condensation-prone proteins via their mRNAs
(2025) · doi:10.1038/s41586-025-09568-w · Cited by 24
Shatz, I. (2020) · International Journal of Learner Corpus Research · doi:10.1075/ijlcr.20009.sha · Cited by 20
Access to inner language enhances memory for events
Banks, B., & Connell, L. (2023) · doi:10.31234/osf.io/64udy · Cited by 5
Perceptions vs. practices: academic integrity and actual ChatGPT use among EFL students
Alsadoon, R. (2026) · Frontiers in Psychology · doi:10.3389/fpsyg.2026.1796737 · Cited by 8
Inferring B cell specificity for vaccines using a mixture model
Fowler, A., Galson, J. D., Trück, J., Kelly, D. F., & Lunter, G. (2018) · bioRxiv (Cold Spring Harbor Laboratory) · doi:10.1101/464792 · Cited by 12
LLM feedback for academic writing: Effects on students’ performance and engagement
Glüsing, R., Fleckenstein, J., Schmidt, F. T. C., & Möller, J. (2026) · Contemporary Educational Psychology · doi:10.1016/j.cedpsych.2026.102463 · Cited by 2
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.