[][src]Struct sudachiclone::dictionary_lib::lexicon_set::LexiconSet

pub struct LexiconSet { /* fields omitted */ }

Methods

impl LexiconSet[src]

pub fn new(system_lexicon: DoubleArrayLexicon) -> LexiconSet[src]

pub fn is_full(&self) -> bool[src]

pub fn first(&self) -> &DoubleArrayLexicon[src]

pub fn add(&mut self, lexicon: DoubleArrayLexicon, pos_offset: usize)[src]

pub fn lookup(&self, text: &[u8], offset: usize) -> Vec<(usize, usize)>[src]

pub fn get_left_id(&self, word_id: usize) -> i16[src]

pub fn get_right_id(&self, word_id: usize) -> i16[src]

pub fn get_cost(&self, word_id: usize) -> i16[src]

pub fn get_word_info(&self, word_id: usize) -> WordInfo[src]

pub fn get_dictionary_id(&self, word_id: usize) -> usize[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,