pub struct MultithreadPredictor { /* fields omitted */ }
This is supported on crate feature multithreading
only.
Expand description
Predictor for multithreading.
Creates a multithreading predictor.
predictor
- A normal predictor.
n_threads
- The number of threads.
chunk_size
- The chunk size of each thread.
A multithread predictor.
Predicts word boundaries.
A sentence with predicted boundary information.
Predicts word boundaries. This function inserts scores.
A sentence with predicted boundary information.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.