pub(crate) fn train(
dirs: &Dirs,
read: Read,
options: &Options,
word_ngrams: u32,
lr: f64,
errors: usize,
progress: &mut dyn FnMut(&Progress),
cancel: &Cancel,
) -> Result<(Summary, Detail), LearnError>Expand description
The training, from the messages read (train::train_with, which hands
them here for this model): see the module.