string2string Studio: An Interactive, In-Browser Platform for String-to-String Algorithms

2026-08-04Computation and Language

Computation and Language
AI summary

The authors created string2string Studio, a web-based tool that helps compare and analyze sequences of characters or biological residues across different fields like language processing and biology. It has six main features that work on different levels, such as characters or DNA residues, and runs quickly in your browser without needing to upload data or install software. The system shows detailed evidence for its results, making it easier to understand and check how comparisons are made. The authors tested it extensively and found it much faster than previous tools while giving reliable results similar to established methods. They also provide examples so users can learn how these algorithms work.

string-to-string analysisalignmentedit distanceWebAssemblyBLASThomology searchnatural language processingcomputational biologydigital humanitiesglobal/local alignment
Authors
Mirac Suzgun, James Zou, Stuart M. Shieber, Dan Jurafsky
Abstract
We present string2string Studio, an interactive in-browser platform for string-to-string analysis across natural language processing, computational biology, and the digital humanities. The system integrates six main modules (alignment, distance, similarity, search, generation metrics, and BLAST homology search), operating at character, word, token, line, and residue levels. Its C++-based algorithms compile to WebAssembly, so core operations run locally by default without any installation or data upload. The interface reports scores with their "evidence" (alignments, edit paths, metric matches, search hits, and homology traces), making methods inspectable, debuggable, and comparable on shared inputs. Internal benchmarks show speedups of up to 2,500x over the Python predecessor, faster global/local alignment than a general-purpose native C aligner, and exact agreement with independent references under declared settings. For homology search, the scoped client-side blastn path closely matches NCBI BLAST+ rankings and statistics under matched parameters. A curated showcase and Learn mode present canonical algorithms and metrics as reusable demonstrations. string2string Studio is open-source and freely available at string2string.org.