Crate budoux

Crate budoux 

Source
Expand description

§Overview

BudouX-rs is a rust port of BudouX (machine learning powered line break organizer tool).

Note: This project contains the deliverables of the BudouX project.

Note: BudouX-rs supported plain text only, not supports html inputs.

Modules§

models
models provides trained machine learning model.

Constants§

DEFAULT_THRESHOLD
DEFAULT_THRESHOLD is default threshold for splitting a sentences.

Functions§

parse
parse returns splitted string slice from input. It is shorthand for budoux::parse_with_threshold(model, input, budoux::DEFAULT_THRESHOLD).
parse_with_threshold
parse_with_threshold returns splitted string slice from input.

Type Aliases§

Model
Model is type of trained machine learning model. key (String) is feature of character, value (i32) is score of feature.