Struct jieba::Jieba [−][src]
pub struct Jieba { /* fields omitted */ }
Methods
impl Jieba
[src]
impl Jieba
pub fn with_dict(dict: JiebaDict) -> Self
[src]
pub fn with_dict(dict: JiebaDict) -> Self
pub fn cut(&self, sentence: &str, is_hmm_used: bool) -> Vec<String>
[src]
pub fn cut(&self, sentence: &str, is_hmm_used: bool) -> Vec<String>
pub fn cut_all(&self, sentence: &str) -> Vec<String>
[src]
pub fn cut_all(&self, sentence: &str) -> Vec<String>
pub fn cut_for_search(&self, sentence: &str, is_hmm_used: bool) -> Vec<String>
[src]
pub fn cut_for_search(&self, sentence: &str, is_hmm_used: bool) -> Vec<String>
pub fn tag(&self, sentence: &str) -> Vec<String>
[src]
pub fn tag(&self, sentence: &str) -> Vec<String>
pub fn add_word(&self, word: &str)
[src]
pub fn add_word(&self, word: &str)
Trait Implementations
impl Debug for Jieba
[src]
impl Debug for Jieba
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Drop for Jieba
[src]
impl Drop for Jieba