mlsanityData to 14 Oct 2026

string2string: A Modern Python Library for String-to-String Algorithms

arXiv 2304.14395 ↗First posted 27 Apr 2023cs.CL cs.DLcited by 9

Not on the map. Why?

Abstract (arXiv)

We introduce string2string, an open-source library that offers a comprehensive suite of efficient algorithms for a broad range of string-to-string problems. It includes traditional algorithmic solutions as well as recent advanced neural approaches to tackle various problems in string alignment, distance measurement, lexical and semantic search, and similarity analysis -- along with several helpful visualization tools and metrics to facilitate the interpretation and analysis of these methods. Notable algorithms featured in the library include the Smith-Waterman algorithm for pairwise local alignment, the Hirschberg algorithm for global alignment, the Wagner-Fisher algorithm for edit distance, BARTScore and BERTScore for similarity analysis, the Knuth-Morris-Pratt algorithm for lexical search, and Faiss for semantic search. Besides, it wraps existing efficient and widely-used implementations of certain frameworks and metrics, such as sacreBLEU and ROUGE, whenever it is appropriate and suitable. Overall, the library aims to provide extensive coverage and increased flexibility in comparison to existing libraries for strings. It can be used for many downstream applications, tasks, and problems in natural-language processing, bioinformatics, and computational social sciences. It is implemented in Python, easily installable via pip, and accessible through a simple API. Source code, documentation, and tutorials are all available on our GitHub page: https://github.com/stanfordnlp/string2string.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 16 of its 35 references that are in the map. First posted on arXiv 27 Apr 2023.

Builds on

16 of 35 references.

References · 16

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  3. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
  4. 2017Billion-scale similarity search with GPUscited by 2,497
  5. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,488
  6. 2020Stanza: A Python Natural Language Processing Toolkit for Many Human Languagescited by 723
  7. 2021BARTScore: Evaluating Generated Text as Text Generationcited by 722
  8. 2018AllenNLP: A Deep Semantic Natural Language Processing Platformcited by 347
  9. 2016FastText.zip: Compressing text classification modelscited by 335
  10. 2017OpenNMT: Open-source Toolkit for Neural Machine Translationcited by 251
  11. 2019ScispaCy: Fast and Robust Models for Biomedical Natural Language Processingcited by 244
  12. 2018Tensor2Tensor for Neural Machine Translationcited by 85
4 more
  1. 2022Follow the Wisdom of the Crowd: Effective Text Generation via Minimum Bayes Risk Decodingcited by 54
  2. 2020Torch-Struct: Deep Structured Prediction Librarycited by 40
  3. 2022The Harvard USPTO Patent Dataset: A Large-Scale, Well-Structured, and Multi-Purpose Corpus of Patent Applicationscited by 33
  4. 2014Edit Distance Cannot Be Computed in Strongly Subquadratic Time (unless SETH is false)cited by 18

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 3; 2025: 3; 2026: 2.

9 papers.