Trait 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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<'t> IntoTokenizer for &'t str

Implementors§