Trait tantivy_tokenizer_api::TokenFilter
source · pub trait TokenFilter: 'static + Send + Sync {
type Tokenizer<T: Tokenizer>: Tokenizer;
// Required method
fn transform<T: Tokenizer>(self, tokenizer: T) -> Self::Tokenizer<T>;
}
Expand description
Trait for the pluggable components of Tokenizer
s.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.