Struct jieba_rs::Jieba [] [src]

pub struct Jieba { /* fields omitted */ }

Jieba segmentation

Methods

impl Jieba
[src]

[src]

Create a new instance with embed dict

Important traits for Vec<u8>
[src]

Cut the input text

Params

sentence: input text

hmm: enable HMM or not

Important traits for Vec<u8>
[src]

Cut the input text, return all possible words

Params

sentence: input text

Cut the input text in search mode

Params

sentence: input text

hmm: enable HMM or not

Important traits for Vec<u8>
[src]

Tokenize

Params

sentence: input text

mode: tokenize mode

hmm: enable HMM or not

Important traits for Vec<u8>
[src]

Tag the input text

Params

sentence: input text

hmm: enable HMM or not

Trait Implementations

impl Debug for Jieba
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Jieba
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Jieba

impl Sync for Jieba