lindera
Library Featured
A morphological analysis library.
- Downloads
- 647,661
- Dependents
- 39
- Stars
- 705
- Forks
- 68
- Contributors
- 37
- Commits
- 1,115
- Latest release
- 6.2.0 ·
About
A morphological analysis library in Rust. This project is forked from kuromoji-rs.
Lindera aims to build a library which is easy to install and provides concise APIs for various Rust applications.
Documentation
[dependencies]
lindera = "7"
Note: Upgrading from v6? See the migration guide for details.
Pre-built dictionaries are available from GitHub Releases.
Download a dictionary archive (e.g. lindera-ipadic-*.zip) and specify the path when loading.
When using the CLI, lindera download ipadic downloads and installs a dictionary automatically.
Performance
Lindera tokenizes Japanese text (IPADIC) at roughly 10-20 MB/s single-threaded, depending on hardware and whether the Viterbi lattice is reused across calls. Run make bench to reproduce the benchmark suite (lindera/benches/) on your own machine; see #875 for detailed methodology and comparison numbers.
Python Bindings
Lindera also provides Python bindings. You can install it via pip:
pip install lindera
For more details, see the lindera-python directory.
Node.js Bindings
Lindera also provides Node.js bindings. You can install it via npm:
npm install lindera
Read the full README
For more details, see the lindera-nodejs directory.
Ruby Bindings
Lindera also provides Ruby bindings. From v6.1.0 they install from RubyGems as lindera. The gem compiles its native extension during installation, so it needs a Rust toolchain and libclang:
gem install lindera
For more details, see the lindera-ruby directory.
PHP Bindings
Lindera also provides PHP bindings as a PHP extension. From v6.1.0 it is published on Packagist as lindera/lindera and installed with PIE:
pie install lindera/lindera
See the lindera-php directory for details.
WebAssembly Bindings
Lindera also provides WebAssembly bindings. You can install it via npm:
npm install lindera-wasm
The package is built with wasm-pack's web target and works in browsers
natively as well as with modern bundlers (Vite, Webpack 5).
For more details and a demo application, see the lindera-wasm directory.
License
MIT
Compatibility
- Runs on
- GPU support unknown
What shows it
- no dependency or feature matches a backend row
- Native code
- Required
- Binds native code: napi-sys, rb-sys
- Python bindings
- Has Python bindings
- lindera-python needs Python
- License
- MIT
Compare with similar projects
Order: strongest tier first, then most downloads, then name, with unmeasured values last. A library counts downloads over 30 days. An app counts binary downloads per release. An app with none counts its crate downloads over 30 days. ML Rust runs this catalogue, so its closest project always gets a row.
| Project | Downloads | Dependents | Stars | Latest release | Runs on (GPU) | Native code | License |
|---|---|---|---|---|---|---|---|
|
A morphological analysis library. Python bindings |
647,661 downloads over 30 days | 39 | 705 | 6.2.0 | GPU support unknown | Binds native code: napi-sys, rb-sys | MIT |
|
tiktoken-rs Featured
Library for encoding and decoding with the tiktoken library in Rust |
3,939,182 downloads over 30 days | 449 | 410 | 0.12.1 | GPU support unknown | No native code found | MIT |
|
whatlang-rs Featured
Fast and lightweight language identification library for Rust. |
882,019 downloads over 30 days | 74 | 1,087 | 0.18.0 | GPU support unknown | No native code found | MIT |
|
lingua-rs Featured
An accurate natural language detection library, suitable for short text and mixed-language text Python bindings |
286,625 downloads over 30 days | 22 | 1,152 | 1.8.0 | GPU support unknown | Binds native code: cld2-sys (feature accuracy-reports) | Apache-2.0 |
|
sentencex Listed
Sentence segmentation library with wide language support optimized for speed and utility. |
114,914 downloads over 30 days | 1 | 145 | 0.1.34 | GPU support unknown | No native code found | MIT |
|
whichlang Listed
A blazingly fast and lightweight language detection library for Rust. |
52,880 downloads over 30 days | 11 | 464 | 0.1.1 | GPU support unknown | No native code found | MIT |
|
splintr Listed
Tokenizer for Rust and Python: pure Rust by default, with 18 bundled vocabularies and four backends covering BPE, SentencePiece and WordPiece. Its output matches Hugging Face tokenizers id for id on 14 model families, including GPT-2, Qwen, Whisper, T5 and BERT. Python bindings |
8,204 downloads over 30 days | 7 | 63 | 0.22.2 | GPU support unknown | Binds native code: pcre2-sys (feature pcre2) | MIT |
Why FeaturedIt passes every Featured gate.
What it meets
- It has 20 active dependents and 17 new dependents in 365 days. Featured needs 11 active dependents or 9 new dependents in 365 days.
- Active dependents are at 100% of their peak. Featured needs at least 50%.
- Docs are present. The release commit or a manifest ties the crate to the repository.
- No vulnerability advisory stays unpatched past the grace window. At least one version is neither a prerelease nor 0.0.x.
- The last activity is on 9 Nov 2026, 0 days ago. The rules expect an update within 800 days. Dormancy rule
Exact rules: Featured library. The check on applied thresholds version 9.
Every rule outcome, as the check records it
expected-interval: version 6.2.0 base 200, doubled for 647661 downloads per month, doubled for 19.5 active users: E = 800 daysdormancy: last activity 2026-11-09, 0 days ago, E = 800: activefeatured: featured: active_users 19.5, new_adopters 17, former_glory 1
Crates31 crates
- lindera Primary
- lindera-analysis
- lindera-analyzer
- lindera-assets
- lindera-binding-core
- lindera-cc-cedict
- lindera-cc-cedict-builder
- lindera-cli
- lindera-compress
- lindera-core
- lindera-crf
- lindera-decompress
- lindera-dictionary
- lindera-dictionary-builder
- lindera-filter
- lindera-ipadic
- lindera-ipadic-builder
- lindera-ipadic-neologd
- lindera-ipadic-neologd-builder
- lindera-jieba
- lindera-ko-dic
- lindera-ko-dic-builder
- lindera-nodejs
- lindera-python
- lindera-ruby
- lindera-sudachidict
- lindera-tokenizer
- lindera-trainer
- lindera-unidic
- lindera-unidic-builder
- lindera-wasm
Measurements and sources
Each signal row shows the raw value, its source and the fetch date. The Sources list gathers every distinct source on this page. Movement needs more history.
Sources6 sources
- Description: the crates.io description
- crates.io database dump, fetched
- RustSec advisory database, fetched
- GitHub repository, fetched
- crates.io package, fetched
- GitHub contributors, fetched
Adoption20 active dependents, 17 new dependents in 365 days1 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Active dependents | 19.5 | crates.io database dump | Yes | |
| New dependents (365 days) | 17 | crates.io database dump | Yes | |
| Peak active dependents | 19.5 | crates.io database dump | Yes | |
| Active dependents as a share of the peak | 1 | crates.io database dump | Yes | |
| Binary downloads per release | Not measured | Yes |
MaintenanceLatest human commit: on the check date3 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Latest human commit | 2026-11-09 | GitHub repository | Yes | |
| Latest release | 2026-09-26 | crates.io database dump | Yes | |
| First release | 2020-02-03 | crates.io database dump | Yes | |
| Latest version | 6.2.0 | crates.io database dump | Yes | |
| Days the oldest outside issue waits for a reply | 0 | GitHub repository | Yes | |
| Maintainer replies over 365 days | 84 | GitHub repository | Yes | |
| Repository archived | false | GitHub repository | Yes | |
| Repository gone | false | GitHub repository | Yes | |
| Release commit or manifest in the repo | true | crates.io package | Yes | |
| Published docs | true | crates.io database dump | Yes | |
| Latest release fails cargo check | Not measured | Yes | ||
| Build check date | Not measured | Yes | ||
| Build check toolchain | Not measured | Yes |
SecurityUnpatched vulnerabilities: none
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Unpatched vulnerabilities past the grace window | none | RustSec advisory database | Yes | |
| RustSec unmaintained advisory | none | RustSec advisory database | Yes | |
| Deprecation notice | none | crates.io database dump | Yes | |
| Deprecated requirement | none | crates.io database dump | Yes |
Distribution140 releases, 647,661 downloads over 30 days5 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Releases | 140 | crates.io database dump | Yes | |
| Downloads over 30 days | 647661 | crates.io database dump | Yes | |
| Binary downloads over the last 3 releases | Not measured | Yes | ||
| Homebrew installs on request over 365 days | Not measured | Yes | ||
| Repology repository families | Not measured | Yes | ||
| Docker pull growth over 90 days | Not measured | Yes | ||
| Docker pulls at the growth baseline | Not measured | Yes | ||
| Every version a prerelease | false | crates.io database dump | Yes | |
| Every version 0.0.x | false | crates.io database dump | Yes | |
| Every version yanked | false | crates.io database dump | Yes | |
| Crate deleted from crates.io | false | crates.io database dump | Yes |
Repository705 stars, 68 forks, 37 contributors, 1,115 commits. Stars alone never qualify a project.
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| GitHub stars | 705 | GitHub repository | Yes — one part of the repository route | |
| GitHub forks | 68 | GitHub repository | Yes — one part of the repository route | |
| Contributors with a GitHub account | 37 | GitHub contributors | Yes — one part of the repository route | |
| Commits on the default branch | 1115 | GitHub repository | No | |
| Repository's main crate left out of the entry | none | crates.io database dump | Yes |
Facts that never count
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| License | MIT | crates.io database dump | No | |
| Runs on, from listed crates and their direct dependencies | GPU support unknown | crates.io database dump | No | |
| What shows each backend | no dependency or feature matches a backend row | crates.io database dump | No | |
| Native code, from listed crates and their dependencies | Binds native code: napi-sys, rb-sys | crates.io database dump | No | |
| Python bindings, from direct dependencies of listed crates | Has Python bindings: lindera-python needs Python | crates.io database dump | No | |
| Crates that depend on a listed crate directly | 39 | crates.io database dump | No |
Corrections and review history
No correction applies to this entry.
Judgments
A judgment enters only through an approved issue and a merged pull request.
No judgment applies to this entry.