Crate nnsplit

source ·
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

Modules

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