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-coreShared traits, Token, stop words, whitespace helpersCore vocabularyAPI
verbora-tokenizers25 tokenizers behind one Tokenize traitTokenizersAPI
verbora-distance8 metrics: Levenshtein, Damerau, Jaro–Winkler, Dice, HammingString distanceAPI
verbora-phoneticsSoundEx, Metaphone, Double Metaphone, Daitch–MokotoffPhoneticsAPI
verbora-ngramsn-gram windows, frequency statistics, Chinese n-gramsN-gramsAPI
verbora-normalizersDiacritics, English contractions, Japanese width and kanaNormalizersAPI
verbora-inflectorsPluralise, singularise, ordinals (en / fr / ja)InflectorsAPI
verbora-triePrefix tree with prefix and on-path queriesTrieAPI
verbora-transliteratorsJapanese kana → romajiTransliteratorsAPI
verbora-wordnetSynsets, senses, relation traversal, four storage backendsWordNetAPI
verbora-tfidfTerm interning and an incremental idf cacheTF-IDFAPI
verbora-sentiment14 lexicons across 10 languagesSentimentAPI
verbora-classifiersNaive Bayes, logistic regression, MaxEntClassifiersAPI
verbora-stemmersPorter/Snowball, Lancaster, Japanese, IndonesianStemmersAPI
verbora-spellcheckCorrection, BK-tree and deletion indexSpellcheckAPI
verbora-taggerBrill POS tagger, trainer and testerPOS taggerAPI
verbora-analyzersSentence structure analysisSentence analyzersAPI
verbora-languageScript and language detectionLanguageAPI
verbora-utilStop words, abbreviations, graphs, storage backendsUtilitiesAPI

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 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.