lindera/lindera

A multilingual morphological analysis library.

What it solves

Lindera breaks down continuous text—specifically Japanese text—into individual words and base components, a process known as morphological analysis or tokenization, making it ready for search and natural language processing applications in Rust and other languages.

How it works

It processes text by analyzing it against pre-built dictionaries (such as IPADIC) downloaded from GitHub Releases or automatically via its CLI, tokenizing text at speeds between 10 and 20 megabytes per second on a single thread. It is written in Rust and also offers bindings for Python, Node.js, Ruby, PHP, and WebAssembly.

Who it’s for

This library is built for software developers working in Rust, Python, JavaScript, Ruby, PHP, or WebAssembly who need to analyze or tokenize Japanese text within their applications.

Highlights

  • Easy-to-install morphological analysis library written in Rust
  • Provides concise APIs for Rust applications with pre-built dictionaries available
  • Includes multi-language bindings for Python, Node.js, Ruby, PHP, and WebAssembly
  • Achieves single-threaded tokenization speeds of roughly 10-20 MB/s

Related

  • Project
  • Project
  • Project
  • Project
  • Project