Modular language processing pipeline system for building grammar checkers and text-to-speech applications.
Define pipelines in TypeScript, compile to efficient Rust runtime, distribute as single-file bundles.
- TypeScript Pipelines: Define text processing workflows in TypeScript
- Modular Architecture: Composable modules for HFST, CG3, spell checking, and TTS
- Bundle Distribution: Package pipelines with assets into
.drb
files - Cross-platform: Rust core with Swift/Java/Deno/Python bindings and CLI tools
# Install dependencies
brew install pytorch icu4c # macOS
cargo install just
# Clone and build
git clone https://github.com/divvun/divvun-runtime.git
cd divvun-runtime
just build
just install
# Create a pipeline
divvun-runtime init
divvun-runtime run ./pipeline.ts "Hello World"
Build spell and grammar checkers with contextual error detection and suggestions.
Create TTS systems with phonological processing and normalization.
Full documentation: https://divvun.github.io/divvun-runtime/
# Build CLI
just build
# Install to ~/.cargo/bin
just install
# Build UI (optional)
just build-ui
# Run UI in dev mode
just run-ui
The divvun-runtime library is dual-licensed under:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
You may choose either license for library use.
The command-line tools and playground (cli/
, playground/
) are licensed under GPL-3.0 (LICENSE-GPL).