Skip to main content

read_message

Function read_message 

Source
pub(crate) fn read_message(
    record: &Record,
    trusted: &BTreeMap<String, Vec<String>>,
    lexicon: &Lexicon,
) -> (Vec<String>, [f32; 35])
Expand description

A message’s words and header features, from its corpus record, as the Porch reads the message itself: Sioul’s own checks of it first (made on the whole message when it was fetched, as the Porch reads the stamp the sync writes on it; beside a signature, their failures unknown when made long after it came: corpus::Checked::reading), your provider’s second. The words are read with lexicon (a training’s, or the table’s own).