SaaSHub helps you find the best software and product alternatives Learn more โ
Top 23 Rust NLP Projects
-
memvid
Memory layer for AI Agents. Replace complex RAG pipelines with a serverless, single-file memory layer. Give your agents instant retrieval and long-term memory.
Project mention: Show HN: I accidentally built "SQLite for AI memory" (Memvid) | news.ycombinator.com | 2026-01-05 -
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Project mention: Building Sentence Transformers in Rust: A Practical Guide with Burn, ONNX Runtime, and Candle | dev.to | 2025-10-30
HuggingFace Tokenizers: https://huggingface.co/docs/tokenizers
-
rust-bert
Rust native ready-to-use NLP pipelines and transformer-based models (BERT, DistilBERT, GPT2,...)
Project mention: Building Sentence Transformers in Rust: A Practical Guide with Burn, ONNX Runtime, and Candle | dev.to | 2025-10-30rust-bert: Complete NLP pipelines (https://github.com/guillaume-be/rust-bert)
-
extractous
Fast and efficient unstructured data extraction. Written in Rust with bindings for many languages.
I will try it out. Is this the correct library? - https://github.com/yobix-ai/extractous
I have used Gemini for OCR and it was indeed good. I also used GPT 3.5 and liked that too.
-
lingua-rs
The most accurate natural language detection library for Rust, suitable for short text and mixed-language text
-
-
nlprule
A fast, low-resource Natural Language Processing and Text Correction library written in Rust.
-
cargo-spellcheck
Checks all your documentation for spelling and grammar mistakes with hunspell and a nlprule based checker for grammar
-
-
Project mention: GLiNER2: Unified Schema-Based Information Extraction | news.ycombinator.com | 2026-03-05
GLiNER is a really great research work. But putting this kind of things in production is just another job. Not trying to do self promotion here, but there are alternatives for this purpose, like gline-rs (https://github.com/fbilhaut/gline-rs). Support of GLiNER 2 models is on the way.
-
rllm
Use multiple LLM backends in a single crate, simple builder-based configuration, and built-in prompt chaining & templating. (by graniet)
-
-
-
bin2ml
A command line tool for extracting machine learning ready data from software binaries powered by Radare2
-
-
doc2dataset
3DCF / doc2dataset: token-efficient document layer with NumGuard numeric integrity and multi-framework exports for RAG & fine-tuning.
Project mention: I Built an Open-Source Pipeline to Convert Documents into LLM Training Data | dev.to | 2025-12-07See the GitHub repo link
-
-
rs-trafilatura
Fast, accurate web content extraction in Rust. ML page-type classification, per-type extraction, confidence scoring. F1=0.966 on ScrapingHub (#1), F1=0.859 across 2,008 annotated pages (1,497 development + 511 held-out test
Rust crate: crates.io/crates/rs-trafilatura ยท GitHub
-
-
-
kjarni
Native and Private ML inference engine, embeddings, classification, reranking, search, and text generation. Rust core with C# bindings. No Python, no ONNX, no CUDA.
NuGet: https://www.nuget.org/packages/Kjarni GitHub: https://github.com/olafurjohannsson/kjarni
-
-
Project mention: Show HN: Pg_kazsearch โ Full-text search for Kazakh in PostgreSQL | news.ycombinator.com | 2026-04-06
Rust NLP discussion
Rust NLP related posts
-
Show HN: I deleted all my note apps and built an 8MB replacement
-
Building Sentence Transformers in Rust: A Practical Guide with Burn, ONNX Runtime, and Candle
-
Rust-bert: Rust native ready-to-use NLP pipelines and transformer-based models
-
Getting AI to write good SQL: Text-to-SQL techniques explained
-
Rust Keyword Extraction: Creating the YAKE! algorithm from scratch
-
A Paninian [Sanskrit] word generator
-
Vale.sh โ A Linter for Prose
-
A note from our sponsor - SaaSHub
www.saashub.com | 20 Jul 2026
Index
What are some of the best open-source NLP projects in Rust? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | memvid | 15,975 |
| 2 | tokenizers | 10,892 |
| 3 | rust-bert | 3,073 |
| 4 | extractous | 1,756 |
| 5 | lingua-rs | 1,106 |
| 6 | whatlang-rs | 1,084 |
| 7 | nlprule | 662 |
| 8 | cargo-spellcheck | 360 |
| 9 | model2vec-rs | 197 |
| 10 | gline-rs | 155 |
| 11 | rllm | 139 |
| 12 | vidyut | 121 |
| 13 | txtai.rs | 113 |
| 14 | bin2ml | 74 |
| 15 | treebender | 62 |
| 16 | doc2dataset | 57 |
| 17 | llm_utils | 47 |
| 18 | rs-trafilatura | 42 |
| 19 | yozuk | 39 |
| 20 | keyword-extraction-rs | 33 |
| 21 | kjarni | 33 |
| 22 | Every-Other-Token | 25 |
| 23 | pg-kazsearch | 24 |