[−][src]Struct sudachiclone::dictionary_lib::double_array_lexicon::DoubleArrayLexicon
Methods
impl DoubleArrayLexicon
[src]
pub fn from_reader<R: BufRead + Seek>(
reader: &mut R
) -> Result<DoubleArrayLexicon, LexiconErr>
[src]
reader: &mut R
) -> Result<DoubleArrayLexicon, LexiconErr>
pub fn calculate_cost<T: CanTokenize>(&mut self, tokenizer: T)
[src]
Trait Implementations
impl AsRef<DoubleArrayLexicon> for DoubleArrayLexicon
[src]
fn as_ref(&self) -> &DoubleArrayLexicon
[src]
impl GetWordId for DoubleArrayLexicon
[src]
fn get_word_id(
&self,
headword: &str,
pos_id: u16,
reading_form: &str
) -> Result<usize, LexiconErr>
[src]
&self,
headword: &str,
pos_id: u16,
reading_form: &str
) -> Result<usize, LexiconErr>
impl PartialEq<DoubleArrayLexicon> for DoubleArrayLexicon
[src]
impl Size for DoubleArrayLexicon
[src]
Auto Trait Implementations
impl RefUnwindSafe for DoubleArrayLexicon
impl Send for DoubleArrayLexicon
impl Sync for DoubleArrayLexicon
impl Unpin for DoubleArrayLexicon
impl UnwindSafe for DoubleArrayLexicon
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<L> Lexicon for L where
L: AsRef<DoubleArrayLexicon>,
[src]
L: AsRef<DoubleArrayLexicon>,
fn lookup(&Self, &[u8], usize) -> Vec<(usize, usize)>
[src]
fn get_left_id(&Self, usize) -> i16
[src]
fn get_right_id(&Self, usize) -> i16
[src]
fn get_cost(&Self, usize) -> i16
[src]
fn get_word_info(&Self, usize) -> WordInfo
[src]
fn get_dictionary_id(&Self, usize) -> usize
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,