🤖 AI Summary
This work addresses the lack of a unified, installation-free, and interactive platform for cross-domain string analysis, which hinders intuitive performance comparison of algorithms across fields such as natural language processing and computational biology. The authors propose a browser-based, client-side interactive platform that, for the first time, deploys high-performance C++ string algorithms to the frontend via WebAssembly. It supports six core functionalities—alignment, distance, similarity, search, generation metrics, and BLAST-like homology search—across multiple granularities including characters, words, tokens, lines, and residues. Operating entirely locally without data upload, the platform ensures privacy and efficiency while enhancing transparency through visualized alignment paths as interpretability “evidence.” Experiments demonstrate up to a 2,500× speedup over Python implementations, superior alignment performance compared to general-purpose C tools, and BLAST results highly consistent with NCBI BLAST+. The code is publicly available.
📝 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.