[][src]Trait sticker::Collector

pub trait Collector {
    fn collect(&mut self, sentence: &Sentence) -> Result<(), Error>;
fn vectorizer(&self) -> &SentVectorizer; }

Data types collects (and typically stores) vectorized sentences.

Required methods

fn collect(&mut self, sentence: &Sentence) -> Result<(), Error>

fn vectorizer(&self) -> &SentVectorizer

Loading content...

Implementors

impl<E> Collector for NoopCollector<E> where
    E: SentenceEncoder,
    E::Encoding: Clone + Eq + Hash
[src]

Loading content...