[][src]Trait sticker::Tag

pub trait Tag {
    fn tag_sentences(
        &self,
        sentences: &mut [impl BorrowMut<Sentence>]
    ) -> Fallible<()>; }

Trait for sequence taggers.

Required methods

fn tag_sentences(
    &self,
    sentences: &mut [impl BorrowMut<Sentence>]
) -> Fallible<()>

Loading content...

Implementors

impl<D> Tag for Tagger<D> where
    D: Send + SentenceDecoder + Sync,
    D::Encoding: Clone + Eq + Hash
[src]

fn tag_sentences(
    &self,
    sentences: &mut [impl BorrowMut<Sentence>]
) -> Fallible<()>
[src]

Tag sentences, returning the top-k results for every token.

Loading content...