Joyanta Basak, Nidhibahen Shah, Kenneth Haase, Anup Mathur, Krista Park, Rebecca Steorts, Daniel Weinberg, Sartaj Sahni, Sanguthevar Rajasekaran
{"title":"Fast Algorithms for Computing Jaro Similarity.","authors":"Joyanta Basak, Nidhibahen Shah, Kenneth Haase, Anup Mathur, Krista Park, Rebecca Steorts, Daniel Weinberg, Sartaj Sahni, Sanguthevar Rajasekaran","doi":"10.1177/15578666261421965","DOIUrl":null,"url":null,"abstract":"<p><p>The Jaro and Jaro-Winkler similarity measures are fundamental tools for character-based string comparison, with widespread use in applications such as record linkage, entity resolution, and natural language processing. Although their accuracy in capturing typographical and transpositional errors has made them popular, traditional implementations suffer from high computational cost, especially when applied to large datasets. Previously, we proposed a Jaro similarity algorithm that reduces the time complexity from quadratic to linear. The proposed linear time algorithm can compute the Jaro similarity between two strings significantly faster if the strings are sufficiently long. In this article, we introduce enhanced algorithms for computing both Jaro and Jaro-Winkler similarity that improve the runtime, including in handling shorter strings. Furthermore, we propose some techniques to drastically reduce the computing time for the case where a set of strings is repeatedly compared among themselves, making the algorithms particularly well-suited for large-scale record linkage tasks.</p>","PeriodicalId":15526,"journal":{"name":"Journal of Computational Biology","volume":" ","pages":"15578666261421965"},"PeriodicalIF":1.3000,"publicationDate":"2026-03-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Computational Biology","FirstCategoryId":"99","ListUrlMain":"https://doi.org/10.1177/15578666261421965","RegionNum":4,"RegionCategory":"生物学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"BIOCHEMICAL RESEARCH METHODS","Score":null,"Total":0}
引用次数: 0
Abstract
The Jaro and Jaro-Winkler similarity measures are fundamental tools for character-based string comparison, with widespread use in applications such as record linkage, entity resolution, and natural language processing. Although their accuracy in capturing typographical and transpositional errors has made them popular, traditional implementations suffer from high computational cost, especially when applied to large datasets. Previously, we proposed a Jaro similarity algorithm that reduces the time complexity from quadratic to linear. The proposed linear time algorithm can compute the Jaro similarity between two strings significantly faster if the strings are sufficiently long. In this article, we introduce enhanced algorithms for computing both Jaro and Jaro-Winkler similarity that improve the runtime, including in handling shorter strings. Furthermore, we propose some techniques to drastically reduce the computing time for the case where a set of strings is repeatedly compared among themselves, making the algorithms particularly well-suited for large-scale record linkage tasks.
期刊介绍:
Journal of Computational Biology is the leading peer-reviewed journal in computational biology and bioinformatics, publishing in-depth statistical, mathematical, and computational analysis of methods, as well as their practical impact. Available only online, this is an essential journal for scientists and students who want to keep abreast of developments in bioinformatics.
Journal of Computational Biology coverage includes:
-Genomics
-Mathematical modeling and simulation
-Distributed and parallel biological computing
-Designing biological databases
-Pattern matching and pattern detection
-Linking disparate databases and data
-New tools for computational biology
-Relational and object-oriented database technology for bioinformatics
-Biological expert system design and use
-Reasoning by analogy, hypothesis formation, and testing by machine
-Management of biological databases