Lindera Library

The lindera crate is the facade of the Rust API: it re-exports the morphological segmenter from lindera-segmenter (lindera::segmenter, lindera::dictionary, lindera::mode, ...) and, with the default analysis feature, the analysis chain from lindera-analysis as lindera::analysis. lindera = "7" is the only dependency you need; default-features = false gives you the segmenter alone. This section covers segmentation, error handling, and API reference.

If you need the Tokenizer, character filters, or token filters (a Lucene-style analysis chain built on top of Segmenter), use lindera::analysis — see the Lindera Analysis chapter, including its Configuration and Filters pages.