[−][src]Struct lindera::ipadic::viterbi::Lattice
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]
&mut self,
dict: &PrefixDict,
char_definitions: &CharacterDefinitions,
unknown_dictionary: &UnknownDictionary,
text: &str,
search_mode: &Mode
)
pub fn edge(&self, edge_id: EdgeId) -> &Edge
[src]
pub fn calculate_path_costs(
&mut self,
cost_matrix: &ConnectionCostMatrix,
mode: &Mode
)
[src]
&mut self,
cost_matrix: &ConnectionCostMatrix,
mode: &Mode
)
pub fn tokens_offset(&self, offsets: &mut Vec<(usize, WordId)>)
[src]
Trait Implementations
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]
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<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>,