BudouY

Rust port of BudouX. Semantic line breaks for CJK text.

Try It

Loading WASM module...

Features

No Dependencies

Pure Rust implementation with optional features.

WASM Ready

Works in browsers via WebAssembly.

Multi-language

Japanese, Chinese (Simplified/Traditional), and Thai.

no_std

Supports embedded and constrained environments.

Usage

import init, { BudouY } from 'budouy';

await init();

const parser = BudouY.japanese();
const chunks = parser.parse("今日は天気がいいです");
// ["今日は", "天気が", "いいです"]