sudachi::analysis::stateless_tokenizer

Trait DictionaryAccess

source
pub trait DictionaryAccess {
    // Required methods
    fn grammar(&self) -> &Grammar<'_>;
    fn lexicon(&self) -> &LexiconSet<'_>;
    fn input_text_plugins(&self) -> &[Box<dyn InputTextPlugin + Sync + Send>];
    fn oov_provider_plugins(
        &self,
    ) -> &[Box<dyn OovProviderPlugin + Sync + Send>];
    fn path_rewrite_plugins(
        &self,
    ) -> &[Box<dyn PathRewritePlugin + Sync + Send>];
}
Expand description

Provides access to dictionary data

Required Methods§

Implementors§