Expand description
Fast, robust text splitting with bindings for Python, Rust and Javascript. This crate contains the core splitting logic which is shared between Javascript, Python and Rust. Each binding then implements a backend separately.
See tract_backend::NNSplit
for information for using NNSplit from Rust.
Re-exports
pub use tract_backend::NNSplit;
Modules
- Caching and downloading of models.
- Backend to run models using tch-rs.
Structs
- A Split level, used to describe what this split corresponds to (e. g. a sentence).
- The logic by which texts are split.
- Options for splitting text.
- Instructions for how to convert neural network outputs and a text to
Split
objects.
Enums
- A splitted text.
- Instruction to split text.