Skip to content

Rust API reference ​

Rustdoc is the authoritative reference for signatures, trait implementations, error types and exact edge-case behaviour. The guides on this site cover what rustdoc cannot: which API to reach for, how the variants differ, and what each one costs.

Crates ​

CrateWhat is in itGuideRustdoc
verbora-coreThe 5 shared traits, StopWords, StopWordLanguage, the process-global stop-word listCore vocabularyAPI
verbora-tokenizers3 UAX #29 tokenizers behind one borrowing traitTokenizersAPI
verbora-distance7 metrics: Levenshtein, unrestricted Damerau, OSA, Jaro, Jaro–Winkler, Dice, HammingString distanceAPI
verbora-phonetics12 encoders (SoundEx, Metaphone, Double Metaphone, Daitch–Mokotoff, Beider–Morse and the rest), plus PhoneticIndexPhoneticsAPI
verbora-ngramsSlice windows, boundary padding, character n-gramsN-gramsAPI
verbora-normalizersThe four Unicode normalization forms and diacritic folding, all CowNormalizersAPI
verbora-inflectorsPluralise, singularise, ordinals (en / fr / ja)InflectorsAPI
verbora-triePrefix tree with prefix, longest-prefix and prefix-match queries, plus FrozenTrieTrieAPI
verbora-transliteratorsJapanese kana → romajiTransliteratorsAPI
verbora-wordnetSynsets, senses, relation traversal, four storage backendsWordNetAPI
verbora-tfidfSparse TF-IDF over an owned Analyzer, ranking and JSON persistenceTF-IDFAPI
verbora-sentiment14 lexicons across 10 languagesSentimentAPI
verbora-classifiersNaive Bayes, logistic regression, MaxEntClassifiersAPI
verbora-stemmersPorter/Snowball, Lancaster, Japanese, IndonesianStemmersAPI
verbora-spellcheckNorvig correction, a BK-tree FuzzyIndex and a DeletionIndexSpellcheckAPI
verbora-taggerBrill POS tagging engine, trainer and evaluationPOS taggerAPI
verbora-analyzersSentence structure analysisSentence analyzersAPI
verbora-languageScript detection, optional language detectors, phonetic recommendationsLanguageAPI
verbora-utilStop-word re-exports, abbreviations, graphs, path trees, topological orderingUtilitiesAPI

Reading the docs locally ​

The /api/ links above are populated on the deployed site. Against a local checkout, generate rustdoc yourself:

bash
cargo doc --workspace --no-deps --open

How the two layers divide the work ​

  • Rustdoc defines behaviour, invariants and error conditions per item. Its examples run as doctests unless explicitly marked otherwise, so what you read there compiles and passes.
  • This site covers selection, composition, allocation behaviour and workload trade-offs — the questions a signature cannot answer.

Where to go next ​

You wantGo to
To move code from 0.1 to 0.2Upgrading from 0.1 to 0.2
To pick between several similar APIsChoosing the right API
Allocation, laziness, batching and parallelismPerformance
Measured numbers and how they were producedBenchmarks
The snippets on this site, as compilable codecrates/verbora-examples/examples/

Released under the MIT License.