Trait text_tokenizer::IntoTokenizer

source ·
pub trait IntoTokenizer: Sized {
    type IntoTokens;

    // Required method
    fn into_tokenizer<S: SentenceBreaker>(
        self,
        params: TokenizerParams<S>,
    ) -> Self::IntoTokens;
}

Required Associated Types§

Required Methods§

source

fn into_tokenizer<S: SentenceBreaker>( self, params: TokenizerParams<S>, ) -> Self::IntoTokens

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'t> IntoTokenizer for &'t str

Implementors§