WorksApplications/sudachi.rs

Sudachi in Rust 🦀 and new generation of SudachiPy

What it solves

Sudachi.rs is a Rust implementation of the Sudachi Japanese morphological analyzer. It provides a way to break down Japanese text into meaningful units (tokens) and analyze their grammatical properties, which is essential for processing Japanese language data in high-performance environments.

How it works

The tool uses a system dictionary (available in Small, Core, and Full versions) to perform tokenization and analysis. It supports three different split modes (A, B, and C) to control the granularity of tokenization, ranging from short units to named entities. It also provides normalized forms of words to unify different variations of spellings or expressions.

Who it’s for

Developers and data scientists working with Japanese text processing who need a fast, memory-safe implementation of the Sudachi analyzer in Rust.

Highlights

  • Multi-granular Tokenization: Ability to switch between short (A), middle (B), and named entity (C) split units.
  • Normalized Form: Converts variations of words into a standard form for easier analysis.
  • Wakati Output: Supports space-delimited surface form output for simple tokenization.
  • Dictionary Flexibility: Supports multiple dictionary sizes (Small, Core, Full) and user-defined dictionaries.

Related

  • Project
  • Project
  • Project
  • Project
  • Project