Liking cljdoc? Tell your friends :D

Concepts

Foundational concepts and mental models for understanding liblevenshtein-rust.

This directory collects conceptual explainers that clarify how to think about the library rather than how to call a specific API. They establish vocabulary and intuitions that the rest of the documentation builds on. Start here if a term used elsewhere (for example, "lazy" versus "eager" automata) is unfamiliar.

Documents

DocumentPurpose
LAZY_VS_EAGER_AUTOMATA.mdExplains the distinction between lazy (on-demand, simulated) and eager (precomputed) Levenshtein automata, when each applies, and the performance trade-offs.

Key idea

A query is a lazy simulation of a parameterized Levenshtein automaton walked lock-step with the dictionary; positions track (term_index, num_errors, is_special) and are pruned online by subsumption. Understanding lazy-vs-eager evaluation is the prerequisite for reasoning about the query iterators in Layer 3 and the automata in Layer 2.

Status: Living reference.

← Documentation Index

Can you improve this documentation?Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close