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