bunpo 0.1.7

Lightweight Japanese conjugation reversal (deinflection) system
Documentation

bunpo

Lightweight Japanese conjugation reversal (deinflection) system.

bunpo on crates.io docs.rs License

Note: This crate is part of the jmdict-fst monorepo but can be used independently.

Features

  • Fast rule-based deinflection
  • Supports verbs, adjectives, and copula
  • No external dependencies
  • Pure Rust implementation

Example

use bunpo::deinflector::Deinflector;

let deinflector = Deinflector::new();
let results = deinflector.deinflect("食べます");

for candidate in results {
    println!("{}: {}", candidate.word, candidate.reason);
}

Installation

[dependencies]
bunpo = "0.1.1"

Documentation

See DEINFLECTOR.md for detailed usage and rules.

License

MIT