fast-bunkai
⚡Japanese sentence splitting(日本語文境界判定器), 40–250× faster via a Rust-accelerated Python library with near-perfect API compatibility with megagonlabs/bunkai.
fast-bunkai Latest Version Download
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
cargo clippy
View Details ▼
cargo clippy
A collection of lints to catch common mistakes and improve your Rust code.
cargo clippy
Run checks over the code in the current directory:
cargo clippy --locked
Require that `Cargo.lock` is up to date:
cargo clippy --workspace
Run checks on all packages in the workspace:
cargo fmt
View Details ▼
cargo fmt
Run `rustfmt` on all source files in a Rust project.
See also: `rustfmt`.
cargo fmt
Format all source files:
cargo fmt --check
Check for formatting errors without writing to the files:
cargo fmt -- {{rustfmt_args}}
Pass arguments to each `rustfmt` call:
cargo test
View Details ▼
cargo test
Execute the unit and integration tests of a Rust package.
cargo {{[t|test]}} {{test_name}}
Only run tests containing a specific string in their names:
cargo {{[t|test]}} -- --test-threads {{count}}
Set the number of simultaneous running test cases:
cargo {{[t|test]}} {{[-r|--release]}}
Test artifacts in release mode, with optimizations:
tox
View Details ▼
tox
Automate Python testing across multiple Python versions.
Use tox.ini to configure environments and test command.
tox
Run tests on all test environments:
tox-quickstart
Create a `tox.ini` configuration:
tox {{[-a|--listenvs-all]}}
List the available environments:
uv pip
View Details ▼
uv pip
Provides pip-like commands for installing, uninstalling, and managing packages.
uv pip install {{package}}
Install a package:
uv pip install {{[-r|--requirements]}} {{requirements.txt}}
Install packages from a requirements file:
uv pip install {{package==1.2.3}}
Install a package with a specific version:
uv run
View Details ▼
uv run
Run a command or script in the project environment.
uv run {{path/to/script.py}}
Run a Python script:
uv run {{[-m|--module]}} {{module_name}}
Run a Python module:
uv run {{[-w|--with]}} {{package}} {{command}}
Run a command with additional packages installed temporarily:
uv sync
View Details ▼
uv sync
Update the project's environment to match the lockfile.
uv sync
Sync the project environment with the lockfile:
uv sync --all-extras
Sync and include all optional dependencies:
uv sync --extra {{extra_name}}
Sync with specific optional dependencies:
