[−][src]Struct mecab::Lattice
Methods
impl Lattice
[src]
pub fn new() -> Lattice
[src]
pub fn clear(&self)
[src]
pub fn is_available(&self) -> bool
[src]
pub fn bos_node(&self) -> Node
[src]
pub fn eos_node(&self) -> Node
[src]
pub fn begin_nodes(&self, pos: usize) -> Option<Node>
[src]
pub fn end_nodes(&self, pos: usize) -> Option<Node>
[src]
pub fn sentence(&self) -> String
[src]
pub fn set_sentence<T: Into<Vec<u8>>>(&mut self, sentence: T)
[src]
pub fn size(&self) -> usize
[src]
pub fn z(&self) -> f64
[src]
pub fn set_z(&self, z: f64)
[src]
pub fn theta(&self) -> f64
[src]
pub fn set_theta(&self, theta: f64)
[src]
pub fn next(&self) -> bool
[src]
pub fn request_type(&self) -> i32
[src]
pub fn has_request_type(&self, request_type: i32) -> bool
[src]
pub fn set_request_type(&self, request_type: i32)
[src]
pub fn add_request_type(&self, request_type: i32)
[src]
pub fn remove_request_type(&self, request_type: i32)
[src]
pub fn to_string(&self) -> String
[src]
pub fn enum_nbest_as_string(&self, n: i64) -> String
[src]
pub fn has_constraint(&self) -> bool
[src]
pub fn boundary_constraint(&self, pos: u64) -> i32
[src]
pub fn feature_constraint(&self, pos: u64) -> String
[src]
pub fn set_boundary_constraint(&self, pos: u64, boundary_type: i32)
[src]
pub fn set_feature_constraint<T: Into<Vec<u8>>>(
&self,
begin_pos: u64,
end_pos: u64,
feature: T
)
[src]
&self,
begin_pos: u64,
end_pos: u64,
feature: T
)
pub fn set_result<T: Into<Vec<u8>>>(&self, result: T)
[src]
pub fn what(&self) -> String
[src]
Trait Implementations
Auto Trait Implementations
impl !Send for Lattice
impl !Sync for Lattice
impl Unpin for Lattice
impl UnwindSafe for Lattice
impl RefUnwindSafe for Lattice
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[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<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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,