[][src]Struct lindera_core::core::viterbi::Lattice

pub struct Lattice { /* fields omitted */ }

Methods

impl Lattice[src]

pub fn clear(&mut self)[src]

pub fn set_text(
    &mut self,
    dict: &PrefixDict,
    char_definitions: &CharacterDefinitions,
    unknown_dictionary: &UnknownDictionary,
    text: &str,
    search_mode: &Mode
)
[src]

pub fn edge(&self, edge_id: EdgeId) -> &Edge[src]

pub fn calculate_path_costs(
    &mut self,
    cost_matrix: &ConnectionCostMatrix,
    mode: &Mode
)
[src]

pub fn tokens_offset(&self, offsets: &mut Vec<(usize, WordId)>)[src]

Trait Implementations

impl Clone for Lattice[src]

impl Default for Lattice[src]

Auto Trait Implementations

impl RefUnwindSafe for Lattice

impl Send for Lattice

impl Sync for Lattice

impl Unpin for Lattice

impl UnwindSafe for Lattice

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.